[INFO] cloning repository https://github.com/erebe/memcached_proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erebe/memcached_proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferebe%2Fmemcached_proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferebe%2Fmemcached_proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3bbfe52bf123262f7d680b22d839b1f034f957a4 [INFO] checking erebe/memcached_proxy against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferebe%2Fmemcached_proxy" "/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/erebe/memcached_proxy on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erebe/memcached_proxy [INFO] finished tweaking git repo https://github.com/erebe/memcached_proxy [INFO] tweaked toml for git repo https://github.com/erebe/memcached_proxy written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/erebe/memcached_proxy 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.5.3 [INFO] [stderr] Downloaded tokio v0.2.4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f61e44119160a63008575efd48960dba4f9da5660be6de80aa2b7c319b366203 [INFO] running `Command { std: "docker" "start" "-a" "f61e44119160a63008575efd48960dba4f9da5660be6de80aa2b7c319b366203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f61e44119160a63008575efd48960dba4f9da5660be6de80aa2b7c319b366203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61e44119160a63008575efd48960dba4f9da5660be6de80aa2b7c319b366203", kill_on_drop: false }` [INFO] [stdout] f61e44119160a63008575efd48960dba4f9da5660be6de80aa2b7c319b366203 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d206433a99fa4a7e32a539a3f9c9b25017fed2d02adf047b89f30e5f20113e2f [INFO] running `Command { std: "docker" "start" "-a" "d206433a99fa4a7e32a539a3f9c9b25017fed2d02adf047b89f30e5f20113e2f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking memcached_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::buf::BufExt` [INFO] [stdout] --> src/memcached_codec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::buf::BufExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/memcached_codec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Framed` [INFO] [stdout] --> src/memcached_codec.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> src/protocol/memcached_binary.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | use tokio_util::codec::{Framed, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Magic` [INFO] [stdout] --> src/main.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::protocol::memcached_binary::{Magic, PacketHeader}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoFuture`, `try_join` [INFO] [stdout] --> src/main.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | use futures::future::{try_join, IntoFuture}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::buf::BufExt` [INFO] [stdout] --> src/memcached_codec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::buf::BufExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/memcached_codec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Framed` [INFO] [stdout] --> src/memcached_codec.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> src/protocol/memcached_binary.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | use tokio_util::codec::{Framed, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Magic` [INFO] [stdout] --> src/main.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::protocol::memcached_binary::{Magic, PacketHeader}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoFuture`, `try_join` [INFO] [stdout] --> src/main.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | use futures::future::{try_join, IntoFuture}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_addr` [INFO] [stdout] --> src/main.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_addr` [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/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [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: `proxy_addr` [INFO] [stdout] --> src/main.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_addr` [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/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [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: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.55s [INFO] running `Command { std: "docker" "inspect" "d206433a99fa4a7e32a539a3f9c9b25017fed2d02adf047b89f30e5f20113e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d206433a99fa4a7e32a539a3f9c9b25017fed2d02adf047b89f30e5f20113e2f", kill_on_drop: false }` [INFO] [stdout] d206433a99fa4a7e32a539a3f9c9b25017fed2d02adf047b89f30e5f20113e2f [INFO] checking erebe/memcached_proxy against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferebe%2Fmemcached_proxy" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/erebe/memcached_proxy on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/erebe/memcached_proxy [INFO] finished tweaking git repo https://github.com/erebe/memcached_proxy [INFO] tweaked toml for git repo https://github.com/erebe/memcached_proxy written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/erebe/memcached_proxy 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22b58ffe73578d58385d3d7dc9cd052edeacb85732c9b40533c6bc5038565106 [INFO] running `Command { std: "docker" "start" "-a" "22b58ffe73578d58385d3d7dc9cd052edeacb85732c9b40533c6bc5038565106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22b58ffe73578d58385d3d7dc9cd052edeacb85732c9b40533c6bc5038565106", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22b58ffe73578d58385d3d7dc9cd052edeacb85732c9b40533c6bc5038565106", kill_on_drop: false }` [INFO] [stdout] 22b58ffe73578d58385d3d7dc9cd052edeacb85732c9b40533c6bc5038565106 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e82bcda4782d96bcdeb88dff89e50438ff88bc911ac4d69f9f84239664512f7 [INFO] running `Command { std: "docker" "start" "-a" "9e82bcda4782d96bcdeb88dff89e50438ff88bc911ac4d69f9f84239664512f7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.0 [INFO] [stderr] Compiling num-derive v0.3.0 [INFO] [stderr] Checking tokio v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking tokio-util v0.2.0 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking memcached_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::buf::BufExt` [INFO] [stdout] --> src/memcached_codec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::buf::BufExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/memcached_codec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused extern crate [INFO] [stdout] --> src/main.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | extern crate num; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: remove it [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | #![warn(rust_2018_idioms)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::buf::BufExt` [INFO] [stdout] --> src/memcached_codec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::buf::BufExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Framed` [INFO] [stdout] --> src/memcached_codec.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/memcached_codec.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Framed` [INFO] [stdout] --> src/memcached_codec.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | use tokio_util::codec::{Decoder, Encoder, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> src/protocol/memcached_binary.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BytesMut` [INFO] [stdout] --> src/protocol/memcached_binary.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | use tokio_util::codec::{Framed, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Magic` [INFO] [stdout] --> src/main.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::protocol::memcached_binary::{Magic, PacketHeader}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoFuture`, `try_join` [INFO] [stdout] --> src/main.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | use futures::future::{try_join, IntoFuture}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::io` [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use tokio::io; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `LinesCodec` [INFO] [stdout] --> src/main.rs:36:33 [INFO] [stdout] | [INFO] [stdout] 36 | use tokio_util::codec::{Framed, LinesCodec}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Magic` [INFO] [stdout] --> src/main.rs:39:41 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::protocol::memcached_binary::{Magic, PacketHeader}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bytes::Bytes` [INFO] [stdout] --> src/main.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use bytes::Bytes; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IntoFuture`, `try_join` [INFO] [stdout] --> src/main.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | use futures::future::{try_join, IntoFuture}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_addr` [INFO] [stdout] --> src/main.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proxy_addr` [INFO] [stdout] --> src/main.rs:73:43 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proxy_addr` [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/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [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/main.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol/memcached_binary.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol/memcached_binary.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(FromPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Opcode` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol/memcached_binary.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Magic` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol/memcached_binary.rs:69:10 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_Magic` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol/memcached_binary.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Magic` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/protocol/memcached_binary.rs:69:25 [INFO] [stdout] | [INFO] [stdout] 69 | #[derive(FromPrimitive, ToPrimitive, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_Magic` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `memcached_proxy` (bin "memcached_proxy") due to 4 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `memcached_proxy` (bin "memcached_proxy" test) due to 4 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e82bcda4782d96bcdeb88dff89e50438ff88bc911ac4d69f9f84239664512f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e82bcda4782d96bcdeb88dff89e50438ff88bc911ac4d69f9f84239664512f7", kill_on_drop: false }` [INFO] [stdout] 9e82bcda4782d96bcdeb88dff89e50438ff88bc911ac4d69f9f84239664512f7