[INFO] cloning repository https://github.com/tipsypastels/porygon-experimental [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tipsypastels/porygon-experimental" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipsypastels%2Fporygon-experimental", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipsypastels%2Fporygon-experimental'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 42396a10948eb8936ee4c032eed8c7f90e1c7a25 [INFO] checking tipsypastels/porygon-experimental against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipsypastels%2Fporygon-experimental" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tipsypastels/porygon-experimental on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tipsypastels/porygon-experimental [INFO] finished tweaking git repo https://github.com/tipsypastels/porygon-experimental [INFO] tweaked toml for git repo https://github.com/tipsypastels/porygon-experimental written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tipsypastels/porygon-experimental 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tungstenite v0.11.1 [INFO] [stderr] Downloaded custom_debug_derive v0.5.0 [INFO] [stderr] Downloaded darling_macro v0.12.4 [INFO] [stderr] Downloaded typemap_rev v0.1.5 [INFO] [stderr] Downloaded input_buffer v0.3.1 [INFO] [stderr] Downloaded custom_debug v0.5.0 [INFO] [stderr] Downloaded tracing-tree v0.2.0 [INFO] [stderr] Downloaded sealed v0.4.0 [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded async-tungstenite v0.11.0 [INFO] [stderr] Downloaded serenity v0.10.10 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] [stderr] Downloaded webpki-roots v0.20.0 [INFO] [stderr] Downloaded ipnet v2.4.0 [INFO] [stderr] Downloaded darling_core v0.12.4 [INFO] [stderr] Downloaded httparse v1.7.0 [INFO] [stderr] Downloaded darling v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cc15c1b95088ca2659987a8ea419236fd4e4f106f58a6c4f7b084e5c20cab85 [INFO] running `Command { std: "docker" "start" "-a" "3cc15c1b95088ca2659987a8ea419236fd4e4f106f58a6c4f7b084e5c20cab85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cc15c1b95088ca2659987a8ea419236fd4e4f106f58a6c4f7b084e5c20cab85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cc15c1b95088ca2659987a8ea419236fd4e4f106f58a6c4f7b084e5c20cab85", kill_on_drop: false }` [INFO] [stdout] 3cc15c1b95088ca2659987a8ea419236fd4e4f106f58a6c4f7b084e5c20cab85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac227f2932c1491f09799f37cffdfdb0893bdbfb74030eda0315ab0348813c54 [INFO] running `Command { std: "docker" "start" "-a" "ac227f2932c1491f09799f37cffdfdb0893bdbfb74030eda0315ab0348813c54", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking indexmap v1.8.1 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking darling_core v0.12.4 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling custom_debug_derive v0.5.0 [INFO] [stderr] Compiling sealed v0.4.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking custom_debug v0.5.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling porygon_macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking tracing-tree v0.2.0 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking porygon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serenity::prelude::TypeMapKey` [INFO] [stdout] --> src/core/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serenity::prelude::TypeMapKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proxy::*` [INFO] [stdout] --> src/core/event/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use proxy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::client::Http` [INFO] [stdout] --> src/core/init/mod.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::{client::Client, http::client::Http, model::guild::PartialGuild}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unique::*` [INFO] [stdout] --> src/core/setup/scope/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use unique::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::prelude::TypeMapKey` [INFO] [stdout] --> src/core/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serenity::prelude::TypeMapKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proxy::*` [INFO] [stdout] --> src/core/event/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use proxy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::client::Http` [INFO] [stdout] --> src/core/init/mod.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::{client::Client, http::client::Http, model::guild::PartialGuild}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unique::*` [INFO] [stdout] --> src/core/setup/scope/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use unique::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/app/activity.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn random() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGES` is never used [INFO] [stdout] --> src/app/activity.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MESSAGES: [&str; 41] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Controller { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn matches_guild(&self, guild_id: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn upload_iface(&self) -> upload::UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const POKECOM: Controller = Controller { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM_STAFF` is never used [INFO] [stdout] --> src/core/controller/mod.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const POKECOM_STAFF: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUCK_COMMUNISM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const DUCK_COMMUNISM: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Guild` is never constructed [INFO] [stdout] --> src/core/controller/brain.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ControllerBrain { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 16 | Global, [INFO] [stdout] 17 | Guild(GuildNickname), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControllerBrain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/brain.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ControllerBrain { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn matches_guild(&self, _: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn upload_iface(&self) -> UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadInterface` is never constructed [INFO] [stdout] --> src/core/controller/upload.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UploadInterface(UploadInterfaceInner); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global` and `Guild` are never constructed [INFO] [stdout] --> src/core/controller/upload.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum UploadInterfaceInner { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 20 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Guild(GuildId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadInterfaceInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `guild`, `global`, `upload`, and `get` are never used [INFO] [stdout] --> src/core/controller/upload.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl UploadInterface { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 27 | /// Creates an upload interface for a given guild. [INFO] [stdout] 28 | pub(super) fn guild(id: GuildId) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn global() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn upload( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get(&self, http: &Http, command_id: CommandId) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/core/event/registry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EventRegistry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | events: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventRegistry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/core/event/registry.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl EventRegistry { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn add(&self, cb: fn(E) -> Box>) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pokecom`, `PokecomStaff`, and `DuckCommunism` are never constructed [INFO] [stdout] --> src/core/guild/nickname/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GuildNickname { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 11 | Pokecom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | PokecomStaff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | DuckCommunism, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildNickname` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, and `get` are never used [INFO] [stdout] --> src/core/guild/nickname/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GuildNickname { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 17 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get(&self, http: &Http) -> serenity::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/core/guild/nickname/properties.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl GuildNicknameProperties { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 52 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/core/init/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct InitArgs<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 34 | #[debug(skip)] [INFO] [stdout] 35 | client: &'a Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/app/activity.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn random() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGES` is never used [INFO] [stdout] --> src/app/activity.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MESSAGES: [&str; 41] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Controller { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn matches_guild(&self, guild_id: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn upload_iface(&self) -> upload::UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const POKECOM: Controller = Controller { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM_STAFF` is never used [INFO] [stdout] --> src/core/controller/mod.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const POKECOM_STAFF: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUCK_COMMUNISM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const DUCK_COMMUNISM: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Guild` is never constructed [INFO] [stdout] --> src/core/controller/brain.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ControllerBrain { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 16 | Global, [INFO] [stdout] 17 | Guild(GuildNickname), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControllerBrain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/brain.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ControllerBrain { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn matches_guild(&self, _: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn upload_iface(&self) -> UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadInterface` is never constructed [INFO] [stdout] --> src/core/controller/upload.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UploadInterface(UploadInterfaceInner); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global` and `Guild` are never constructed [INFO] [stdout] --> src/core/controller/upload.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum UploadInterfaceInner { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 20 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Guild(GuildId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadInterfaceInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `guild`, `global`, `upload`, and `get` are never used [INFO] [stdout] --> src/core/controller/upload.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl UploadInterface { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 27 | /// Creates an upload interface for a given guild. [INFO] [stdout] 28 | pub(super) fn guild(id: GuildId) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn global() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn upload( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get(&self, http: &Http, command_id: CommandId) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/core/event/registry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EventRegistry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | events: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventRegistry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/core/event/registry.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl EventRegistry { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn add(&self, cb: fn(E) -> Box>) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pokecom`, `PokecomStaff`, and `DuckCommunism` are never constructed [INFO] [stdout] --> src/core/guild/nickname/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GuildNickname { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 11 | Pokecom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | PokecomStaff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | DuckCommunism, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildNickname` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, and `get` are never used [INFO] [stdout] --> src/core/guild/nickname/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GuildNickname { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 17 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get(&self, http: &Http) -> serenity::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/core/guild/nickname/properties.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl GuildNicknameProperties { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 52 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/core/init/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct InitArgs<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 34 | #[debug(skip)] [INFO] [stdout] 35 | client: &'a Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.85s [INFO] running `Command { std: "docker" "inspect" "ac227f2932c1491f09799f37cffdfdb0893bdbfb74030eda0315ab0348813c54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac227f2932c1491f09799f37cffdfdb0893bdbfb74030eda0315ab0348813c54", kill_on_drop: false }` [INFO] [stdout] ac227f2932c1491f09799f37cffdfdb0893bdbfb74030eda0315ab0348813c54 [INFO] checking tipsypastels/porygon-experimental against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftipsypastels%2Fporygon-experimental" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tipsypastels/porygon-experimental on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tipsypastels/porygon-experimental [INFO] finished tweaking git repo https://github.com/tipsypastels/porygon-experimental [INFO] tweaked toml for git repo https://github.com/tipsypastels/porygon-experimental written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tipsypastels/porygon-experimental 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 876579968b71a5fc28aafad008b46bc2ff451cc349747bc12d9f685f80742eaa [INFO] running `Command { std: "docker" "start" "-a" "876579968b71a5fc28aafad008b46bc2ff451cc349747bc12d9f685f80742eaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "876579968b71a5fc28aafad008b46bc2ff451cc349747bc12d9f685f80742eaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "876579968b71a5fc28aafad008b46bc2ff451cc349747bc12d9f685f80742eaa", kill_on_drop: false }` [INFO] [stdout] 876579968b71a5fc28aafad008b46bc2ff451cc349747bc12d9f685f80742eaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dda364904748a04b3e432649e92f84ed001281f67c92c8b157d6b6b75db205d [INFO] running `Command { std: "docker" "start" "-a" "6dda364904748a04b3e432649e92f84ed001281f67c92c8b157d6b6b75db205d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking input_buffer v0.3.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking indexmap v1.8.1 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Compiling serenity v0.10.10 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking ident_case v1.0.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking ipnet v2.4.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking tungstenite v0.11.1 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling custom_debug_derive v0.5.0 [INFO] [stderr] Compiling sealed v0.4.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.20.0 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Checking custom_debug v0.5.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Checking porygon_macros v0.1.0 (/opt/rustwide/workdir/macros) [INFO] [stderr] Checking tracing-tree v0.2.0 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.23.3 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking async-tungstenite v0.11.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking porygon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `serenity::prelude::TypeMapKey` [INFO] [stdout] --> src/core/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serenity::prelude::TypeMapKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proxy::*` [INFO] [stdout] --> src/core/event/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use proxy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::client::Http` [INFO] [stdout] --> src/core/init/mod.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::{client::Client, http::client::Http, model::guild::PartialGuild}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unique::*` [INFO] [stdout] --> src/core/setup/scope/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use unique::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::prelude::TypeMapKey` [INFO] [stdout] --> src/core/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serenity::prelude::TypeMapKey; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `proxy::*` [INFO] [stdout] --> src/core/event/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use proxy::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `http::client::Http` [INFO] [stdout] --> src/core/init/mod.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use serenity::{client::Client, http::client::Http, model::guild::PartialGuild}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `unique::*` [INFO] [stdout] --> src/core/setup/scope/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use unique::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/app/activity.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn random() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGES` is never used [INFO] [stdout] --> src/app/activity.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MESSAGES: [&str; 41] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Controller { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn matches_guild(&self, guild_id: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn upload_iface(&self) -> upload::UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const POKECOM: Controller = Controller { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM_STAFF` is never used [INFO] [stdout] --> src/core/controller/mod.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const POKECOM_STAFF: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUCK_COMMUNISM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const DUCK_COMMUNISM: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Guild` is never constructed [INFO] [stdout] --> src/core/controller/brain.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ControllerBrain { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 16 | Global, [INFO] [stdout] 17 | Guild(GuildNickname), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControllerBrain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/brain.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ControllerBrain { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn matches_guild(&self, _: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn upload_iface(&self) -> UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadInterface` is never constructed [INFO] [stdout] --> src/core/controller/upload.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UploadInterface(UploadInterfaceInner); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global` and `Guild` are never constructed [INFO] [stdout] --> src/core/controller/upload.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum UploadInterfaceInner { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 20 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Guild(GuildId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadInterfaceInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `guild`, `global`, `upload`, and `get` are never used [INFO] [stdout] --> src/core/controller/upload.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl UploadInterface { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 27 | /// Creates an upload interface for a given guild. [INFO] [stdout] 28 | pub(super) fn guild(id: GuildId) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn global() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn upload( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get(&self, http: &Http, command_id: CommandId) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/core/event/registry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EventRegistry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | events: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventRegistry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/core/event/registry.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl EventRegistry { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn add(&self, cb: fn(E) -> Box>) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pokecom`, `PokecomStaff`, and `DuckCommunism` are never constructed [INFO] [stdout] --> src/core/guild/nickname/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GuildNickname { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 11 | Pokecom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | PokecomStaff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | DuckCommunism, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildNickname` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, and `get` are never used [INFO] [stdout] --> src/core/guild/nickname/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GuildNickname { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 17 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get(&self, http: &Http) -> serenity::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/core/guild/nickname/properties.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl GuildNicknameProperties { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 52 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/core/init/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct InitArgs<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 34 | #[debug(skip)] [INFO] [stdout] 35 | client: &'a Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/init/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Init` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/init/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_InitArgs` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/init/mod.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_InitStep` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/setup/step.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_StepArgs` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random` is never used [INFO] [stdout] --> src/app/activity.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn random() -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MESSAGES` is never used [INFO] [stdout] --> src/app/activity.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const MESSAGES: [&str; 41] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/mod.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Controller { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn matches_guild(&self, guild_id: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn upload_iface(&self) -> upload::UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const POKECOM: Controller = Controller { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `POKECOM_STAFF` is never used [INFO] [stdout] --> src/core/controller/mod.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const POKECOM_STAFF: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DUCK_COMMUNISM` is never used [INFO] [stdout] --> src/core/controller/mod.rs:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | pub const DUCK_COMMUNISM: Controller = Controller { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Guild` is never constructed [INFO] [stdout] --> src/core/controller/brain.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum ControllerBrain { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 16 | Global, [INFO] [stdout] 17 | Guild(GuildNickname), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ControllerBrain` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `matches_guild` and `upload_iface` are never used [INFO] [stdout] --> src/core/controller/brain.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ControllerBrain { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn matches_guild(&self, _: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn upload_iface(&self) -> UploadInterface { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UploadInterface` is never constructed [INFO] [stdout] --> src/core/controller/upload.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct UploadInterface(UploadInterfaceInner); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Global` and `Guild` are never constructed [INFO] [stdout] --> src/core/controller/upload.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 19 | enum UploadInterfaceInner { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] 20 | Global, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Guild(GuildId), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UploadInterfaceInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `guild`, `global`, `upload`, and `get` are never used [INFO] [stdout] --> src/core/controller/upload.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 26 | impl UploadInterface { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 27 | /// Creates an upload interface for a given guild. [INFO] [stdout] 28 | pub(super) fn guild(id: GuildId) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(super) fn global() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub async fn upload( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub async fn get(&self, http: &Http, command_id: CommandId) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `events` is never read [INFO] [stdout] --> src/core/event/registry.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct EventRegistry { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 12 | events: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EventRegistry` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add` is never used [INFO] [stdout] --> src/core/event/registry.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 15 | impl EventRegistry { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub async fn add(&self, cb: fn(E) -> Box>) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Pokecom`, `PokecomStaff`, and `DuckCommunism` are never constructed [INFO] [stdout] --> src/core/guild/nickname/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum GuildNickname { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 11 | Pokecom, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 12 | PokecomStaff, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 13 | DuckCommunism, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GuildNickname` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, and `get` are never used [INFO] [stdout] --> src/core/guild/nickname/mod.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GuildNickname { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 17 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub async fn get(&self, http: &Http) -> serenity::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/core/guild/nickname/properties.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl GuildNicknameProperties { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] 52 | pub fn id(&self) -> GuildId { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/core/init/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct InitArgs<'a> { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 34 | #[debug(skip)] [INFO] [stdout] 35 | client: &'a Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/init/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_Init` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/init/mod.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_InitArgs` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/init/mod.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_InitStep` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/core/setup/step.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_core_fmt_Debug_FOR_StepArgs` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `porygon` (bin "porygon" test) due to 5 previous errors; 21 warnings emitted [INFO] [stdout] error: aborting due to 4 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `porygon` (bin "porygon") due to 5 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dda364904748a04b3e432649e92f84ed001281f67c92c8b157d6b6b75db205d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dda364904748a04b3e432649e92f84ed001281f67c92c8b157d6b6b75db205d", kill_on_drop: false }` [INFO] [stdout] 6dda364904748a04b3e432649e92f84ed001281f67c92c8b157d6b6b75db205d