[INFO] fetching crate serenity 0.12.0... [INFO] checking serenity-0.12.0 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate serenity 0.12.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate serenity 0.12.0 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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-2-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typesize v0.1.6 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded typesize-derive v0.1.3 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded uwl v0.6.0 [INFO] [stderr] Downloaded tungstenite v0.20.1 [INFO] [stderr] Downloaded command_attr v0.5.1 [INFO] [stderr] Downloaded rustls-webpki v0.101.7 [INFO] [stderr] Downloaded rustls v0.21.10 [INFO] [stderr] Downloaded webpki-roots v0.25.4 [INFO] [stderr] Downloaded hyper-rustls v0.24.2 [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded serde_repr v0.1.18 [INFO] [stderr] Downloaded serenity-voice-model v0.2.0 [INFO] [stderr] Downloaded tokio-rustls v0.24.1 [INFO] [stderr] Downloaded tokio-tungstenite v0.20.1 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded halfbrown v0.2.5 [INFO] [stderr] Downloaded value-trait v0.8.1 [INFO] [stderr] Downloaded simd-json v0.13.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3620b3dc7160c450b490a68b3b99150b989f15fc903ebc1f1712364e3cd3b4ca [INFO] running `Command { std: "docker" "start" "-a" "3620b3dc7160c450b490a68b3b99150b989f15fc903ebc1f1712364e3cd3b4ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3620b3dc7160c450b490a68b3b99150b989f15fc903ebc1f1712364e3cd3b4ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3620b3dc7160c450b490a68b3b99150b989f15fc903ebc1f1712364e3cd3b4ca", kill_on_drop: false }` [INFO] [stdout] 3620b3dc7160c450b490a68b3b99150b989f15fc903ebc1f1712364e3cd3b4ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c646bceedbdbc8d898af731442f7c5cac8299ebcf30198968b66c549561e2f9 [INFO] running `Command { std: "docker" "start" "-a" "3c646bceedbdbc8d898af731442f7c5cac8299ebcf30198968b66c549561e2f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [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 itoa v1.0.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling serenity v0.12.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking flate2 v1.0.28 [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 levenshtein v1.0.5 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling command_attr v0.5.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [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.37.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 deranged v0.3.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking chrono v0.4.37 [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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/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/35936c4839dd272646394779d151e060d0f6b3ac/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: 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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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/35936c4839dd272646394779d151e060d0f6b3ac/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=5e500d3d4f69701d -C extra-filename=-5e500d3d4f69701d --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-98bb234ad247d310.rmeta --extern command_attr=/opt/rustwide/target/debug/deps/libcommand_attr-85488c568e0bb958.so --extern dashmap=/opt/rustwide/target/debug/deps/libdashmap-2291960c6999ec95.rmeta --extern flate2=/opt/rustwide/target/debug/deps/libflate2-2730a7f3d633582f.rmeta --extern futures=/opt/rustwide/target/debug/deps/libfutures-9cc74302b77354fe.rmeta --extern fxhash=/opt/rustwide/target/debug/deps/libfxhash-0270710b1a939452.rmeta --extern http_crate=/opt/rustwide/target/debug/deps/libhttp-12028eb6f57b438e.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-574e3466dc47f42a.rmeta --extern percent_encoding=/opt/rustwide/target/debug/deps/libpercent_encoding-1acbb5d5c0c2a0fb.rmeta --extern reqwest=/opt/rustwide/target/debug/deps/libreqwest-6281058108c9a2a7.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-88d0e41cc52ac07b.rmeta --extern static_assertions=/opt/rustwide/target/debug/deps/libstatic_assertions-d7bc6de49fe2dd56.rmeta --extern dep_time=/opt/rustwide/target/debug/deps/libtime-51f59b1de7811e78.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-2ace3dac6a422734.rmeta --extern tokio_tungstenite=/opt/rustwide/target/debug/deps/libtokio_tungstenite-9d810aa62de40bc5.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" "3c646bceedbdbc8d898af731442f7c5cac8299ebcf30198968b66c549561e2f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c646bceedbdbc8d898af731442f7c5cac8299ebcf30198968b66c549561e2f9", kill_on_drop: false }` [INFO] [stdout] 3c646bceedbdbc8d898af731442f7c5cac8299ebcf30198968b66c549561e2f9