[INFO] fetching crate tcloud-im-api 0.2.1... [INFO] building tcloud-im-api-0.2.1 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate tcloud-im-api 0.2.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate tcloud-im-api 0.2.1 [INFO] finished tweaking crates.io crate tcloud-im-api 0.2.1 [INFO] tweaked toml for crates.io crate tcloud-im-api 0.2.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tcloud-im-api 0.2.1 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 200 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding env_logger v0.9.3 (available: v0.11.8) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9980eae2897b5932191b35fd3d9cf6d43fb938bb0edd7008d511603cb4fb8cf3 [INFO] running `Command { std: "docker" "start" "-a" "9980eae2897b5932191b35fd3d9cf6d43fb938bb0edd7008d511603cb4fb8cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9980eae2897b5932191b35fd3d9cf6d43fb938bb0edd7008d511603cb4fb8cf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9980eae2897b5932191b35fd3d9cf6d43fb938bb0edd7008d511603cb4fb8cf3", kill_on_drop: false }` [INFO] [stdout] 9980eae2897b5932191b35fd3d9cf6d43fb938bb0edd7008d511603cb4fb8cf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7270046156be07eeb45f394037fbf992fd65203ccceaf09f4c1bb89e6c9a8b5 [INFO] running `Command { std: "docker" "start" "-a" "b7270046156be07eeb45f394037fbf992fd65203ccceaf09f4c1bb89e6c9a8b5", kill_on_drop: false }` [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling tcloud-im-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `fail_accounts` is never read [INFO] [stdout] --> src/api/account.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AccountsResp { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 32 | fail_accounts: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountsResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_code`, `result_info`, and `user_id` are never read [INFO] [stdout] --> src/api/account.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct DeleteRespItem { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 57 | result_code: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | result_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | #[serde(rename = "UserID")] [INFO] [stdout] 60 | user_id: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteRespItem` 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 `items` is never read [INFO] [stdout] --> src/api/account.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DeleteResp { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 65 | #[serde(rename = "ResultItem")] [INFO] [stdout] 66 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteResp` 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 `result_code`, `result_info`, `user_id`, and `account_status` are never read [INFO] [stdout] --> src/api/account.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CheckRespItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 85 | result_code: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | result_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | #[serde(rename = "UserID")] [INFO] [stdout] 88 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | account_status: String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckRespItem` 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 `items` is never read [INFO] [stdout] --> src/api/account.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct CheckResp { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 94 | #[serde(rename = "ResultItem")] [INFO] [stdout] 95 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckResp` 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 `platform` and `status` are never read [INFO] [stdout] --> src/api/account.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct OnlineDetail { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 127 | platform: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 128 | status: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineDetail` 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 `account`, `status`, and `detail` are never read [INFO] [stdout] --> src/api/account.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct OnlineState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 134 | #[serde(rename = "To_Account")] [INFO] [stdout] 135 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 137 | detail: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineState` 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 `account` and `code` are never read [INFO] [stdout] --> src/api/account.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct QueryError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 142 | #[serde(rename = "To_Account")] [INFO] [stdout] 143 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 144 | #[serde(rename = "ErrorCode")] [INFO] [stdout] 145 | code: u32 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryError` 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 `result` and `errors` are never read [INFO] [stdout] --> src/api/account.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct QueryResp { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 150 | #[serde(rename = "QueryResult")] [INFO] [stdout] 151 | result: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | #[serde(rename = "ErrorList")] [INFO] [stdout] 153 | errors: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn account(&self) -> AccountApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn account(&self) -> AccountApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn message(&self) -> MessageApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn message(&self) -> MessageApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.22s [INFO] running `Command { std: "docker" "inspect" "b7270046156be07eeb45f394037fbf992fd65203ccceaf09f4c1bb89e6c9a8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7270046156be07eeb45f394037fbf992fd65203ccceaf09f4c1bb89e6c9a8b5", kill_on_drop: false }` [INFO] [stdout] b7270046156be07eeb45f394037fbf992fd65203ccceaf09f4c1bb89e6c9a8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b81bf5a3d8d2f39016c81b4a440cad569898979333024aae6d421bf6665b7fa8 [INFO] running `Command { std: "docker" "start" "-a" "b81bf5a3d8d2f39016c81b4a440cad569898979333024aae6d421bf6665b7fa8", kill_on_drop: false }` [INFO] [stderr] Compiling tcloud-im-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `fail_accounts` is never read [INFO] [stdout] --> src/api/account.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AccountsResp { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 32 | fail_accounts: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountsResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_code`, `result_info`, and `user_id` are never read [INFO] [stdout] --> src/api/account.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct DeleteRespItem { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 57 | result_code: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | result_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | #[serde(rename = "UserID")] [INFO] [stdout] 60 | user_id: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteRespItem` 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 `items` is never read [INFO] [stdout] --> src/api/account.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DeleteResp { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 65 | #[serde(rename = "ResultItem")] [INFO] [stdout] 66 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteResp` 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 `result_code`, `result_info`, `user_id`, and `account_status` are never read [INFO] [stdout] --> src/api/account.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CheckRespItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 85 | result_code: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | result_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | #[serde(rename = "UserID")] [INFO] [stdout] 88 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | account_status: String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckRespItem` 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 `items` is never read [INFO] [stdout] --> src/api/account.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct CheckResp { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 94 | #[serde(rename = "ResultItem")] [INFO] [stdout] 95 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckResp` 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 `platform` and `status` are never read [INFO] [stdout] --> src/api/account.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct OnlineDetail { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 127 | platform: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 128 | status: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineDetail` 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 `account`, `status`, and `detail` are never read [INFO] [stdout] --> src/api/account.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct OnlineState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 134 | #[serde(rename = "To_Account")] [INFO] [stdout] 135 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 137 | detail: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineState` 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 `account` and `code` are never read [INFO] [stdout] --> src/api/account.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct QueryError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 142 | #[serde(rename = "To_Account")] [INFO] [stdout] 143 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 144 | #[serde(rename = "ErrorCode")] [INFO] [stdout] 145 | code: u32 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryError` 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 `result` and `errors` are never read [INFO] [stdout] --> src/api/account.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct QueryResp { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 150 | #[serde(rename = "QueryResult")] [INFO] [stdout] 151 | result: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | #[serde(rename = "ErrorList")] [INFO] [stdout] 153 | errors: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn account(&self) -> AccountApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn account(&self) -> AccountApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn message(&self) -> MessageApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn message(&self) -> MessageApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fail_accounts` is never read [INFO] [stdout] --> src/api/account.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AccountsResp { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 32 | fail_accounts: Vec [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AccountsResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_code`, `result_info`, and `user_id` are never read [INFO] [stdout] --> src/api/account.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct DeleteRespItem { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 57 | result_code: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 58 | result_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | #[serde(rename = "UserID")] [INFO] [stdout] 60 | user_id: String [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteRespItem` 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 `items` is never read [INFO] [stdout] --> src/api/account.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct DeleteResp { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 65 | #[serde(rename = "ResultItem")] [INFO] [stdout] 66 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeleteResp` 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 `result_code`, `result_info`, `user_id`, and `account_status` are never read [INFO] [stdout] --> src/api/account.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct CheckRespItem { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 85 | result_code: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 86 | result_info: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 87 | #[serde(rename = "UserID")] [INFO] [stdout] 88 | user_id: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 89 | account_status: String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckRespItem` 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 `items` is never read [INFO] [stdout] --> src/api/account.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 93 | pub struct CheckResp { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 94 | #[serde(rename = "ResultItem")] [INFO] [stdout] 95 | items: Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CheckResp` 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 `platform` and `status` are never read [INFO] [stdout] --> src/api/account.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 126 | pub struct OnlineDetail { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 127 | platform: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 128 | status: String [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineDetail` 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 `account`, `status`, and `detail` are never read [INFO] [stdout] --> src/api/account.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct OnlineState { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 134 | #[serde(rename = "To_Account")] [INFO] [stdout] 135 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 136 | status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 137 | detail: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OnlineState` 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 `account` and `code` are never read [INFO] [stdout] --> src/api/account.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct QueryError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 142 | #[serde(rename = "To_Account")] [INFO] [stdout] 143 | account: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 144 | #[serde(rename = "ErrorCode")] [INFO] [stdout] 145 | code: u32 [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryError` 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 `result` and `errors` are never read [INFO] [stdout] --> src/api/account.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct QueryResp { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 150 | #[serde(rename = "QueryResult")] [INFO] [stdout] 151 | result: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | #[serde(rename = "ErrorList")] [INFO] [stdout] 153 | errors: Vec [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `QueryResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn account(&self) -> AccountApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 18 | pub fn account(&self) -> AccountApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn message(&self) -> MessageApi { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | pub fn message(&self) -> MessageApi<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.67s [INFO] running `Command { std: "docker" "inspect" "b81bf5a3d8d2f39016c81b4a440cad569898979333024aae6d421bf6665b7fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b81bf5a3d8d2f39016c81b4a440cad569898979333024aae6d421bf6665b7fa8", kill_on_drop: false }` [INFO] [stdout] b81bf5a3d8d2f39016c81b4a440cad569898979333024aae6d421bf6665b7fa8