[INFO] fetching crate serenity 0.12.0... [INFO] checking serenity-0.12.0 against master#020bbe46bdf613c0b8211984eaa8e5fe97d6c92d for pr-122960 [INFO] extracting crate serenity 0.12.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate serenity 0.12.0 on toolchain 020bbe46bdf613c0b8211984eaa8e5fe97d6c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serenity 0.12.0 [INFO] finished tweaking crates.io crate serenity 0.12.0 [INFO] tweaked toml for crates.io crate serenity 0.12.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typesize-derive v0.1.3 [INFO] [stderr] Downloaded typesize v0.1.6 [INFO] [stderr] Downloaded form_urlencoded v1.2.1 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded unicode-bidi v0.3.15 [INFO] [stderr] Downloaded unicode-normalization v0.1.23 [INFO] [stderr] Downloaded winapi-util v0.1.6 [INFO] [stderr] Downloaded pin-utils v0.1.0 [INFO] [stderr] Downloaded tokio-native-tls v0.3.1 [INFO] [stderr] Downloaded lexical-util v0.8.5 [INFO] [stderr] Downloaded walkdir v2.5.0 [INFO] [stderr] Downloaded fxhash v0.2.1 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded addr2line v0.21.0 [INFO] [stderr] Downloaded async-trait v0.1.79 [INFO] [stderr] Downloaded futures v0.3.30 [INFO] [stderr] Downloaded curve25519-dalek v4.1.2 [INFO] [stderr] Downloaded fiat-crypto v0.2.7 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.5 [INFO] [stderr] Downloaded web-sys v0.3.69 [INFO] [stderr] Downloaded tokio v1.36.0 [INFO] [stderr] Downloaded mime_guess v2.0.4 [INFO] [stderr] Downloaded encoding_rs v0.8.33 [INFO] [stderr] Downloaded tokio-util v0.7.10 [INFO] [stderr] Downloaded gimli v0.28.1 [INFO] [stderr] Downloaded object v0.32.2 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.5 [INFO] [stderr] Downloaded command_attr v0.5.1 [INFO] [stderr] Downloaded curve25519-dalek-derive v0.1.1 [INFO] [stderr] Downloaded platforms v3.3.0 [INFO] [stderr] Downloaded ed25519 v2.2.3 [INFO] [stderr] Downloaded ed25519-dalek v2.1.1 [INFO] [stderr] Downloaded flate2 v1.0.28 [INFO] [stderr] Downloaded indexmap v2.2.6 [INFO] [stderr] Downloaded h2 v0.3.25 [INFO] [stderr] Downloaded ring v0.17.8 [INFO] [stderr] Downloaded http-body v0.4.6 [INFO] [stderr] Downloaded httpdate v1.0.3 [INFO] [stderr] Downloaded hyper v0.14.28 [INFO] [stderr] Downloaded ipnet v2.9.0 [INFO] [stderr] Downloaded system-configuration v0.5.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.42 [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded reqwest v0.11.27 [INFO] [stderr] Downloaded serde_repr v0.1.18 [INFO] [stderr] Downloaded serenity-voice-model v0.2.0 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded untrusted v0.9.0 [INFO] [stderr] Downloaded sct v0.7.1 [INFO] [stderr] Downloaded rustls v0.21.10 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.5 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.5 [INFO] [stderr] Downloaded miniz_oxide v0.7.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.23 [INFO] [stderr] Downloaded backtrace v0.3.71 [INFO] [stderr] Downloaded mio v0.8.11 [INFO] [stderr] Downloaded socket2 v0.5.6 [INFO] [stderr] Downloaded tokio-macros v2.2.0 [INFO] [stderr] Downloaded tokio-rustls v0.24.1 [INFO] [stderr] Downloaded http v0.2.12 [INFO] [stderr] Downloaded httparse v1.8.0 [INFO] [stderr] Downloaded openssl-macros v0.1.1 [INFO] [stderr] Downloaded pkg-config v0.3.30 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded core-foundation v0.9.4 [INFO] [stderr] Downloaded security-framework v2.9.2 [INFO] [stderr] Downloaded security-framework-sys v2.9.1 [INFO] [stderr] Downloaded native-tls v0.2.11 [INFO] [stderr] Downloaded tungstenite v0.20.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.20.1 [INFO] [stderr] Downloaded dashmap v5.5.3 [INFO] [stderr] Downloaded bytecount v0.6.7 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.5 [INFO] [stderr] Downloaded want v0.3.1 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded mime v0.3.17 [INFO] [stderr] Downloaded rustls-pemfile v1.0.4 [INFO] [stderr] Downloaded serde_urlencoded v0.7.1 [INFO] [stderr] Downloaded sync_wrapper v0.1.2 [INFO] [stderr] Downloaded system-configuration-sys v0.5.0 [INFO] [stderr] Downloaded futures-channel v0.3.30 [INFO] [stderr] Downloaded futures-core v0.3.30 [INFO] [stderr] Downloaded futures-io v0.3.30 [INFO] [stderr] Downloaded slab v0.4.9 [INFO] [stderr] Downloaded data-encoding v2.5.0 [INFO] [stderr] Downloaded foreign-types-shared v0.1.1 [INFO] [stderr] Downloaded foreign-types v0.3.2 [INFO] [stderr] Downloaded openssl-probe v0.1.5 [INFO] [stderr] Downloaded schannel v0.1.23 [INFO] [stderr] Downloaded sha1 v0.10.6 [INFO] [stderr] Downloaded pin-project-lite v0.2.13 [INFO] [stderr] Downloaded tracing-attributes v0.1.27 [INFO] [stderr] Downloaded tracing-core v0.1.32 [INFO] [stderr] Downloaded tracing v0.1.40 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.12 [INFO] [stderr] Downloaded crossbeam-utils v0.8.19 [INFO] [stderr] Downloaded camino v1.1.6 [INFO] [stderr] Downloaded cargo-platform v0.1.8 [INFO] [stderr] Downloaded unicase v2.7.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.5 [INFO] [stderr] Downloaded ahash v0.8.11 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded try-lock v0.2.5 [INFO] [stderr] Downloaded tower-service v0.3.2 [INFO] [stderr] Downloaded futures-macro v0.3.30 [INFO] [stderr] Downloaded futures-sink v0.3.30 [INFO] [stderr] Downloaded futures-task v0.3.30 [INFO] [stderr] Downloaded futures-util v0.3.30 [INFO] [stderr] Downloaded error-chain v0.12.4 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded tagptr v0.2.0 [INFO] [stderr] Downloaded triomphe v0.1.11 [INFO] [stderr] Downloaded redox_syscall v0.4.1 [INFO] [stderr] Downloaded windows-targets v0.48.5 [INFO] [stderr] Downloaded secrecy v0.8.0 [INFO] [stderr] Downloaded lexical-parse-integer v0.8.6 [INFO] [stderr] Downloaded lexical-write-float v0.8.5 [INFO] [stderr] Downloaded lexical-write-integer v0.8.5 [INFO] [stderr] Downloaded ref-cast-impl v1.0.22 [INFO] [stderr] Downloaded zerocopy-derive v0.7.32 [INFO] [stderr] Downloaded zerocopy v0.7.32 [INFO] [stderr] Downloaded allocator-api2 v0.2.16 [INFO] [stderr] Downloaded halfbrown v0.2.5 [INFO] [stderr] Downloaded simd-json v0.13.9 [INFO] [stderr] Downloaded deranged v0.3.11 [INFO] [stderr] Downloaded time-core v0.1.2 [INFO] [stderr] Downloaded time-macros v0.2.17 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded smallvec v1.13.2 [INFO] [stderr] Downloaded parking_lot_core v0.9.9 [INFO] [stderr] Downloaded lexical-parse-float v0.8.5 [INFO] [stderr] Downloaded ref-cast v1.0.22 [INFO] [stderr] Downloaded simdutf8 v0.1.4 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded num-conv v0.1.0 [INFO] [stderr] Downloaded lexical-core v0.8.5 [INFO] [stderr] Downloaded powerfmt v0.2.0 [INFO] [stderr] Downloaded lock_api v0.4.11 [INFO] [stderr] Downloaded hashbrown v0.14.3 [INFO] [stderr] Downloaded value-trait v0.8.1 [INFO] [stderr] Downloaded time v0.3.34 [INFO] [stderr] Downloaded idna v0.5.0 [INFO] [stderr] Downloaded url v2.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c040e90a02f159a90c2746a981e9b4f964a6e412eea955f0a9f247ffa7bbe8ca [INFO] running `Command { std: "docker" "start" "-a" "c040e90a02f159a90c2746a981e9b4f964a6e412eea955f0a9f247ffa7bbe8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c040e90a02f159a90c2746a981e9b4f964a6e412eea955f0a9f247ffa7bbe8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c040e90a02f159a90c2746a981e9b4f964a6e412eea955f0a9f247ffa7bbe8ca", kill_on_drop: false }` [INFO] [stdout] c040e90a02f159a90c2746a981e9b4f964a6e412eea955f0a9f247ffa7bbe8ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+020bbe46bdf613c0b8211984eaa8e5fe97d6c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 228295bd44d0a4ef6e677aa324d1a52efe9135a2700e387148418170db428a55 [INFO] running `Command { std: "docker" "start" "-a" "228295bd44d0a4ef6e677aa324d1a52efe9135a2700e387148418170db428a55", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling serenity v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling command_attr v0.5.1 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking serde_json v1.0.114 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/model/application/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::prelude::*; [INFO] [stdout] | --------------------------- the item `Value` is already imported here [INFO] [stdout] 11 | use crate::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/guild_channel.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 33 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MessageInteraction` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `MessageInteraction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/private_channel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 12 | use crate::model::utils::single_recipient; [INFO] [stdout] 13 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{Deserialize, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 28 | use crate::model::utils::is_false; [INFO] [stdout] 29 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::application::ActionRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `CommandPermissions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Interaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/model/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `AuditLogEntry` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionExecution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Rule` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/model/guild/automod.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 512 | [INFO] [stdout] 513 | use super::{Action, *}; [INFO] [stdout] | - the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/model/guild/automod.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | use super::{Action, *}; [INFO] [stdout] | ^^^^^^ - the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Permissions` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::permissions::Permissions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Permissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 68 | use crate::model::utils::*; [INFO] [stdout] 69 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/id.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mentionable` is imported redundantly [INFO] [stdout] --> src/model/user.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Mentionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use crate::model::mention::Mentionable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/user.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Message` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChannelId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ChannelId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GuildId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `GuildId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WebhookId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `WebhookId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModelError` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ModelError` is already imported here [INFO] [stdout] 21 | #[cfg(feature = "model")] [INFO] [stdout] 22 | use crate::model::ModelError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scope` is imported redundantly [INFO] [stdout] --> src/builder/bot_auth_parameters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::Scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Scope` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/builder/create_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Trigger` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Trigger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Interaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `AuditLogEntry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionExecution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Context` is already imported here [INFO] [stdout] 2 | use crate::client::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/model/application/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::prelude::*; [INFO] [stdout] | --------------------------- the item `Value` is already imported here [INFO] [stdout] 11 | use crate::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BoxFuture` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `BoxFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use futures::future::{BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `CommandMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GroupMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `GroupMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Stream` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use uwl::Stream; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/http/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/guild_channel.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 33 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MessageInteraction` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `MessageInteraction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `to_string` is imported redundantly [INFO] [stdout] --> src/http/error.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 253 | use super::*; [INFO] [stdout] | -------- the item `to_string` is already imported here [INFO] [stdout] 254 | use crate::json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/utils/content_safe.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 271 | use super::*; [INFO] [stdout] | -------- the item `User` is already imported here [INFO] [stdout] ... [INFO] [stdout] 275 | use crate::model::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/private_channel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 12 | use crate::model::utils::single_recipient; [INFO] [stdout] 13 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/utils/custom_message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{Deserialize, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 28 | use crate::model::utils::is_false; [INFO] [stdout] 29 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::application::ActionRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `CommandPermissions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Interaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/model/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `AuditLogEntry` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionExecution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Rule` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Permissions` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::permissions::Permissions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Permissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 68 | use crate::model::utils::*; [INFO] [stdout] 69 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/id.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mentionable` is imported redundantly [INFO] [stdout] --> src/model/user.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Mentionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use crate::model::mention::Mentionable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/user.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Message` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChannelId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ChannelId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GuildId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `GuildId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WebhookId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `WebhookId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModelError` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ModelError` is already imported here [INFO] [stdout] 21 | #[cfg(feature = "model")] [INFO] [stdout] 22 | use crate::model::ModelError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scope` is imported redundantly [INFO] [stdout] --> src/builder/bot_auth_parameters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::Scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Scope` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/builder/create_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Trigger` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Trigger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Interaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `AuditLogEntry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionExecution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Context` is already imported here [INFO] [stdout] 2 | use crate::client::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BoxFuture` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `BoxFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use futures::future::{BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `CommandMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GroupMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `GroupMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Stream` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use uwl::Stream; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/http/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/utils/custom_message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serenity` (lib test); 76 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/020bbe46bdf613c0b8211984eaa8e5fe97d6c92d/bin/rustc --crate-name serenity --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="builder"' --cfg 'feature="bytes"' --cfg 'feature="cache"' --cfg 'feature="chrono"' --cfg 'feature="client"' --cfg 'feature="command_attr"' --cfg 'feature="dashmap"' --cfg 'feature="default"' --cfg 'feature="default_no_backend"' --cfg 'feature="flate2"' --cfg 'feature="framework"' --cfg 'feature="fxhash"' --cfg 'feature="gateway"' --cfg 'feature="http"' --cfg 'feature="levenshtein"' --cfg 'feature="mime_guess"' --cfg 'feature="model"' --cfg 'feature="parking_lot"' --cfg 'feature="percent-encoding"' --cfg 'feature="reqwest"' --cfg 'feature="rustls_backend"' --cfg 'feature="standard_framework"' --cfg 'feature="static_assertions"' --cfg 'feature="tokio-tungstenite"' --cfg 'feature="typemap_rev"' --cfg 'feature="utils"' --cfg 'feature="uwl"' -C metadata=2a984937f9e271b9 -C extra-filename=-2a984937f9e271b9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arrayvec=/opt/rustwide/target/debug/deps/libarrayvec-b5b85dd06233f392.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-adf250ff3c510b15.so --extern base64=/opt/rustwide/target/debug/deps/libbase64-0f59129b8e0dbc2d.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-e2ec6af07d04812b.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-421a06479d7e854b.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-4c3014c5bf8f49f7.rmeta --extern command_attr=/opt/rustwide/target/debug/deps/libcommand_attr-85488c568e0bb958.so --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-5bcfa9425191a71d.rmeta --extern flate2=/opt/rustwide/target/debug/deps/libflate2-2730a7f3d633582f.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-22cd1278b93055bf.rmeta --extern fxhash=/opt/rustwide/target/debug/deps/libfxhash-0270710b1a939452.rmeta --extern http_crate=/opt/rustwide/target/debug/deps/libhttp-347347167b52d7d5.rmeta --extern levenshtein=/opt/rustwide/target/debug/deps/liblevenshtein-fd65b79e4ecb3364.rmeta --extern mime_guess=/opt/rustwide/target/debug/deps/libmime_guess-e9ee465553c47c7b.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-a2eb7ca134ac1183.rmeta --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-1acbb5d5c0c2a0fb.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-f0e834b5b58071b6.rmeta --extern secrecy=/opt/rustwide/target/debug/deps/libsecrecy-6535cc45a271d972.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-c0b16d33a8f006a2.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-bca3224cb5739e73.rmeta --extern static_assertions=/opt/rustwide/target/debug/deps/libstatic_assertions-d7bc6de49fe2dd56.rmeta --extern dep_time=/opt/rustwide/target/debug/deps/libtime-8df5a793bdc3154d.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-502b2ec8c77e6a21.rmeta --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-c8728bb45e7069b7.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-c9f90ce9fb58c720.rmeta --extern typemap_rev=/opt/rustwide/target/debug/deps/libtypemap_rev-3f89c468a6079e6c.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-3d9c94b323ed56ca.rmeta --extern uwl=/opt/rustwide/target/debug/deps/libuwl-633ea588eadd6091.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-15754dff33117d08/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "228295bd44d0a4ef6e677aa324d1a52efe9135a2700e387148418170db428a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "228295bd44d0a4ef6e677aa324d1a52efe9135a2700e387148418170db428a55", kill_on_drop: false }` [INFO] [stdout] 228295bd44d0a4ef6e677aa324d1a52efe9135a2700e387148418170db428a55 [INFO] checking serenity-0.12.0 against try#8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde for pr-122960 [INFO] extracting crate serenity 0.12.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate serenity 0.12.0 on toolchain 8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serenity 0.12.0 [INFO] finished tweaking crates.io crate serenity 0.12.0 [INFO] tweaked toml for crates.io crate serenity 0.12.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35d4cc308a62408b0ab12a18df5789243cedf19f19832014d45f8de640357a26 [INFO] running `Command { std: "docker" "start" "-a" "35d4cc308a62408b0ab12a18df5789243cedf19f19832014d45f8de640357a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35d4cc308a62408b0ab12a18df5789243cedf19f19832014d45f8de640357a26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d4cc308a62408b0ab12a18df5789243cedf19f19832014d45f8de640357a26", kill_on_drop: false }` [INFO] [stdout] 35d4cc308a62408b0ab12a18df5789243cedf19f19832014d45f8de640357a26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cae8eb0dda7f0242da4823d7daf64e3a92e242f0b803237a1e944ef2922d3747 [INFO] running `Command { std: "docker" "start" "-a" "cae8eb0dda7f0242da4823d7daf64e3a92e242f0b803237a1e944ef2922d3747", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling serenity v0.12.0 (/tmp/fixit) [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling command_attr v0.5.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking time v0.3.34 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/model/application/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::prelude::*; [INFO] [stdout] | --------------------------- the item `Value` is already imported here [INFO] [stdout] 11 | use crate::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/guild_channel.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 33 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MessageInteraction` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `MessageInteraction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/private_channel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 12 | use crate::model::utils::single_recipient; [INFO] [stdout] 13 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{Deserialize, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 28 | use crate::model::utils::is_false; [INFO] [stdout] 29 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::application::ActionRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `CommandPermissions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Interaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/model/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `AuditLogEntry` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionExecution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Rule` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Permissions` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::permissions::Permissions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Permissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 68 | use crate::model::utils::*; [INFO] [stdout] 69 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/id.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mentionable` is imported redundantly [INFO] [stdout] --> src/model/user.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Mentionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use crate::model::mention::Mentionable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/user.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Message` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChannelId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ChannelId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GuildId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `GuildId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WebhookId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `WebhookId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModelError` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ModelError` is already imported here [INFO] [stdout] 21 | #[cfg(feature = "model")] [INFO] [stdout] 22 | use crate::model::ModelError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scope` is imported redundantly [INFO] [stdout] --> src/builder/bot_auth_parameters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::Scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Scope` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/builder/create_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Trigger` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Trigger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Interaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `AuditLogEntry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionExecution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Context` is already imported here [INFO] [stdout] 2 | use crate::client::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BoxFuture` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `BoxFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use futures::future::{BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `CommandMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GroupMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `GroupMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Stream` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use uwl::Stream; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/http/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/utils/custom_message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/model/application/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::prelude::*; [INFO] [stdout] | --------------------------- the item `Value` is already imported here [INFO] [stdout] 11 | use crate::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/guild_channel.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 33 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MessageInteraction` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `MessageInteraction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/private_channel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 12 | use crate::model::utils::single_recipient; [INFO] [stdout] 13 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{Deserialize, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 28 | use crate::model::utils::is_false; [INFO] [stdout] 29 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::application::ActionRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `CommandPermissions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Interaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/model/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `AuditLogEntry` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionExecution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Rule` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/model/guild/automod.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 512 | [INFO] [stdout] 513 | use super::{Action, *}; [INFO] [stdout] | - the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/model/guild/automod.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | use super::{Action, *}; [INFO] [stdout] | ^^^^^^ - the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Permissions` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::permissions::Permissions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Permissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 68 | use crate::model::utils::*; [INFO] [stdout] 69 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/id.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mentionable` is imported redundantly [INFO] [stdout] --> src/model/user.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Mentionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use crate::model::mention::Mentionable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/user.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Message` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChannelId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ChannelId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GuildId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `GuildId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WebhookId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `WebhookId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModelError` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ModelError` is already imported here [INFO] [stdout] 21 | #[cfg(feature = "model")] [INFO] [stdout] 22 | use crate::model::ModelError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scope` is imported redundantly [INFO] [stdout] --> src/builder/bot_auth_parameters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::Scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Scope` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/builder/create_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Trigger` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Trigger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.95s [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Interaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `AuditLogEntry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionExecution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Context` is already imported here [INFO] [stdout] 2 | use crate::client::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BoxFuture` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `BoxFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use futures::future::{BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `CommandMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GroupMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `GroupMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Stream` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use uwl::Stream; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/http/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `to_string` is imported redundantly [INFO] [stdout] --> src/http/error.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 253 | use super::*; [INFO] [stdout] | -------- the item `to_string` is already imported here [INFO] [stdout] 254 | use crate::json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/utils/content_safe.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 271 | use super::*; [INFO] [stdout] | -------- the item `User` is already imported here [INFO] [stdout] ... [INFO] [stdout] 275 | use crate::model::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/utils/custom_message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling serenity v0.12.0 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/model/guild/mod.rs:2792:12 [INFO] [stdout] | [INFO] [stdout] 2792 | fn gen() -> Guild { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2792 | fn r#gen() -> Guild { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/model/guild/mod.rs:2803:25 [INFO] [stdout] | [INFO] [stdout] 2803 | let guild = gen(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/model/guild/mod.rs:2811:25 [INFO] [stdout] | [INFO] [stdout] 2811 | let guild = gen(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/model/guild/mod.rs:2792:12 [INFO] [stdout] | [INFO] [stdout] 2792 | fn gen() -> Guild { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 2792 | fn r#gen() -> Guild { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/model/guild/mod.rs:2803:25 [INFO] [stdout] | [INFO] [stdout] 2803 | let guild = gen(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/model/guild/mod.rs:2811:25 [INFO] [stdout] | [INFO] [stdout] 2811 | let guild = gen(); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/utils/message_builder.rs:1168:18 [INFO] [stdout] | [INFO] [stdout] 1168 | macro_rules! gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1168 | macro_rules! r#gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/message_builder.rs:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | gen! { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/message_builder.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | gen! { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/utils/message_builder.rs:1168:18 [INFO] [stdout] | [INFO] [stdout] 1168 | macro_rules! gen { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1168 | macro_rules! r#gen { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/message_builder.rs:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | gen! { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/utils/message_builder.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | gen! { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/internal/tokio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/model/application/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::prelude::*; [INFO] [stdout] | --------------------------- the item `Value` is already imported here [INFO] [stdout] 11 | use crate::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/guild_channel.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 33 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MessageInteraction` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `MessageInteraction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/private_channel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 12 | use crate::model::utils::single_recipient; [INFO] [stdout] 13 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{Deserialize, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 28 | use crate::model::utils::is_false; [INFO] [stdout] 29 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::application::ActionRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `CommandPermissions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Interaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/model/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `AuditLogEntry` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionExecution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Rule` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Permissions` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::permissions::Permissions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Permissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 68 | use crate::model::utils::*; [INFO] [stdout] 69 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/id.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mentionable` is imported redundantly [INFO] [stdout] --> src/model/user.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Mentionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use crate::model::mention::Mentionable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/user.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Message` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChannelId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ChannelId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GuildId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `GuildId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WebhookId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `WebhookId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModelError` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ModelError` is already imported here [INFO] [stdout] 21 | #[cfg(feature = "model")] [INFO] [stdout] 22 | use crate::model::ModelError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scope` is imported redundantly [INFO] [stdout] --> src/builder/bot_auth_parameters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::Scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Scope` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/builder/create_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Trigger` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Trigger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Interaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `AuditLogEntry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionExecution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoFuture` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoFuture` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Context` is already imported here [INFO] [stdout] 2 | use crate::client::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BoxFuture` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `BoxFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use futures::future::{BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `CommandMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GroupMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `GroupMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Stream` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use uwl::Stream; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/http/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/utils/custom_message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Future` is imported redundantly [INFO] [stdout] --> src/internal/tokio.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Future` is already defined here [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | unused, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Value` is imported redundantly [INFO] [stdout] --> src/model/application/command.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::internal::prelude::*; [INFO] [stdout] | --------------------------- the item `Value` is already imported here [INFO] [stdout] 11 | use crate::json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/component_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/application/modal_interaction.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use serde::de::{Deserialize, Deserializer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/guild_channel.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 33 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `MessageInteraction` is imported redundantly [INFO] [stdout] --> src/model/channel/message.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | use crate::model::application::{ActionRow, MessageInteraction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `MessageInteraction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/private_channel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 12 | use crate::model::utils::single_recipient; [INFO] [stdout] 13 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserialize` is imported redundantly [INFO] [stdout] --> src/model/channel/reaction.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::de::{Deserialize, Error as DeError}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserialize` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/channel/mod.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 28 | use crate::model::utils::is_false; [INFO] [stdout] 29 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/event.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionRow` is imported redundantly [INFO] [stdout] --> src/model/event.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use super::application::ActionRow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionRow` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `CommandPermissions` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/model/event.rs:18:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Interaction` is already imported here [INFO] [stdout] ... [INFO] [stdout] 18 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/model/event.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `AuditLogEntry` is already imported here [INFO] [stdout] ... [INFO] [stdout] 19 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `ActionExecution` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/event.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 15 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Rule` is already imported here [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Deserializer` is imported redundantly [INFO] [stdout] --> src/model/guild/audit_log/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::de::Deserializer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Deserializer` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Duration` is imported redundantly [INFO] [stdout] --> src/model/guild/automod.rs:511:9 [INFO] [stdout] | [INFO] [stdout] 511 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 512 | [INFO] [stdout] 513 | use super::{Action, *}; [INFO] [stdout] | - the item `Duration` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/model/guild/automod.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | use super::{Action, *}; [INFO] [stdout] | ^^^^^^ - the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:37:42 [INFO] [stdout] | [INFO] [stdout] 37 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/guild_id.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/integration.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::*; [INFO] [stdout] | -------- the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Permissions` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::model::permissions::Permissions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Permissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/member.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] ... [INFO] [stdout] 17 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:26:42 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/partial_guild.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:33 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/model/guild/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 68 | use crate::model::utils::*; [INFO] [stdout] 69 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/id.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Mentionable` is imported redundantly [INFO] [stdout] --> src/model/user.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 11 | use super::prelude::*; [INFO] [stdout] | ----------------- the item `Mentionable` is already imported here [INFO] [stdout] ... [INFO] [stdout] 26 | use crate::model::mention::Mentionable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/model/user.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Message` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Message` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ChannelId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ChannelId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GuildId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `GuildId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WebhookId` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use super::id::{ChannelId, GuildId, WebhookId}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `WebhookId` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use super::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `User` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ModelError` is imported redundantly [INFO] [stdout] --> src/model/webhook.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 20 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ModelError` is already imported here [INFO] [stdout] 21 | #[cfg(feature = "model")] [INFO] [stdout] 22 | use crate::model::ModelError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Scope` is imported redundantly [INFO] [stdout] --> src/builder/bot_auth_parameters.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::Scope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Scope` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/builder/create_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Action` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:36 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Action` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Trigger` is imported redundantly [INFO] [stdout] --> src/builder/edit_automod_rule.rs:9:55 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::automod::{Action, EventType, Trigger}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Trigger` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | use std::collections::{HashMap, HashSet, VecDeque}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/cache/mod.rs:758:9 [INFO] [stdout] | [INFO] [stdout] 758 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 761 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Interaction` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:8:53 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::model::application::{CommandPermissions, Interaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Interaction` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AuditLogEntry` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::model::guild::audit_log::AuditLogEntry; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `AuditLogEntry` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ActionExecution` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `ActionExecution` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/client/event_handler.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::guild::automod::{ActionExecution, Rule}; [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoFuture` is imported redundantly [INFO] [stdout] --> src/client/mod.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::future::IntoFuture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoFuture` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Context` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Context` is already imported here [INFO] [stdout] 2 | use crate::client::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 3 | [INFO] [stdout] 4 | use crate::framework::standard::*; [INFO] [stdout] | ----------------------------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `BoxFuture` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `BoxFuture` is already imported here [INFO] [stdout] ... [INFO] [stdout] 11 | use futures::future::{BoxFuture, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `CommandMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `GroupMap` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `GroupMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 12 | use map::{CommandMap, GroupMap, ParseMap}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Stream` is imported redundantly [INFO] [stdout] --> src/framework/standard/parse/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{Command, *}; [INFO] [stdout] | - the item `Stream` is already imported here [INFO] [stdout] ... [INFO] [stdout] 13 | use uwl::Stream; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryFrom` is imported redundantly [INFO] [stdout] --> src/http/client.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/library/std/src/prelude/mod.rs:143:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `TryFrom` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Command` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:33 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Command` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `CommandPermissions` is imported redundantly [INFO] [stdout] --> src/http/client.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | use crate::model::application::{Command, CommandPermissions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `CommandPermissions` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Rule` is imported redundantly [INFO] [stdout] --> src/http/client.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use crate::model::guild::automod::Rule; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Rule` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `to_string` is imported redundantly [INFO] [stdout] --> src/http/error.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 253 | use super::*; [INFO] [stdout] | -------- the item `to_string` is already imported here [INFO] [stdout] 254 | use crate::json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `User` is imported redundantly [INFO] [stdout] --> src/utils/content_safe.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 271 | use super::*; [INFO] [stdout] | -------- the item `User` is already imported here [INFO] [stdout] ... [INFO] [stdout] 275 | use crate::model::user::User; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Timestamp` is imported redundantly [INFO] [stdout] --> src/utils/custom_message.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::model::prelude::*; [INFO] [stdout] | ------------------------ the item `Timestamp` is already imported here [INFO] [stdout] 2 | use crate::model::Timestamp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `gen` [INFO] [stdout] --> src/utils/message_builder.rs:1168:18 [INFO] [stdout] | [INFO] [stdout] 1168 | macro_rules! gen { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` implied by `#[warn(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serenity` (lib test) due to 6 previous errors; 79 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/bin/rustc --crate-name serenity --edition=2024 -Z unstable-options src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="builder"' --cfg 'feature="bytes"' --cfg 'feature="cache"' --cfg 'feature="chrono"' --cfg 'feature="client"' --cfg 'feature="command_attr"' --cfg 'feature="dashmap"' --cfg 'feature="default"' --cfg 'feature="default_no_backend"' --cfg 'feature="flate2"' --cfg 'feature="framework"' --cfg 'feature="fxhash"' --cfg 'feature="gateway"' --cfg 'feature="http"' --cfg 'feature="levenshtein"' --cfg 'feature="mime_guess"' --cfg 'feature="model"' --cfg 'feature="parking_lot"' --cfg 'feature="percent-encoding"' --cfg 'feature="reqwest"' --cfg 'feature="rustls_backend"' --cfg 'feature="standard_framework"' --cfg 'feature="static_assertions"' --cfg 'feature="tokio-tungstenite"' --cfg 'feature="typemap_rev"' --cfg 'feature="utils"' --cfg 'feature="uwl"' -C metadata=2a984937f9e271b9 -C extra-filename=-2a984937f9e271b9 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arrayvec=/opt/rustwide/target/debug/deps/libarrayvec-b5b85dd06233f392.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-adf250ff3c510b15.so --extern base64=/opt/rustwide/target/debug/deps/libbase64-0f59129b8e0dbc2d.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-e2ec6af07d04812b.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-421a06479d7e854b.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-4c3014c5bf8f49f7.rmeta --extern command_attr=/opt/rustwide/target/debug/deps/libcommand_attr-85488c568e0bb958.so --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-5bcfa9425191a71d.rmeta --extern flate2=/opt/rustwide/target/debug/deps/libflate2-2730a7f3d633582f.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-22cd1278b93055bf.rmeta --extern fxhash=/opt/rustwide/target/debug/deps/libfxhash-0270710b1a939452.rmeta --extern http_crate=/opt/rustwide/target/debug/deps/libhttp-347347167b52d7d5.rmeta --extern levenshtein=/opt/rustwide/target/debug/deps/liblevenshtein-fd65b79e4ecb3364.rmeta --extern mime_guess=/opt/rustwide/target/debug/deps/libmime_guess-e9ee465553c47c7b.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-a2eb7ca134ac1183.rmeta --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-1acbb5d5c0c2a0fb.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-f0e834b5b58071b6.rmeta --extern secrecy=/opt/rustwide/target/debug/deps/libsecrecy-6535cc45a271d972.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-c0b16d33a8f006a2.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-bca3224cb5739e73.rmeta --extern static_assertions=/opt/rustwide/target/debug/deps/libstatic_assertions-d7bc6de49fe2dd56.rmeta --extern dep_time=/opt/rustwide/target/debug/deps/libtime-8df5a793bdc3154d.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-502b2ec8c77e6a21.rmeta --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-c8728bb45e7069b7.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-c9f90ce9fb58c720.rmeta --extern typemap_rev=/opt/rustwide/target/debug/deps/libtypemap_rev-3f89c468a6079e6c.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-3d9c94b323ed56ca.rmeta --extern uwl=/opt/rustwide/target/debug/deps/libuwl-633ea588eadd6091.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-15754dff33117d08/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `serenity` (lib) due to 6 previous errors; 73 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/8e5ca945edcf8a11e3cd7ac6d9fda930a8832cde/bin/rustc --crate-name serenity --edition=2024 -Z unstable-options src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="builder"' --cfg 'feature="bytes"' --cfg 'feature="cache"' --cfg 'feature="chrono"' --cfg 'feature="client"' --cfg 'feature="command_attr"' --cfg 'feature="dashmap"' --cfg 'feature="default"' --cfg 'feature="default_no_backend"' --cfg 'feature="flate2"' --cfg 'feature="framework"' --cfg 'feature="fxhash"' --cfg 'feature="gateway"' --cfg 'feature="http"' --cfg 'feature="levenshtein"' --cfg 'feature="mime_guess"' --cfg 'feature="model"' --cfg 'feature="parking_lot"' --cfg 'feature="percent-encoding"' --cfg 'feature="reqwest"' --cfg 'feature="rustls_backend"' --cfg 'feature="standard_framework"' --cfg 'feature="static_assertions"' --cfg 'feature="tokio-tungstenite"' --cfg 'feature="typemap_rev"' --cfg 'feature="utils"' --cfg 'feature="uwl"' -C metadata=9144199df05b97d7 -C extra-filename=-9144199df05b97d7 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern arrayvec=/opt/rustwide/target/debug/deps/libarrayvec-b5b85dd06233f392.rmeta --extern async_trait=/opt/rustwide/target/debug/deps/libasync_trait-adf250ff3c510b15.so --extern base64=/opt/rustwide/target/debug/deps/libbase64-0f59129b8e0dbc2d.rmeta --extern bitflags=/opt/rustwide/target/debug/deps/libbitflags-e2ec6af07d04812b.rmeta --extern bytes=/opt/rustwide/target/debug/deps/libbytes-421a06479d7e854b.rmeta --extern chrono=/opt/rustwide/target/debug/deps/libchrono-4c3014c5bf8f49f7.rmeta --extern command_attr=/opt/rustwide/target/debug/deps/libcommand_attr-85488c568e0bb958.so --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-5bcfa9425191a71d.rmeta --extern flate2=/opt/rustwide/target/debug/deps/libflate2-2730a7f3d633582f.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-22cd1278b93055bf.rmeta --extern fxhash=/opt/rustwide/target/debug/deps/libfxhash-0270710b1a939452.rmeta --extern levenshtein=/opt/rustwide/target/debug/deps/liblevenshtein-fd65b79e4ecb3364.rmeta --extern mime_guess=/opt/rustwide/target/debug/deps/libmime_guess-e9ee465553c47c7b.rmeta --extern parking_lot=/opt/rustwide/target/debug/deps/libparking_lot-a2eb7ca134ac1183.rmeta --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-1acbb5d5c0c2a0fb.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-f0e834b5b58071b6.rmeta --extern secrecy=/opt/rustwide/target/debug/deps/libsecrecy-6535cc45a271d972.rmeta --extern serde=/opt/rustwide/target/debug/deps/libserde-c0b16d33a8f006a2.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-bca3224cb5739e73.rmeta --extern static_assertions=/opt/rustwide/target/debug/deps/libstatic_assertions-d7bc6de49fe2dd56.rmeta --extern dep_time=/opt/rustwide/target/debug/deps/libtime-8df5a793bdc3154d.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-502b2ec8c77e6a21.rmeta --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-c8728bb45e7069b7.rmeta --extern tracing=/opt/rustwide/target/debug/deps/libtracing-c9f90ce9fb58c720.rmeta --extern typemap_rev=/opt/rustwide/target/debug/deps/libtypemap_rev-3f89c468a6079e6c.rmeta --extern url=/opt/rustwide/target/debug/deps/liburl-3d9c94b323ed56ca.rmeta --extern uwl=/opt/rustwide/target/debug/deps/libuwl-633ea588eadd6091.rmeta --cap-lints=forbid -L native=/opt/rustwide/target/debug/build/ring-15754dff33117d08/out` (signal: 9, SIGKILL: kill) [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "cae8eb0dda7f0242da4823d7daf64e3a92e242f0b803237a1e944ef2922d3747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cae8eb0dda7f0242da4823d7daf64e3a92e242f0b803237a1e944ef2922d3747", kill_on_drop: false }` [INFO] [stdout] cae8eb0dda7f0242da4823d7daf64e3a92e242f0b803237a1e944ef2922d3747