[INFO] fetching crate minecraft-essentials 0.2.11... [INFO] checking minecraft-essentials-0.2.11 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate minecraft-essentials 0.2.11 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate minecraft-essentials 0.2.11 [INFO] finished tweaking crates.io crate minecraft-essentials 0.2.11 [INFO] tweaked toml for crates.io crate minecraft-essentials 0.2.11 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate minecraft-essentials 0.2.11 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate minecraft-essentials 0.2.11 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5377fdbe620dd30e14b3edaca8ec7f388ea2256250d1a7a2938181affde662eb [INFO] running `Command { std: "docker" "start" "-a" "5377fdbe620dd30e14b3edaca8ec7f388ea2256250d1a7a2938181affde662eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5377fdbe620dd30e14b3edaca8ec7f388ea2256250d1a7a2938181affde662eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5377fdbe620dd30e14b3edaca8ec7f388ea2256250d1a7a2938181affde662eb", kill_on_drop: false }` [INFO] [stdout] 5377fdbe620dd30e14b3edaca8ec7f388ea2256250d1a7a2938181affde662eb [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a899340a0101ea07a0eebf1ce21c980713c44c9daaf95ed7e68792a54c7e34e7 [INFO] running `Command { std: "docker" "start" "-a" "a899340a0101ea07a0eebf1ce21c980713c44c9daaf95ed7e68792a54c7e34e7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling openssl v0.10.62 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.98 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking minecraft-essentials v0.2.11 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `refresh` [INFO] [stdout] --> src/lib.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg(feature = "refresh")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `cli`, `custom-auth`, `custom-launch`, `default`, `deperacted`, and `minecraft-auth` [INFO] [stdout] = help: consider adding `refresh` 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: unexpected `cfg` condition value: `refresh` [INFO] [stdout] --> src/lib.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | #[cfg(feature = "refresh")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `base64`, `cli`, `custom-auth`, `custom-launch`, `default`, `deperacted`, and `minecraft-auth` [INFO] [stdout] = help: consider adding `refresh` 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: trait `AsyncSend` is never used [INFO] [stdout] --> src/async_trait_alias.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait AsyncSend: Send + Async {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsyncSync` is never used [INFO] [stdout] --> src/async_trait_alias.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait AsyncSync: Sync + Async {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expires_in` is never read [INFO] [stdout] --> src/custom/code.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CodeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | /// Provides expiry [INFO] [stdout] 28 | pub expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeInfo` 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 `state` is never read [INFO] [stdout] --> src/custom/oauth.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Info { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub state: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` 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 `token_type`, `scope`, `expires_in`, `ext_expires_in`, and `refresh_token` are never read [INFO] [stdout] --> src/custom/oauth.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub scope: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub ext_expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub access_token: String, [INFO] [stdout] 34 | pub refresh_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 `issue_instant` and `not_after` are never read [INFO] [stdout] --> src/custom/xbox.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct XblOutput { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | pub issue_instant: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub not_after: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XblOutput` 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 `issue_instant`, `not_after`, and `display_claims` are never read [INFO] [stdout] --> src/custom/xbox.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct XtsOutput { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub issue_instant: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub not_after: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | pub token: String, [INFO] [stdout] 91 | pub display_claims: DisplayClaims, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XtsOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_TokenError` [INFO] [stdout] 8 | pub enum TokenError { [INFO] [stdout] | ---------- `TokenError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XboxError` [INFO] [stdout] 15 | pub enum XboxError { [INFO] [stdout] | --------- `XboxError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XTSError` [INFO] [stdout] 22 | pub enum XTSError { [INFO] [stdout] | -------- `XTSError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_OAuthError` [INFO] [stdout] 29 | pub enum OAuthError { [INFO] [stdout] | ---------- `OAuthError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LaunchError` [INFO] [stdout] 40 | pub enum LaunchError { [INFO] [stdout] | ----------- `LaunchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsyncSend` is never used [INFO] [stdout] --> src/async_trait_alias.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait AsyncSend: Send + Async {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AsyncSync` is never used [INFO] [stdout] --> src/async_trait_alias.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub trait AsyncSync: Sync + Async {} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expires_in` is never read [INFO] [stdout] --> src/custom/code.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct CodeInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 27 | /// Provides expiry [INFO] [stdout] 28 | pub expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CodeInfo` 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 `state` is never read [INFO] [stdout] --> src/custom/oauth.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Info { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | pub state: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` 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 `token_type`, `scope`, `expires_in`, `ext_expires_in`, and `refresh_token` are never read [INFO] [stdout] --> src/custom/oauth.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Token { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 29 | pub token_type: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 30 | pub scope: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | pub expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | pub ext_expires_in: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub access_token: String, [INFO] [stdout] 34 | pub refresh_token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` 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 `issue_instant` and `not_after` are never read [INFO] [stdout] --> src/custom/xbox.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct XblOutput { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | pub issue_instant: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub not_after: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XblOutput` 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 `issue_instant`, `not_after`, and `display_claims` are never read [INFO] [stdout] --> src/custom/xbox.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct XtsOutput { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 88 | pub issue_instant: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub not_after: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 90 | pub token: String, [INFO] [stdout] 91 | pub display_claims: DisplayClaims, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `XtsOutput` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_TokenError` [INFO] [stdout] 8 | pub enum TokenError { [INFO] [stdout] | ---------- `TokenError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XboxError` [INFO] [stdout] 15 | pub enum XboxError { [INFO] [stdout] | --------- `XboxError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_XTSError` [INFO] [stdout] 22 | pub enum XTSError { [INFO] [stdout] | -------- `XTSError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_OAuthError` [INFO] [stdout] 29 | pub enum OAuthError { [INFO] [stdout] | ---------- `OAuthError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/errors.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(Display, Error, Debug)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_LaunchError` [INFO] [stdout] 40 | pub enum LaunchError { [INFO] [stdout] | ----------- `LaunchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.94s [INFO] running `Command { std: "docker" "inspect" "a899340a0101ea07a0eebf1ce21c980713c44c9daaf95ed7e68792a54c7e34e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a899340a0101ea07a0eebf1ce21c980713c44c9daaf95ed7e68792a54c7e34e7", kill_on_drop: false }` [INFO] [stdout] a899340a0101ea07a0eebf1ce21c980713c44c9daaf95ed7e68792a54c7e34e7