[INFO] fetching crate anticaptcha 0.1.1... [INFO] checking anticaptcha-0.1.1 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate anticaptcha 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate anticaptcha 0.1.1 [INFO] finished tweaking crates.io crate anticaptcha 0.1.1 [INFO] tweaked toml for crates.io crate anticaptcha 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate anticaptcha 0.1.1 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 155 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc56616dbe12a511c5873337dcadaf0f02b6972c9a223e268189ece4709f170f [INFO] running `Command { std: "docker" "start" "-a" "cc56616dbe12a511c5873337dcadaf0f02b6972c9a223e268189ece4709f170f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc56616dbe12a511c5873337dcadaf0f02b6972c9a223e268189ece4709f170f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc56616dbe12a511c5873337dcadaf0f02b6972c9a223e268189ece4709f170f", kill_on_drop: false }` [INFO] [stdout] cc56616dbe12a511c5873337dcadaf0f02b6972c9a223e268189ece4709f170f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34379c721bdd97061b24b7553be97c187b5291a11bb93b8fc7a83cab1bd08eb3 [INFO] running `Command { std: "docker" "start" "-a" "34379c721bdd97061b24b7553be97c187b5291a11bb93b8fc7a83cab1bd08eb3", kill_on_drop: false }` [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking anticaptcha v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::resources::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::resources::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `blocking` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "blocking")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `blocking` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Balance` is never constructed [INFO] [stdout] --> src/resources/account.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Balance { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetBalance` is never constructed [INFO] [stdout] --> src/resources/account.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GetBalance<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/resources/account.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/resources/account.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> GetBalance<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(client: &'a Client) -> GetBalance { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReCaptcha` is never used [INFO] [stdout] --> src/resources/types.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ReCaptcha { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GeeTest` is never used [INFO] [stdout] --> src/resources/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GeeTest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CaptchaTypes` is never used [INFO] [stdout] --> src/resources/types.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum CaptchaTypes { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiSubmissionErrors` is never used [INFO] [stdout] --> src/resources/types.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ApiSubmissionErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiRetrievalErrors` is never used [INFO] [stdout] --> src/resources/types.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum ApiRetrievalErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> src/client/async.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | host: String, [INFO] [stdout] 6 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` 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 named elsewhere is confusing [INFO] [stdout] --> src/resources/account.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client: &'a Client) -> GetBalance { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client: &'a Client) -> GetBalance<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::*` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::resources::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `blocking` [INFO] [stdout] --> src/lib.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "blocking")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `blocking` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Balance` is never constructed [INFO] [stdout] --> src/resources/account.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Balance { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GetBalance` is never constructed [INFO] [stdout] --> src/resources/account.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct GetBalance<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/resources/account.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | #[warn(dead_code)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `execute` are never used [INFO] [stdout] --> src/resources/account.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a> GetBalance<'a> { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(client: &'a Client) -> GetBalance { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn execute(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ReCaptcha` is never used [INFO] [stdout] --> src/resources/types.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum ReCaptcha { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GeeTest` is never used [INFO] [stdout] --> src/resources/types.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum GeeTest { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `CaptchaTypes` is never used [INFO] [stdout] --> src/resources/types.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum CaptchaTypes { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiSubmissionErrors` is never used [INFO] [stdout] --> src/resources/types.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub enum ApiSubmissionErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ApiRetrievalErrors` is never used [INFO] [stdout] --> src/resources/types.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | pub enum ApiRetrievalErrors { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `api_key` is never read [INFO] [stdout] --> src/client/async.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Client { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 5 | host: String, [INFO] [stdout] 6 | api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Client` 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 named elsewhere is confusing [INFO] [stdout] --> src/resources/account.rs:18:39 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client: &'a Client) -> GetBalance { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new(client: &'a Client) -> GetBalance<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.78s [INFO] running `Command { std: "docker" "inspect" "34379c721bdd97061b24b7553be97c187b5291a11bb93b8fc7a83cab1bd08eb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34379c721bdd97061b24b7553be97c187b5291a11bb93b8fc7a83cab1bd08eb3", kill_on_drop: false }` [INFO] [stdout] 34379c721bdd97061b24b7553be97c187b5291a11bb93b8fc7a83cab1bd08eb3