[INFO] cloning repository https://github.com/lalkalol1907/redis-proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lalkalol1907/redis-proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalkalol1907%2Fredis-proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalkalol1907%2Fredis-proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 18dd79820de5aebf93b4f6ee3ad9077f921c0cd3 [INFO] checking lalkalol1907/redis-proxy against master#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flalkalol1907%2Fredis-proxy" "/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/lalkalol1907/redis-proxy 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/lalkalol1907/redis-proxy [INFO] finished tweaking git repo https://github.com/lalkalol1907/redis-proxy [INFO] tweaked toml for git repo https://github.com/lalkalol1907/redis-proxy written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lalkalol1907/redis-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/redis-rs/redis-rs.git` [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8cbe09418b04b1a65ae7c8f161fab7f5eecbc27aca64cd093e05b57ad1c6441e [INFO] running `Command { std: "docker" "start" "-a" "8cbe09418b04b1a65ae7c8f161fab7f5eecbc27aca64cd093e05b57ad1c6441e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8cbe09418b04b1a65ae7c8f161fab7f5eecbc27aca64cd093e05b57ad1c6441e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cbe09418b04b1a65ae7c8f161fab7f5eecbc27aca64cd093e05b57ad1c6441e", kill_on_drop: false }` [INFO] [stdout] 8cbe09418b04b1a65ae7c8f161fab7f5eecbc27aca64cd093e05b57ad1c6441e [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61f138e42c5d825551863b306790c9a78be953ba0dc7ffd46dd35ae02a780abe [INFO] running `Command { std: "docker" "start" "-a" "61f138e42c5d825551863b306790c9a78be953ba0dc7ffd46dd35ae02a780abe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking redis v0.25.3 (https://github.com/redis-rs/redis-rs.git#37eccc28) [INFO] [stderr] Checking redis-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io::{Read, Write}, sync::Arc}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Read` and `Write` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io::{Read, Write}, sync::Arc}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufReadExt` [INFO] [stdout] --> src/server.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncBufReadExt` [INFO] [stdout] --> src/server.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::io::{AsyncBufReadExt, AsyncReadExt, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/config.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | Config::parse().unwrap_or_else(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis_client` [INFO] [stdout] --> src/server.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let redis_client = RedisClient::build(self.config.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redis_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/config.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | Config::parse().unwrap_or_else(|e| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis_client` [INFO] [stdout] --> src/server.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let redis_client = RedisClient::build(self.config.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redis_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/server.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Server { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 44 | pub fn build(config: Arc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/redis_client/redis_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RedisClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | connections: Vec> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `build` is never used [INFO] [stdout] --> src/server.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Server { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 44 | pub fn build(config: Arc) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connections` is never read [INFO] [stdout] --> src/redis_client/redis_client.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct RedisClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 8 | connections: Vec> [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.37s [INFO] running `Command { std: "docker" "inspect" "61f138e42c5d825551863b306790c9a78be953ba0dc7ffd46dd35ae02a780abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61f138e42c5d825551863b306790c9a78be953ba0dc7ffd46dd35ae02a780abe", kill_on_drop: false }` [INFO] [stdout] 61f138e42c5d825551863b306790c9a78be953ba0dc7ffd46dd35ae02a780abe