[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#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatchgou%2Ftokio-socket" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/watchgou/tokio-socket on toolchain 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded protobuf v3.4.0 [INFO] [stderr] Downloaded protobuf-support v3.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4317b0e97d39a97a0a1a37942c8e31cbf3da7feb48e80d324d9df46200aebf0a [INFO] running `Command { std: "docker" "start" "-a" "4317b0e97d39a97a0a1a37942c8e31cbf3da7feb48e80d324d9df46200aebf0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4317b0e97d39a97a0a1a37942c8e31cbf3da7feb48e80d324d9df46200aebf0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4317b0e97d39a97a0a1a37942c8e31cbf3da7feb48e80d324d9df46200aebf0a", kill_on_drop: false }` [INFO] [stdout] 4317b0e97d39a97a0a1a37942c8e31cbf3da7feb48e80d324d9df46200aebf0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9bb26a1edf5d6da01435c2257be4e21b1aed23a0ae2089d7b0f3cafc70527ef [INFO] running `Command { std: "docker" "start" "-a" "c9bb26a1edf5d6da01435c2257be4e21b1aed23a0ae2089d7b0f3cafc70527ef", 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] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling protobuf v3.4.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [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 num_cpus v1.16.0 [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 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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_request/request_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_response/response_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_request/request_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_response/response_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [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: 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: 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: 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: 8 warnings emitted [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.43s [INFO] running `Command { std: "docker" "inspect" "c9bb26a1edf5d6da01435c2257be4e21b1aed23a0ae2089d7b0f3cafc70527ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9bb26a1edf5d6da01435c2257be4e21b1aed23a0ae2089d7b0f3cafc70527ef", kill_on_drop: false }` [INFO] [stdout] c9bb26a1edf5d6da01435c2257be4e21b1aed23a0ae2089d7b0f3cafc70527ef [INFO] checking watchgou/tokio-socket against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwatchgou%2Ftokio-socket" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/watchgou/tokio-socket on toolchain 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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-5-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1da6e028f300d11c0887f51508a2be4ff3dbfa4e3ae7f0b0c160bea585a5580e [INFO] running `Command { std: "docker" "start" "-a" "1da6e028f300d11c0887f51508a2be4ff3dbfa4e3ae7f0b0c160bea585a5580e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1da6e028f300d11c0887f51508a2be4ff3dbfa4e3ae7f0b0c160bea585a5580e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1da6e028f300d11c0887f51508a2be4ff3dbfa4e3ae7f0b0c160bea585a5580e", kill_on_drop: false }` [INFO] [stdout] 1da6e028f300d11c0887f51508a2be4ff3dbfa4e3ae7f0b0c160bea585a5580e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f06f3fce4e240a6dd796665374be88b5e5fc206981ea66c2bff09483e235524f [INFO] running `Command { std: "docker" "start" "-a" "f06f3fce4e240a6dd796665374be88b5e5fc206981ea66c2bff09483e235524f", 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 pin-project-lite v0.2.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling protobuf v3.4.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-io 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 mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [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 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: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_request/request_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_response/response_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_request/request_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> src/my_response/response_1.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [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: 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: 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: 8 warnings emitted [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.98s [INFO] running `Command { std: "docker" "inspect" "f06f3fce4e240a6dd796665374be88b5e5fc206981ea66c2bff09483e235524f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f06f3fce4e240a6dd796665374be88b5e5fc206981ea66c2bff09483e235524f", kill_on_drop: false }` [INFO] [stdout] f06f3fce4e240a6dd796665374be88b5e5fc206981ea66c2bff09483e235524f