[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#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsu225%2Fredis-rs" "/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/su225/redis-rs 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] removed /workspace/builds/worker-0-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-0-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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf5d675cd567beca36dc8b97e884bf78de46730f10b6c870a903074533353d3b [INFO] running `Command { std: "docker" "start" "-a" "cf5d675cd567beca36dc8b97e884bf78de46730f10b6c870a903074533353d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf5d675cd567beca36dc8b97e884bf78de46730f10b6c870a903074533353d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf5d675cd567beca36dc8b97e884bf78de46730f10b6c870a903074533353d3b", kill_on_drop: false }` [INFO] [stdout] cf5d675cd567beca36dc8b97e884bf78de46730f10b6c870a903074533353d3b [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6152a974a01d52d64f0ccd23ed1a05108e934da5488007d4d8eb955159e00aac [INFO] running `Command { std: "docker" "start" "-a" "6152a974a01d52d64f0ccd23ed1a05108e934da5488007d4d8eb955159e00aac", 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 num-traits v0.2.19 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float 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 lexical-core v0.8.5 [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: 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 `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: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: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: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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.62s [INFO] running `Command { std: "docker" "inspect" "6152a974a01d52d64f0ccd23ed1a05108e934da5488007d4d8eb955159e00aac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6152a974a01d52d64f0ccd23ed1a05108e934da5488007d4d8eb955159e00aac", kill_on_drop: false }` [INFO] [stdout] 6152a974a01d52d64f0ccd23ed1a05108e934da5488007d4d8eb955159e00aac [INFO] checking su225/redis-rs against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsu225%2Fredis-rs" "/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/su225/redis-rs 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] removed /workspace/builds/worker-0-tc2/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-0-tc2/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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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] 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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09da1d390e1e23c18fb666426869223fe0672719a01361c16ff453623a524816 [INFO] running `Command { std: "docker" "start" "-a" "09da1d390e1e23c18fb666426869223fe0672719a01361c16ff453623a524816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09da1d390e1e23c18fb666426869223fe0672719a01361c16ff453623a524816", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09da1d390e1e23c18fb666426869223fe0672719a01361c16ff453623a524816", kill_on_drop: false }` [INFO] [stdout] 09da1d390e1e23c18fb666426869223fe0672719a01361c16ff453623a524816 [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" "-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] 2140149fc0c639ece0a9e84938f7dbaa464df25f9ab89b2af450010244cff888 [INFO] running `Command { std: "docker" "start" "-a" "2140149fc0c639ece0a9e84938f7dbaa464df25f9ab89b2af450010244cff888", 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 num-traits v0.2.19 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [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: `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: `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 `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 13.24s [INFO] running `Command { std: "docker" "inspect" "2140149fc0c639ece0a9e84938f7dbaa464df25f9ab89b2af450010244cff888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2140149fc0c639ece0a9e84938f7dbaa464df25f9ab89b2af450010244cff888", kill_on_drop: false }` [INFO] [stdout] 2140149fc0c639ece0a9e84938f7dbaa464df25f9ab89b2af450010244cff888