[INFO] cloning repository https://github.com/su225/redis-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/su225/redis-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsu225%2Fredis-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsu225%2Fredis-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dbe044eb3c461fffa78dff886de1116c884aff99 [INFO] checking su225/redis-rs against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsu225%2Fredis-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/su225/redis-rs on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/su225/redis-rs [INFO] finished tweaking git repo https://github.com/su225/redis-rs [INFO] tweaked toml for git repo https://github.com/su225/redis-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/su225/redis-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c98067bb7911c971b9e86498238feec3dc7ec5c38fcbf7c0944a2c3bd81420b5 [INFO] running `Command { std: "docker" "start" "-a" "c98067bb7911c971b9e86498238feec3dc7ec5c38fcbf7c0944a2c3bd81420b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c98067bb7911c971b9e86498238feec3dc7ec5c38fcbf7c0944a2c3bd81420b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98067bb7911c971b9e86498238feec3dc7ec5c38fcbf7c0944a2c3bd81420b5", kill_on_drop: false }` [INFO] [stdout] c98067bb7911c971b9e86498238feec3dc7ec5c38fcbf7c0944a2c3bd81420b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 322cb80a7f2477fde454a22d87c101e974a9821fe5f1acb3f51e198bbf6fa716 [INFO] running `Command { std: "docker" "start" "-a" "322cb80a7f2477fde454a22d87c101e974a9821fe5f1acb3f51e198bbf6fa716", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> client/src/set.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | fn try_from(value: RESPFrame) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> client/src/set.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | fn try_from(value: RESPFrame) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis_client` [INFO] [stdout] --> client/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let redis_client = client::RedisClient::connect(redis_addr).await?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redis_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> client/src/client.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RedisClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | IOError(Error), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Encode(RESPEncodeError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Encode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Decode(RESPParseError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Decode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | RequestValidation(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | RequestValidation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ResponseValidation(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | ResponseValidation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | UnsupportedProtocolVersion(u8), [INFO] [stdout] | -------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | UnsupportedProtocolVersion(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | InvalidDeploymentMode(String), [INFO] [stdout] | --------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | InvalidDeploymentMode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | InvalidNodeRole(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | InvalidNodeRole(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_credentials` is never used [INFO] [stdout] --> client/src/client.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 110 | impl ClientSettings { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | fn with_credentials(cred: ClientCredentials) -> ClientSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PingPong` is never constructed [INFO] [stdout] --> client/src/ping.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct PingPong; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_message` are never used [INFO] [stdout] --> client/src/ping.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl PingRequest { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 11 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn with_message(msg: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> client/src/ping.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct PongResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 34 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Echo` is never constructed [INFO] [stdout] --> client/src/echo.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Echo; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> client/src/echo.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl EchoRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 12 | fn new(msg: String) -> EchoRequest { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `message` is never read [INFO] [stdout] --> client/src/echo.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct EchoResponse { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 29 | message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Set` is never constructed [INFO] [stdout] --> client/src/set.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Set; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Default`, `OnlyIfExists`, and `OnlyIfNotExists` are never constructed [INFO] [stdout] --> client/src/set.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SetOption { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | OnlyIfExists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | OnlyIfNotExists, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpireAfter`, `ExpireAt`, and `KeepTTL` are never constructed [INFO] [stdout] --> client/src/set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum TTLOption { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | ExpireAfter(Duration), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | ExpireAt(Instant), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | KeepTTL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TTLOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `value`, `set_option`, `should_return_old_string_at_key`, and `ttl_option` are never read [INFO] [stdout] --> client/src/set.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SetRequest { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 23 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | set_option: SetOption, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | should_return_old_string_at_key: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | ttl_option: TTLOption, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok` and `Response` are never constructed [INFO] [stdout] --> client/src/set.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum SetResponse { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 32 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | Response(Option), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `redis_client` [INFO] [stdout] --> client/src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let redis_client = client::RedisClient::connect(redis_addr).await?; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_redis_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `address` is never read [INFO] [stdout] --> client/src/client.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RedisClient { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 15 | pub address: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | IOError(Error), [INFO] [stdout] | ------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | Encode(RESPEncodeError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | Encode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | Decode(RESPParseError), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | Decode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | RequestValidation(String), [INFO] [stdout] | ----------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | RequestValidation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | ResponseValidation(String), [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | ResponseValidation(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | UnsupportedProtocolVersion(u8), [INFO] [stdout] | -------------------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | UnsupportedProtocolVersion(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | InvalidDeploymentMode(String), [INFO] [stdout] | --------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | InvalidDeploymentMode(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> client/src/client.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | InvalidNodeRole(String), [INFO] [stdout] | --------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RedisClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | InvalidNodeRole(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_credentials` is never used [INFO] [stdout] --> client/src/client.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 110 | impl ClientSettings { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | fn with_credentials(cred: ClientCredentials) -> ClientSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Set` is never constructed [INFO] [stdout] --> client/src/set.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Set; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Default`, `OnlyIfExists`, and `OnlyIfNotExists` are never constructed [INFO] [stdout] --> client/src/set.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SetOption { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | OnlyIfExists, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | OnlyIfNotExists, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ExpireAfter`, `ExpireAt`, and `KeepTTL` are never constructed [INFO] [stdout] --> client/src/set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum TTLOption { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 16 | ExpireAfter(Duration), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 17 | ExpireAt(Instant), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 18 | KeepTTL, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TTLOption` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key`, `value`, `set_option`, `should_return_old_string_at_key`, and `ttl_option` are never read [INFO] [stdout] --> client/src/set.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SetRequest { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 23 | key: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 24 | value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | set_option: SetOption, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | should_return_old_string_at_key: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | ttl_option: TTLOption, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ok` and `Response` are never constructed [INFO] [stdout] --> client/src/set.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum SetResponse { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 32 | Ok, [INFO] [stdout] | ^^ [INFO] [stdout] 33 | Response(Option), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SetResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.02s [INFO] running `Command { std: "docker" "inspect" "322cb80a7f2477fde454a22d87c101e974a9821fe5f1acb3f51e198bbf6fa716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322cb80a7f2477fde454a22d87c101e974a9821fe5f1acb3f51e198bbf6fa716", kill_on_drop: false }` [INFO] [stdout] 322cb80a7f2477fde454a22d87c101e974a9821fe5f1acb3f51e198bbf6fa716