[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#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaari3%2Fminecraft-command-bot" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/naari3/minecraft-command-bot on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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 typesize-derive v0.1.7 [INFO] [stderr] Downloaded typesize v0.1.9 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded uuid v1.0.0 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded async-minecraft-ping v0.8.0 [INFO] [stderr] Downloaded rcon v0.6.0 [INFO] [stderr] Downloaded tokio-rustls v0.25.0 [INFO] [stderr] Downloaded notify v5.0.0-pre.15 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded syn v2.0.87 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded http v0.2.7 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded bytecount v0.6.8 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded regex v1.9.4 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] [stderr] Downloaded webpki-roots v0.26.6 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded tagptr v0.2.0 [INFO] [stderr] Downloaded envy v0.4.2 [INFO] [stderr] Downloaded filetime v0.2.16 [INFO] [stderr] Downloaded kqueue v1.0.6 [INFO] [stderr] Downloaded linemux v0.2.3 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded cargo-platform v0.1.8 [INFO] [stderr] Downloaded tokio v1.41.0 [INFO] [stderr] Downloaded regex-automata v0.3.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7e247c51918b7963a29b45673021408b41b03a054515db49fe3ff7b972590be [INFO] running `Command { std: "docker" "start" "-a" "d7e247c51918b7963a29b45673021408b41b03a054515db49fe3ff7b972590be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7e247c51918b7963a29b45673021408b41b03a054515db49fe3ff7b972590be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7e247c51918b7963a29b45673021408b41b03a054515db49fe3ff7b972590be", kill_on_drop: false }` [INFO] [stdout] d7e247c51918b7963a29b45673021408b41b03a054515db49fe3ff7b972590be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea2c7bfa899b813ba05bbf244f0046c242a068ba2562aea12a15cdc21b270db2 [INFO] running `Command { std: "docker" "start" "-a" "ea2c7bfa899b813ba05bbf244f0046c242a068ba2562aea12a15cdc21b270db2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [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 pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [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 futures-channel v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling unicode-bidi v0.3.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling err-derive v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [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 sync_wrapper v0.1.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling serenity v0.12.2 (https://github.com/serenity-rs/serenity?rev=59c24502f8b2c8381ffdefab7b5f105cf67c9c63#59c24502) [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling notify v5.0.0-pre.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling regex-automata v0.3.7 [INFO] [stderr] Compiling synstructure v0.12.6 [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 darling_core v0.20.10 [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 thiserror v1.0.31 [INFO] [stderr] Compiling tokio v1.41.0 [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 sct v0.7.0 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling rcon v0.6.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling linemux v0.2.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling uuid v1.0.0 [INFO] [stderr] Compiling envy v0.4.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling async-minecraft-ping v0.8.0 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling time v0.3.36 [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 1m 59s [INFO] running `Command { std: "docker" "inspect" "ea2c7bfa899b813ba05bbf244f0046c242a068ba2562aea12a15cdc21b270db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea2c7bfa899b813ba05bbf244f0046c242a068ba2562aea12a15cdc21b270db2", kill_on_drop: false }` [INFO] [stdout] ea2c7bfa899b813ba05bbf244f0046c242a068ba2562aea12a15cdc21b270db2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb545b65c3e71011d7ac1c9a8b12efa47e5e2c136ca20171c154bc62ff208cd3 [INFO] running `Command { std: "docker" "start" "-a" "cb545b65c3e71011d7ac1c9a8b12efa47e5e2c136ca20171c154bc62ff208cd3", 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.06s [INFO] running `Command { std: "docker" "inspect" "cb545b65c3e71011d7ac1c9a8b12efa47e5e2c136ca20171c154bc62ff208cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb545b65c3e71011d7ac1c9a8b12efa47e5e2c136ca20171c154bc62ff208cd3", kill_on_drop: false }` [INFO] [stdout] cb545b65c3e71011d7ac1c9a8b12efa47e5e2c136ca20171c154bc62ff208cd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ba0b7fde80ba498adf73ee09744c9e6522fdbbe86ee1d223514b07b87e814003 [INFO] running `Command { std: "docker" "start" "-a" "ba0b7fde80ba498adf73ee09744c9e6522fdbbe86ee1d223514b07b87e814003", 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.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/minecraft_command_bot-d527b863f504cc68) [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" "ba0b7fde80ba498adf73ee09744c9e6522fdbbe86ee1d223514b07b87e814003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba0b7fde80ba498adf73ee09744c9e6522fdbbe86ee1d223514b07b87e814003", kill_on_drop: false }` [INFO] [stdout] ba0b7fde80ba498adf73ee09744c9e6522fdbbe86ee1d223514b07b87e814003