[INFO] fetching crate tcloud-im-api 0.2.1... [INFO] testing tcloud-im-api-0.2.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate tcloud-im-api 0.2.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tcloud-im-api 0.2.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.17) [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a23178a19f2f75c28115393ad0291c2005b35697541e1e84199a9d632371fc51 [INFO] running `Command { std: "docker" "start" "-a" "a23178a19f2f75c28115393ad0291c2005b35697541e1e84199a9d632371fc51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a23178a19f2f75c28115393ad0291c2005b35697541e1e84199a9d632371fc51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a23178a19f2f75c28115393ad0291c2005b35697541e1e84199a9d632371fc51", kill_on_drop: false }` [INFO] [stdout] a23178a19f2f75c28115393ad0291c2005b35697541e1e84199a9d632371fc51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc12cfa98230658018ed103c823588036ebd6cfdc5a09bc76f83d762a208b556 [INFO] running `Command { std: "docker" "start" "-a" "bc12cfa98230658018ed103c823588036ebd6cfdc5a09bc76f83d762a208b556", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling rust-crypto v0.2.36 [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 openssl v0.10.73 [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 icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling native-tls v0.2.14 [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 tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.27 [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)]` 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 29.99s [INFO] running `Command { std: "docker" "inspect" "bc12cfa98230658018ed103c823588036ebd6cfdc5a09bc76f83d762a208b556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc12cfa98230658018ed103c823588036ebd6cfdc5a09bc76f83d762a208b556", kill_on_drop: false }` [INFO] [stdout] bc12cfa98230658018ed103c823588036ebd6cfdc5a09bc76f83d762a208b556 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83828b175ee78cdf965a2cec587ea9dfdd8e9ee67ee364f43a029a9c1b8c2683 [INFO] running `Command { std: "docker" "start" "-a" "83828b175ee78cdf965a2cec587ea9dfdd8e9ee67ee364f43a029a9c1b8c2683", 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)]` 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)]` 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 2.01s [INFO] running `Command { std: "docker" "inspect" "83828b175ee78cdf965a2cec587ea9dfdd8e9ee67ee364f43a029a9c1b8c2683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83828b175ee78cdf965a2cec587ea9dfdd8e9ee67ee364f43a029a9c1b8c2683", kill_on_drop: false }` [INFO] [stdout] 83828b175ee78cdf965a2cec587ea9dfdd8e9ee67ee364f43a029a9c1b8c2683 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b6ad96d1fbe2de032eb6306c447dbc33995ddea23892d2506d60275f06bdfcab [INFO] running `Command { std: "docker" "start" "-a" "b6ad96d1fbe2de032eb6306c447dbc33995ddea23892d2506d60275f06bdfcab", kill_on_drop: false }` [INFO] [stderr] warning: field `fail_accounts` is never read [INFO] [stderr] --> src/api/account.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub struct AccountsResp { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 32 | fail_accounts: Vec [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AccountsResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `result_code`, `result_info`, and `user_id` are never read [INFO] [stderr] --> src/api/account.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct DeleteRespItem { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 57 | result_code: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 58 | result_info: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 59 | #[serde(rename = "UserID")] [INFO] [stderr] 60 | user_id: String [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeleteRespItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `items` is never read [INFO] [stderr] --> src/api/account.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct DeleteResp { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 65 | #[serde(rename = "ResultItem")] [INFO] [stderr] 66 | items: Vec [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeleteResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `result_code`, `result_info`, `user_id`, and `account_status` are never read [INFO] [stderr] --> src/api/account.rs:85:5 [INFO] [stderr] | [INFO] [stderr] 84 | pub struct CheckRespItem { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 85 | result_code: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 86 | result_info: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 87 | #[serde(rename = "UserID")] [INFO] [stderr] 88 | user_id: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 89 | account_status: String [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CheckRespItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `items` is never read [INFO] [stderr] --> src/api/account.rs:95:5 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct CheckResp { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] 94 | #[serde(rename = "ResultItem")] [INFO] [stderr] 95 | items: Vec [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CheckResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `platform` and `status` are never read [INFO] [stderr] --> src/api/account.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 126 | pub struct OnlineDetail { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 127 | platform: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 128 | status: String [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OnlineDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `account`, `status`, and `detail` are never read [INFO] [stderr] --> src/api/account.rs:135:5 [INFO] [stderr] | [INFO] [stderr] 133 | pub struct OnlineState { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 134 | #[serde(rename = "To_Account")] [INFO] [stderr] 135 | account: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 136 | status: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 137 | detail: Option [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OnlineState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `account` and `code` are never read [INFO] [stderr] --> src/api/account.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 141 | pub struct QueryError { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 142 | #[serde(rename = "To_Account")] [INFO] [stderr] 143 | account: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 144 | #[serde(rename = "ErrorCode")] [INFO] [stderr] 145 | code: u32 [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QueryError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `result` and `errors` are never read [INFO] [stderr] --> src/api/account.rs:151:5 [INFO] [stderr] | [INFO] [stderr] 149 | pub struct QueryResp { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 150 | #[serde(rename = "QueryResult")] [INFO] [stderr] 151 | result: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 152 | #[serde(rename = "ErrorList")] [INFO] [stderr] 153 | errors: Vec [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `QueryResp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn account(&self) -> AccountApi { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 18 | pub fn account(&self) -> AccountApi<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:22:20 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn message(&self) -> MessageApi { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 22 | pub fn message(&self) -> MessageApi<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tcloud-im-api` (lib) generated 11 warnings (run `cargo fix --lib -p tcloud-im-api` to apply 2 suggestions) [INFO] [stderr] warning: `tcloud-im-api` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tcloud_im_api-bf4fe574a60dfbd0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests tcloud_im_api [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b6ad96d1fbe2de032eb6306c447dbc33995ddea23892d2506d60275f06bdfcab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ad96d1fbe2de032eb6306c447dbc33995ddea23892d2506d60275f06bdfcab", kill_on_drop: false }` [INFO] [stdout] b6ad96d1fbe2de032eb6306c447dbc33995ddea23892d2506d60275f06bdfcab