[INFO] fetching crate tcloud-im-api 0.2.1... [INFO] checking tcloud-im-api-0.2.1 against try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] extracting crate tcloud-im-api 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate tcloud-im-api 0.2.1 on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6cd54bd90ff1b967e7988afb31cd8f727a9b172d5c4df5ee3749d2cc0045617 [INFO] running `Command { std: "docker" "start" "-a" "c6cd54bd90ff1b967e7988afb31cd8f727a9b172d5c4df5ee3749d2cc0045617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6cd54bd90ff1b967e7988afb31cd8f727a9b172d5c4df5ee3749d2cc0045617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6cd54bd90ff1b967e7988afb31cd8f727a9b172d5c4df5ee3749d2cc0045617", kill_on_drop: false }` [INFO] [stdout] c6cd54bd90ff1b967e7988afb31cd8f727a9b172d5c4df5ee3749d2cc0045617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23e87166c2378e67734aebc882a0bfcc80c9cf4abe04cf62559dd91c9afe53f7 [INFO] running `Command { std: "docker" "start" "-a" "23e87166c2378e67734aebc882a0bfcc80c9cf4abe04cf62559dd91c9afe53f7", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking native-tls v0.2.11 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking 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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "23e87166c2378e67734aebc882a0bfcc80c9cf4abe04cf62559dd91c9afe53f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23e87166c2378e67734aebc882a0bfcc80c9cf4abe04cf62559dd91c9afe53f7", kill_on_drop: false }` [INFO] [stdout] 23e87166c2378e67734aebc882a0bfcc80c9cf4abe04cf62559dd91c9afe53f7