[INFO] fetching crate serenity-additions 0.3.4... [INFO] checking serenity-additions-0.3.4 against try#45b14c26f76a39a9945ef8518d3276f1bc880008 for pr-113242 [INFO] extracting crate serenity-additions 0.3.4 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate serenity-additions 0.3.4 on toolchain 45b14c26f76a39a9945ef8518d3276f1bc880008 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate serenity-additions 0.3.4 [INFO] finished tweaking crates.io crate serenity-additions 0.3.4 [INFO] tweaked toml for crates.io crate serenity-additions 0.3.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "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" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b7b812aca44442c1703e650b0a5d62cdd4f80f5e5684aa40ee9cb0a360e3e59 [INFO] running `Command { std: "docker" "start" "-a" "2b7b812aca44442c1703e650b0a5d62cdd4f80f5e5684aa40ee9cb0a360e3e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b7b812aca44442c1703e650b0a5d62cdd4f80f5e5684aa40ee9cb0a360e3e59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b7b812aca44442c1703e650b0a5d62cdd4f80f5e5684aa40ee9cb0a360e3e59", kill_on_drop: false }` [INFO] [stdout] 2b7b812aca44442c1703e650b0a5d62cdd4f80f5e5684aa40ee9cb0a360e3e59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+45b14c26f76a39a9945ef8518d3276f1bc880008" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1e5abf980a4dc49e1a40ef92684a1c2a39783613c9daab7ce74a16811b870f7 [INFO] running `Command { std: "docker" "start" "-a" "c1e5abf980a4dc49e1a40ef92684a1c2a39783613c9daab7ce74a16811b870f7", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.23 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling serenity v0.11.6 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ordered-float v2.10.0 [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 sha-1 v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking openssl v0.10.55 [INFO] [stderr] Checking futures-util v0.3.28 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking native-tls v0.2.11 [INFO] [stderr] Checking serde v1.0.164 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking serde_json v1.0.99 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking async-tungstenite v0.17.2 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stdout] error[E0659]: `MessageFlags` is ambiguous [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/prelude.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | channel::MessageFlags, [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MessageFlags` could refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] note: `MessageFlags` could also refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use self::message::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MessageFlags` is ambiguous [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/builder/create_message.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::channel::{MessageFlags, MessageReference, ReactionType}; [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MessageFlags` could refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] note: `MessageFlags` could also refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use self::message::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MessageFlags` is ambiguous [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/builder/edit_message.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::channel::{AttachmentType, MessageFlags}; [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MessageFlags` could refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] note: `MessageFlags` could also refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use self::message::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `MessageFlags` is ambiguous [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/builder/execute_webhook.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::channel::MessageFlags; [INFO] [stdout] | ^^^^^^^^^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of multiple glob imports of a name in the same module [INFO] [stdout] note: `MessageFlags` could refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] note: `MessageFlags` could also refer to the struct imported here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub use self::message::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: consider adding an explicit import of `MessageFlags` to disambiguate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `MessageFlags` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/prelude.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | channel::MessageFlags, [INFO] [stdout] | ^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `MessageFlags` is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct import `MessageFlags` which is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/prelude.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | application::interaction::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] note: ...and refers to the struct `MessageFlags` which is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/application/interaction/mod.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / bitflags! { [INFO] [stdout] 297 | | /// The flags for an interaction response message. [INFO] [stdout] 298 | | /// [INFO] [stdout] 299 | | /// [Discord docs](https://discord.com/developers/docs/resources/channel#message-object-message-flags) [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | } [INFO] [stdout] | |_^ consider importing it directly [INFO] [stdout] = note: this error originates in the macro `bitflags::bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `MessageFlags` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/builder/create_message.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::model::channel::{MessageFlags, MessageReference, ReactionType}; [INFO] [stdout] | ^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `MessageFlags` is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct import `MessageFlags` which is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/prelude.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | application::interaction::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] note: ...and refers to the struct `MessageFlags` which is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/application/interaction/mod.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / bitflags! { [INFO] [stdout] 297 | | /// The flags for an interaction response message. [INFO] [stdout] 298 | | /// [INFO] [stdout] 299 | | /// [Discord docs](https://discord.com/developers/docs/resources/channel#message-object-message-flags) [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | } [INFO] [stdout] | |_^ consider importing it directly [INFO] [stdout] = note: this error originates in the macro `bitflags::bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `MessageFlags` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/builder/edit_message.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::model::channel::{AttachmentType, MessageFlags}; [INFO] [stdout] | ^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `MessageFlags` is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct import `MessageFlags` which is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/prelude.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | application::interaction::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] note: ...and refers to the struct `MessageFlags` which is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/application/interaction/mod.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / bitflags! { [INFO] [stdout] 297 | | /// The flags for an interaction response message. [INFO] [stdout] 298 | | /// [INFO] [stdout] 299 | | /// [Discord docs](https://discord.com/developers/docs/resources/channel#message-object-message-flags) [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | } [INFO] [stdout] | |_^ consider importing it directly [INFO] [stdout] = note: this error originates in the macro `bitflags::bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `MessageFlags` is private [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/builder/execute_webhook.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::model::channel::MessageFlags; [INFO] [stdout] | ^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `MessageFlags` is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::model::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct import `MessageFlags` which is defined here... [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/prelude.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | application::interaction::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ consider importing it directly [INFO] [stdout] note: ...and refers to the struct `MessageFlags` which is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/application/interaction/mod.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / bitflags! { [INFO] [stdout] 297 | | /// The flags for an interaction response message. [INFO] [stdout] 298 | | /// [INFO] [stdout] 299 | | /// [Discord docs](https://discord.com/developers/docs/resources/channel#message-object-message-flags) [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | } [INFO] [stdout] | |_^ consider importing it directly [INFO] [stdout] = note: this error originates in the macro `bitflags::bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/cache/event.rs:508:55 [INFO] [stdout] | [INFO] [stdout] 508 | if let Some(x) = flags { message.flags = Some(*x) } [INFO] [stdout] | ---- ^^ expected `MessageFlags`, found `interaction::MessageFlags` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `interaction::MessageFlags` and `MessageFlags` have similar names, but are actually distinct types [INFO] [stdout] note: `interaction::MessageFlags` is defined in module `crate::model::application::interaction` of the current crate [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/application/interaction/mod.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 296 | / bitflags! { [INFO] [stdout] 297 | | /// The flags for an interaction response message. [INFO] [stdout] 298 | | /// [INFO] [stdout] 299 | | /// [Discord docs](https://discord.com/developers/docs/resources/channel#message-object-message-flags) [INFO] [stdout] ... | [INFO] [stdout] 308 | | } [INFO] [stdout] 309 | | } [INFO] [stdout] | |_^ [INFO] [stdout] note: `MessageFlags` is defined in module `crate::model::channel::message` of the current crate [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/model/channel/message.rs:1257:1 [INFO] [stdout] | [INFO] [stdout] 1257 | / bitflags! { [INFO] [stdout] 1258 | | /// Describes extra features of the message. [INFO] [stdout] 1259 | | /// [INFO] [stdout] 1260 | | /// [Discord docs](https://discord.com/developers/docs/resources/channel#message-object-message-flags). [INFO] [stdout] ... | [INFO] [stdout] 1283 | | } [INFO] [stdout] 1284 | | } [INFO] [stdout] | |_^ [INFO] [stdout] help: the type constructed contains `interaction::MessageFlags` due to the type of the argument passed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/serenity-0.11.6/src/cache/event.rs:508:50 [INFO] [stdout] | [INFO] [stdout] 508 | if let Some(x) = flags { message.flags = Some(*x) } [INFO] [stdout] | ^^^^^--^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/45b14c26f76a39a9945ef8518d3276f1bc880008/library/core/src/option.rs:571:5 [INFO] [stdout] = note: this error originates in the macro `bitflags::bitflags` which comes from the expansion of the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0603, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serenity` (lib) due to 10 previous errors [INFO] running `Command { std: "docker" "inspect" "c1e5abf980a4dc49e1a40ef92684a1c2a39783613c9daab7ce74a16811b870f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1e5abf980a4dc49e1a40ef92684a1c2a39783613c9daab7ce74a16811b870f7", kill_on_drop: false }` [INFO] [stdout] c1e5abf980a4dc49e1a40ef92684a1c2a39783613c9daab7ce74a16811b870f7