[INFO] cloning repository https://github.com/naari3/minecraft-command-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naari3/minecraft-command-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fminecraft-command-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fminecraft-command-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be537d663523bcd9a516f53d02e8d9ecd5ce5bb9 [INFO] testing naari3/minecraft-command-bot against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fminecraft-command-bot" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naari3/minecraft-command-bot on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/naari3/minecraft-command-bot [INFO] finished tweaking git repo https://github.com/naari3/minecraft-command-bot [INFO] tweaked toml for git repo https://github.com/naari3/minecraft-command-bot written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/naari3/minecraft-command-bot 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/naari3/poise` [INFO] [stderr] Updating git repository `https://github.com/serenity-rs/serenity` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rcon v0.6.0 [INFO] [stderr] Downloaded linemux v0.2.3 [INFO] [stderr] Downloaded async-minecraft-ping v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6af61086d62ad8ea2fd0fbd5b23c21c4e9d05dfb50d575b6a3776d647febd3f [INFO] running `Command { std: "docker" "start" "-a" "f6af61086d62ad8ea2fd0fbd5b23c21c4e9d05dfb50d575b6a3776d647febd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6af61086d62ad8ea2fd0fbd5b23c21c4e9d05dfb50d575b6a3776d647febd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6af61086d62ad8ea2fd0fbd5b23c21c4e9d05dfb50d575b6a3776d647febd3f", kill_on_drop: false }` [INFO] [stdout] f6af61086d62ad8ea2fd0fbd5b23c21c4e9d05dfb50d575b6a3776d647febd3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c97969d623853a4d04aac51eddca36b1b3e5e47576e6e3ba39dfa258764974b [INFO] running `Command { std: "docker" "start" "-a" "2c97969d623853a4d04aac51eddca36b1b3e5e47576e6e3ba39dfa258764974b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serenity v0.12.2 (https://github.com/serenity-rs/serenity?rev=59c24502f8b2c8381ffdefab7b5f105cf67c9c63#59c24502) [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling notify v5.0.0-pre.15 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling command_attr v0.5.2 (https://github.com/serenity-rs/serenity?rev=59c24502f8b2c8381ffdefab7b5f105cf67c9c63#59c24502) [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling tokio v1.41.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling regex v1.9.4 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling poise_macros v0.6.1 (https://github.com/naari3/poise?rev=5dd484e8957ca4e655d06bccf3501e24f67407aa#5dd484e8) [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling linemux v0.2.3 [INFO] [stderr] Compiling rcon v0.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling uuid v1.0.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling async-minecraft-ping v0.8.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling hyper v0.14.31 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling poise v0.6.1 (https://github.com/naari3/poise?rev=5dd484e8957ca4e655d06bccf3501e24f67407aa#5dd484e8) [INFO] [stderr] Compiling minecraft-command-bot v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/minecraft_line.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MinecraftLine { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 3 | pub time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinecraftLine` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_rcon_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] 4 | #[error(display = "rcon related error: {}", _0)] [INFO] [stdout] 5 | Rcon(#[source] rcon::Error), [INFO] [stdout] | ----------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_url_ParseError_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 7 | Url(#[source] url::ParseError), [INFO] [stdout] | --------------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_reqwest_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 9 | Reqwest(#[source] reqwest::Error), [INFO] [stdout] | -------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_async_minecraft_ping_ServerError_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 11 | PingServer(#[source] async_minecraft_ping::ServerError), [INFO] [stdout] | --------------------------------- `ServerError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_serenity_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 13 | Serenity(#[source] serenity::Error), [INFO] [stdout] | --------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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 2m 20s [INFO] running `Command { std: "docker" "inspect" "2c97969d623853a4d04aac51eddca36b1b3e5e47576e6e3ba39dfa258764974b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c97969d623853a4d04aac51eddca36b1b3e5e47576e6e3ba39dfa258764974b", kill_on_drop: false }` [INFO] [stdout] 2c97969d623853a4d04aac51eddca36b1b3e5e47576e6e3ba39dfa258764974b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8d0f2913cac34e8a4763437098a7ec7e499de4b5116cdd0b1c5592666de026d [INFO] running `Command { std: "docker" "start" "-a" "a8d0f2913cac34e8a4763437098a7ec7e499de4b5116cdd0b1c5592666de026d", kill_on_drop: false }` [INFO] [stderr] Compiling minecraft-command-bot v1.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `time` is never read [INFO] [stdout] --> src/minecraft_line.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct MinecraftLine { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 3 | pub time: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinecraftLine` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Error` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_rcon_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] 4 | #[error(display = "rcon related error: {}", _0)] [INFO] [stdout] 5 | Rcon(#[source] rcon::Error), [INFO] [stdout] | ----------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_url_ParseError_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 7 | Url(#[source] url::ParseError), [INFO] [stdout] | --------------- `ParseError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_reqwest_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 9 | Reqwest(#[source] reqwest::Error), [INFO] [stdout] | -------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_async_minecraft_ping_ServerError_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 11 | PingServer(#[source] async_minecraft_ping::ServerError), [INFO] [stdout] | --------------------------------- `ServerError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (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/error.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stdout] | ^---------------- [INFO] [stdout] | | [INFO] [stdout] | `From` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_serenity_Error_FOR_Error` [INFO] [stdout] 2 | #[error(display = "An error occurred.")] [INFO] [stdout] 3 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] ... [INFO] [stdout] 13 | Serenity(#[source] serenity::Error), [INFO] [stdout] | --------------- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [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 `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "a8d0f2913cac34e8a4763437098a7ec7e499de4b5116cdd0b1c5592666de026d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d0f2913cac34e8a4763437098a7ec7e499de4b5116cdd0b1c5592666de026d", kill_on_drop: false }` [INFO] [stdout] a8d0f2913cac34e8a4763437098a7ec7e499de4b5116cdd0b1c5592666de026d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 46a00bda9a4aa822e23620ed07038607797aea7a3e30defef05cae1965efdab7 [INFO] running `Command { std: "docker" "start" "-a" "46a00bda9a4aa822e23620ed07038607797aea7a3e30defef05cae1965efdab7", kill_on_drop: false }` [INFO] [stderr] warning: field `time` is never read [INFO] [stderr] --> src/minecraft_line.rs:3:9 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct MinecraftLine { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 3 | pub time: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MinecraftLine` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stderr] | ^---------------- [INFO] [stderr] | | [INFO] [stderr] | `Error` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_std_error_Error_FOR_Error` [INFO] [stderr] 2 | #[error(display = "An error occurred.")] [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stderr] | ^---------------- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_fmt_Display_FOR_Error` [INFO] [stderr] 2 | #[error(display = "An error occurred.")] [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stderr] | ^---------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_rcon_Error_FOR_Error` [INFO] [stderr] 2 | #[error(display = "An error occurred.")] [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] 4 | #[error(display = "rcon related error: {}", _0)] [INFO] [stderr] 5 | Rcon(#[source] rcon::Error), [INFO] [stderr] | ----------- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stderr] | ^---------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_url_ParseError_FOR_Error` [INFO] [stderr] 2 | #[error(display = "An error occurred.")] [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] ... [INFO] [stderr] 7 | Url(#[source] url::ParseError), [INFO] [stderr] | --------------- `ParseError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stderr] | ^---------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_reqwest_Error_FOR_Error` [INFO] [stderr] 2 | #[error(display = "An error occurred.")] [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] ... [INFO] [stderr] 9 | Reqwest(#[source] reqwest::Error), [INFO] [stderr] | -------------- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stderr] | ^---------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_async_minecraft_ping_ServerError_FOR_Error` [INFO] [stderr] 2 | #[error(display = "An error occurred.")] [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] ... [INFO] [stderr] 11 | PingServer(#[source] async_minecraft_ping::ServerError), [INFO] [stderr] | --------------------------------- `ServerError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | #[derive(Debug, err_derive::Error)] [INFO] [stderr] | ^---------------- [INFO] [stderr] | | [INFO] [stderr] | `From` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_core_convert_From_serenity_Error_FOR_Error` [INFO] [stderr] 2 | #[error(display = "An error occurred.")] [INFO] [stderr] 3 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] ... [INFO] [stderr] 13 | Serenity(#[source] serenity::Error), [INFO] [stderr] | --------------- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `err_derive::Error` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `err_derive::Error` may come from an old version of the `err_derive` crate, try updating your dependency with `cargo update -p err_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `err_derive::Error` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `minecraft-command-bot` (bin "minecraft-command-bot" test) generated 8 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/minecraft_command_bot-560e8fff19f97678) [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" "46a00bda9a4aa822e23620ed07038607797aea7a3e30defef05cae1965efdab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46a00bda9a4aa822e23620ed07038607797aea7a3e30defef05cae1965efdab7", kill_on_drop: false }` [INFO] [stdout] 46a00bda9a4aa822e23620ed07038607797aea7a3e30defef05cae1965efdab7