This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of discord with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 31

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:657:23: warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
657 |     public static let scaled = CacheManager(messages: 10_000, users: true, members: true)
    |                       |- warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'scaled' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 |
659 |     /// Has all caching capabilities enabled and a max message cache size of 1,500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:663:23: warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
663 |     public static let limited = CacheManager(messages: 500, users: false, members: true)
    |                       |- warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'limited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:666:23: warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
666 |     public static let restricted = CacheManager(messages: 100, users: false, members: false)
    |                       |- warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'restricted' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:669:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
669 |     public static let none = CacheManager(messages: 0, users: false, members: false)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
670 |
671 |     /// The amount of messages that are allowed to be cached.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:29:23: warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
 29 |     public static let blurple = Color(value: 0x5865f2)
    |                       |- warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'blurple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:32:23: warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
 32 |     public static let fuchsia = Color(value: 0xeb459e)
    |                       |- warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'fuchsia' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:35:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
 35 |     public static let red = Color(value: 0xfc0303)
    |                       |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:38:23: warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
 38 |     public static let orange = Color(value: 0xff992b)
    |                       |- warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'orange' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:41:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
 41 |     public static let yellow = Color(value: 0xffdc2b)
    |                       |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:44:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
 44 |     public static let green = Color(value: 0x2bff32)
    |                       |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:47:23: warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
 47 |     public static let darkGreen = Color(value: 0x026105)
    |                       |- warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkGreen' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:50:23: warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
 50 |     public static let skyBlue = Color(value: 0x36b1d6)
    |                       |- warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'skyBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:53:23: warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
 53 |     public static let darkBlue = Color(value: 0x1021e3)
    |                       |- warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:56:23: warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
 56 |     public static let purple = Color(value: 0x8f44f2)
    |                       |- warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'purple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:59:23: warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
 59 |     public static let pink = Color(value: 0xfca7f0)
    |                       |- warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'pink' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:62:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
 62 |     public static let black = Color(value: 0x000001)
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:65:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
 65 |     public static let white = Color(value: 0xffffff)
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:68:23: warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
 68 |     public static let gray = Color(value: 0xa6a6a6)
    |                       |- warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'gray' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:71:23: warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
 71 |     public static let darkTheme = Color(value: 0x2f3136)
    |                       |- warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkTheme' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:74:23: warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
 74 |     public static let teal = Color(value: 0x008080)
    |                       |- warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'teal' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// Returns a random `Color`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Emoji.swift:91:16: warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
 89 |     private let guildId: Snowflake
 90 |
 91 |     static let regex = #/<a?:.+?:[0-9]{17,20}>/#
    |                |- warning: static property 'regex' is not concurrency-safe because non-'Sendable' type 'Regex<Substring>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'regex' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 92 |
 93 |     // Hashable
_StringProcessing.Regex:2:15: note: generic struct 'Regex' does not conform to the 'Sendable' protocol
1 | @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
2 | public struct Regex<Output> : RegexComponent {
  |               `- note: generic struct 'Regex' does not conform to the 'Sendable' protocol
3 |     public var regex: Regex<Output> { get }
4 |     @available(iOS 16.0, tvOS 16.0, watchOS 9.0, macOS 13.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:178:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
176 |     /// - `sendVoiceMessages`
177 |     /// - `requestToSpeak`
178 |     public static let `default` = Permissions(enable: [
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |         .viewChannel,
180 |         .createInstantInvite,
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Intents.swift:189:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<Intents>' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents Discords events that are dispatched.
 26 | public enum Intents : Int, CaseIterable {
    |             `- note: consider making enum 'Intents' conform to the 'Sendable' protocol
 27 |
 28 |     /// Enabling this intent allows the following events to be dispatched:
    :
187 |
188 |     /// Enables all intents.
189 |     public static let all = Set<Intents>().union(Intents.allCases)
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'Set<Intents>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 |
191 |     /// All intents enabled except ``dmTyping``, ``guildMessageTyping``, and ``guildPresences``.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Intents.swift:192:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Set<Intents>' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents Discords events that are dispatched.
 26 | public enum Intents : Int, CaseIterable {
    |             `- note: consider making enum 'Intents' conform to the 'Sendable' protocol
 27 |
 28 |     /// Enabling this intent allows the following events to be dispatched:
    :
190 |
191 |     /// All intents enabled except ``dmTyping``, ``guildMessageTyping``, and ``guildPresences``.
192 |     public static let `default` = Intents.all(except: [.dmTyping, .guildMessageTyping, .guildPresences])
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Set<Intents>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 |     /// Disables all intents.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Intents.swift:195:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Set<Intents>' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents Discords events that are dispatched.
 26 | public enum Intents : Int, CaseIterable {
    |             `- note: consider making enum 'Intents' conform to the 'Sendable' protocol
 27 |
 28 |     /// Enabling this intent allows the following events to be dispatched:
    :
193 |
194 |     /// Disables all intents.
195 |     public static let none = Set<Intents>()
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Set<Intents>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |
197 |     /// Enables all intents except the ones specified.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Message.swift:870:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
847 |
848 | /// Represents what mentions are allowed in a message.
849 | public struct AllowedMentions {
    |               `- note: consider making struct 'AllowedMentions' conform to the 'Sendable' protocol
850 |
851 |     /// If users can be mentioned in a message.
    :
868 |
869 |     /// An `AllowedMentions` object with everything enabled.
870 |     public static let all = AllowedMentions(users: true, roles: true, repliedUser: true, everyone: true)
    |                       |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
871 |
872 |     /// An `AllowedMentions` object with only `users` and `repliedUser` enabled.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Message.swift:876:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
847 |
848 | /// Represents what mentions are allowed in a message.
849 | public struct AllowedMentions {
    |               `- note: consider making struct 'AllowedMentions' conform to the 'Sendable' protocol
850 |
851 |     /// If users can be mentioned in a message.
    :
874 |
875 |     /// An `AllowedMentions` object with everything disabled.
876 |     public static let none = AllowedMentions(users: false, roles: false, repliedUser: false, everyone: false)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
877 |
878 |     /// Initializes a new allowed mentions object.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:203:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
201 |
202 |     /// Returns a permissions object with all permissions disabled.
203 |     public static let none = Permissions(permsValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 |     init(permsValue: Int) {
[1806/1818] Compiling Discord Sticker.swift
[1807/1818] Compiling Discord User.swift
[1808/1818] Compiling Discord AutoModeration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:59:23: warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// The global allowed mentions.
 59 |     public static var allowedMentions = AllowedMentions.default
    |                       |- warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowedMentions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowedMentions' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Controls what will/won't be cached.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Channel.swift:207:31: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 205 |                     do { try Task.checkCancellation() }
 206 |                     catch { break }
 207 |                     try await bot!.http.triggerTypingIndicator(channelId: id)
     |                               `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 208 |
 209 |                     // The delay isn't 10s because once it hits the 10s mark, the "is typing"
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:29:23: warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
 29 |     public static let blurple = Color(value: 0x5865f2)
    |                       |- warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'blurple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:32:23: warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
 32 |     public static let fuchsia = Color(value: 0xeb459e)
    |                       |- warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'fuchsia' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:35:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
 35 |     public static let red = Color(value: 0xfc0303)
    |                       |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:38:23: warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
 38 |     public static let orange = Color(value: 0xff992b)
    |                       |- warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'orange' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:41:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
 41 |     public static let yellow = Color(value: 0xffdc2b)
    |                       |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:44:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
 44 |     public static let green = Color(value: 0x2bff32)
    |                       |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:47:23: warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
 47 |     public static let darkGreen = Color(value: 0x026105)
    |                       |- warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkGreen' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:50:23: warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
 50 |     public static let skyBlue = Color(value: 0x36b1d6)
    |                       |- warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'skyBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:53:23: warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
 53 |     public static let darkBlue = Color(value: 0x1021e3)
    |                       |- warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:56:23: warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
 56 |     public static let purple = Color(value: 0x8f44f2)
    |                       |- warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'purple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:59:23: warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
 59 |     public static let pink = Color(value: 0xfca7f0)
    |                       |- warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'pink' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:62:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
 62 |     public static let black = Color(value: 0x000001)
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:65:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
 65 |     public static let white = Color(value: 0xffffff)
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:68:23: warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
 68 |     public static let gray = Color(value: 0xa6a6a6)
    |                       |- warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'gray' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:71:23: warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
 71 |     public static let darkTheme = Color(value: 0x2f3136)
    |                       |- warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkTheme' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:74:23: warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
 74 |     public static let teal = Color(value: 0x008080)
    |                       |- warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'teal' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// Returns a random `Color`.
[1809/1818] Compiling Discord Channel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:59:23: warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// The global allowed mentions.
 59 |     public static var allowedMentions = AllowedMentions.default
    |                       |- warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowedMentions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowedMentions' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Controls what will/won't be cached.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Channel.swift:207:31: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 205 |                     do { try Task.checkCancellation() }
 206 |                     catch { break }
 207 |                     try await bot!.http.triggerTypingIndicator(channelId: id)
     |                               `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 208 |
 209 |                     // The delay isn't 10s because once it hits the 10s mark, the "is typing"
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:29:23: warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
 29 |     public static let blurple = Color(value: 0x5865f2)
    |                       |- warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'blurple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:32:23: warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
 32 |     public static let fuchsia = Color(value: 0xeb459e)
    |                       |- warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'fuchsia' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:35:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
 35 |     public static let red = Color(value: 0xfc0303)
    |                       |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:38:23: warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
 38 |     public static let orange = Color(value: 0xff992b)
    |                       |- warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'orange' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:41:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
 41 |     public static let yellow = Color(value: 0xffdc2b)
    |                       |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:44:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
 44 |     public static let green = Color(value: 0x2bff32)
    |                       |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:47:23: warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
 47 |     public static let darkGreen = Color(value: 0x026105)
    |                       |- warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkGreen' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:50:23: warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
 50 |     public static let skyBlue = Color(value: 0x36b1d6)
    |                       |- warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'skyBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:53:23: warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
 53 |     public static let darkBlue = Color(value: 0x1021e3)
    |                       |- warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:56:23: warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
 56 |     public static let purple = Color(value: 0x8f44f2)
    |                       |- warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'purple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:59:23: warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
 59 |     public static let pink = Color(value: 0xfca7f0)
    |                       |- warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'pink' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:62:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
 62 |     public static let black = Color(value: 0x000001)
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:65:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
 65 |     public static let white = Color(value: 0xffffff)
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:68:23: warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
 68 |     public static let gray = Color(value: 0xa6a6a6)
    |                       |- warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'gray' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:71:23: warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
 71 |     public static let darkTheme = Color(value: 0x2f3136)
    |                       |- warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkTheme' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:74:23: warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
 74 |     public static let teal = Color(value: 0x008080)
    |                       |- warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'teal' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// Returns a random `Color`.
[1810/1818] Compiling Discord Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:59:23: warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// The global allowed mentions.
 59 |     public static var allowedMentions = AllowedMentions.default
    |                       |- warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowedMentions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowedMentions' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Controls what will/won't be cached.
<unknown>:0: note: consider making generic parameter 'Self' conform to the 'Sendable' protocol
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Channel.swift:207:31: warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 205 |                     do { try Task.checkCancellation() }
 206 |                     catch { break }
 207 |                     try await bot!.http.triggerTypingIndicator(channelId: id)
     |                               `- warning: capture of 'self' with non-sendable type 'Self' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 208 |
 209 |                     // The delay isn't 10s because once it hits the 10s mark, the "is typing"
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:29:23: warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
 29 |     public static let blurple = Color(value: 0x5865f2)
    |                       |- warning: static property 'blurple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'blurple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:32:23: warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 30 |
 31 |     /// Returns a `Color` with its value set to `0xeb459e`.
 32 |     public static let fuchsia = Color(value: 0xeb459e)
    |                       |- warning: static property 'fuchsia' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'fuchsia' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:35:23: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 33 |
 34 |     /// Returns a `Color` with its value set to `0xfc0303`.
 35 |     public static let red = Color(value: 0xfc0303)
    |                       |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'red' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:38:23: warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 36 |
 37 |     /// Returns a `Color` with its value set to `0xff992b`.
 38 |     public static let orange = Color(value: 0xff992b)
    |                       |- warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'orange' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:41:23: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 39 |
 40 |     /// Returns a `Color` with its value set to `0xffdc2b`.
 41 |     public static let yellow = Color(value: 0xffdc2b)
    |                       |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'yellow' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:44:23: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 42 |
 43 |     /// Returns a `Color` with its value set to `0x2bff32`.
 44 |     public static let green = Color(value: 0x2bff32)
    |                       |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'green' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:47:23: warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 45 |
 46 |     /// Returns a `Color` with its value set to `0x026105`.
 47 |     public static let darkGreen = Color(value: 0x026105)
    |                       |- warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkGreen' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:50:23: warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 48 |
 49 |     /// Returns a `Color` with its value set to `0x36b1d6`.
 50 |     public static let skyBlue = Color(value: 0x36b1d6)
    |                       |- warning: static property 'skyBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'skyBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:53:23: warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 51 |
 52 |     /// Returns a `Color` with its value set to `0x1021e3`.
 53 |     public static let darkBlue = Color(value: 0x1021e3)
    |                       |- warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkBlue' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:56:23: warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 54 |
 55 |     /// Returns a `Color` with its value set to `0x8f44f2`.
 56 |     public static let purple = Color(value: 0x8f44f2)
    |                       |- warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'purple' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:59:23: warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 57 |
 58 |     /// Returns a `Color` with its value set to `0xfca7f0`.
 59 |     public static let pink = Color(value: 0xfca7f0)
    |                       |- warning: static property 'pink' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'pink' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:62:23: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 60 |
 61 |     /// Returns a `Color` with its value set to `0x000001`.
 62 |     public static let black = Color(value: 0x000001)
    |                       |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'black' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:65:23: warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 63 |
 64 |     /// Returns a `Color` with its value set to `0xffffff`.
 65 |     public static let white = Color(value: 0xffffff)
    |                       |- warning: static property 'white' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'white' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:68:23: warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 66 |
 67 |     /// Returns a `Color` with its value set to `0xa6a6a6`.
 68 |     public static let gray = Color(value: 0xa6a6a6)
    |                       |- warning: static property 'gray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'gray' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:71:23: warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 69 |
 70 |     /// Returns a `Color` with its value set to `0x2f3136`.
 71 |     public static let darkTheme = Color(value: 0x2f3136)
    |                       |- warning: static property 'darkTheme' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'darkTheme' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Color.swift:74:23: warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
 24 |
 25 | /// Represents a color on Discord.
 26 | public struct Color : Hashable {
    |               `- note: consider making struct 'Color' conform to the 'Sendable' protocol
 27 |
 28 |     /// Returns a `Color` with its value set to `0x5865f2`.
    :
 72 |
 73 |     /// Returns a `Color` with its value set to `0x008080`.
 74 |     public static let teal = Color(value: 0x008080)
    |                       |- warning: static property 'teal' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'teal' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 75 |
 76 |     /// Returns a random `Color`.
[1811/1818] Compiling Discord Permissions.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:178:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
176 |     /// - `sendVoiceMessages`
177 |     /// - `requestToSpeak`
178 |     public static let `default` = Permissions(enable: [
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |         .viewChannel,
180 |         .createInstantInvite,
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:203:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
201 |
202 |     /// Returns a permissions object with all permissions disabled.
203 |     public static let none = Permissions(permsValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 |     init(permsValue: Int) {
[1812/1818] Compiling Discord Role.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:178:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
176 |     /// - `sendVoiceMessages`
177 |     /// - `requestToSpeak`
178 |     public static let `default` = Permissions(enable: [
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |         .viewChannel,
180 |         .createInstantInvite,
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:203:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
201 |
202 |     /// Returns a permissions object with all permissions disabled.
203 |     public static let none = Permissions(permsValue: 0)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 |
205 |     init(permsValue: Int) {
[1813/1818] Compiling Discord Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:85:26: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 83 |         let urlsWithExt = urls.filter({ $0.pathExtension != .empty })
 84 |
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
    |                          `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:85:69: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 83 |         let urlsWithExt = urls.filter({ $0.pathExtension != .empty })
 84 |
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
    |                                                                     `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:87:29: warning: initializer 'init' is unavailable from asynchronous contexts; This initialiser cannot be used in async contexts, use Application.make(_:_:) instead; this is an error in the Swift 6 language mode
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
    |                             `- warning: initializer 'init' is unavailable from asynchronous contexts; This initialiser cannot be used in async contexts, use Application.make(_:_:) instead; this is an error in the Swift 6 language mode
 88 |
 89 |             // Vapor complains if the `Application` isn't
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:94:23: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 92 |
 93 |             for (n, url) in urlsWithExt.enumerated() {
 94 |                 group.addTask {
    |                       `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 95 |                     let resp = try await app.client.get(URI(string: url.absoluteString))
 96 |                     let data = Data(buffer: resp.body!)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:178:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
176 |     /// - `sendVoiceMessages`
177 |     /// - `requestToSpeak`
178 |     public static let `default` = Permissions(enable: [
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |         .viewChannel,
180 |         .createInstantInvite,
[1814/1818] Compiling Discord File.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:85:26: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 83 |         let urlsWithExt = urls.filter({ $0.pathExtension != .empty })
 84 |
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
    |                          `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:85:69: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 83 |         let urlsWithExt = urls.filter({ $0.pathExtension != .empty })
 84 |
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
    |                                                                     `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:87:29: warning: initializer 'init' is unavailable from asynchronous contexts; This initialiser cannot be used in async contexts, use Application.make(_:_:) instead; this is an error in the Swift 6 language mode
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
    |                             `- warning: initializer 'init' is unavailable from asynchronous contexts; This initialiser cannot be used in async contexts, use Application.make(_:_:) instead; this is an error in the Swift 6 language mode
 88 |
 89 |             // Vapor complains if the `Application` isn't
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:94:23: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 92 |
 93 |             for (n, url) in urlsWithExt.enumerated() {
 94 |                 group.addTask {
    |                       `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 95 |                     let resp = try await app.client.get(URI(string: url.absoluteString))
 96 |                     let data = Data(buffer: resp.body!)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:178:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
176 |     /// - `sendVoiceMessages`
177 |     /// - `requestToSpeak`
178 |     public static let `default` = Permissions(enable: [
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |         .viewChannel,
180 |         .createInstantInvite,
[1815/1818] Compiling Discord Guild.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:85:26: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 83 |         let urlsWithExt = urls.filter({ $0.pathExtension != .empty })
 84 |
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
    |                          `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:85:69: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 83 |         let urlsWithExt = urls.filter({ $0.pathExtension != .empty })
 84 |
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
    |                                                                     `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:87:29: warning: initializer 'init' is unavailable from asynchronous contexts; This initialiser cannot be used in async contexts, use Application.make(_:_:) instead; this is an error in the Swift 6 language mode
 85 |         return try await withThrowingTaskGroup(of: File.self, body: { group -> [File] in
 86 |             var files = [File]()
 87 |             let app = Vapor.Application()
    |                             `- warning: initializer 'init' is unavailable from asynchronous contexts; This initialiser cannot be used in async contexts, use Application.make(_:_:) instead; this is an error in the Swift 6 language mode
 88 |
 89 |             // Vapor complains if the `Application` isn't
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/File.swift:94:23: warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a file to upload to Discord.
 29 | public struct File {
    |               `- note: consider making struct 'File' conform to the 'Sendable' protocol
 30 |
 31 |     /// The absolute path of the file.
    :
 92 |
 93 |             for (n, url) in urlsWithExt.enumerated() {
 94 |                 group.addTask {
    |                       `- warning: type 'File' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 95 |                     let resp = try await app.client.get(URI(string: url.absoluteString))
 96 |                     let data = Data(buffer: resp.body!)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Permissions.swift:178:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
141 |
142 | /// Represents the permissions for a channel, user, or guild.
143 | public class Permissions {
    |              `- note: class 'Permissions' does not conform to the 'Sendable' protocol
144 |
145 |     /// The bitset value for the permissions that are enabled/disabled.
    :
176 |     /// - `sendVoiceMessages`
177 |     /// - `requestToSpeak`
178 |     public static let `default` = Permissions(enable: [
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Permissions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |         .viewChannel,
180 |         .createInstantInvite,
[1816/1818] Compiling Discord Discord.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:59:23: warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// The global allowed mentions.
 59 |     public static var allowedMentions = AllowedMentions.default
    |                       |- warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowedMentions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowedMentions' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Controls what will/won't be cached.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Message.swift:873:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
847 |
848 | /// Represents what mentions are allowed in a message.
849 | public struct AllowedMentions {
    |               `- note: consider making struct 'AllowedMentions' conform to the 'Sendable' protocol
850 |
851 |     /// If users can be mentioned in a message.
    :
871 |
872 |     /// An `AllowedMentions` object with only `users` and `repliedUser` enabled.
873 |     public static let `default` = AllowedMentions(users: true, roles: false, repliedUser: true, everyone: false)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
874 |
875 |     /// An `AllowedMentions` object with everything disabled.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:660:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
658 |
659 |     /// Has all caching capabilities enabled and a max message cache size of 1,500.
660 |     public static let `default` = CacheManager(messages: 1500, users: true, members: true)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:657:23: warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
657 |     public static let scaled = CacheManager(messages: 10_000, users: true, members: true)
    |                       |- warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'scaled' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 |
659 |     /// Has all caching capabilities enabled and a max message cache size of 1,500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:663:23: warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
663 |     public static let limited = CacheManager(messages: 500, users: false, members: true)
    |                       |- warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'limited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:666:23: warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
666 |     public static let restricted = CacheManager(messages: 100, users: false, members: false)
    |                       |- warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'restricted' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:669:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
669 |     public static let none = CacheManager(messages: 0, users: false, members: false)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
670 |
671 |     /// The amount of messages that are allowed to be cached.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:351:28: warning: capture of 'self' with non-sendable type 'Bot' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a Discord bot.
 29 | public class Bot {
    |              `- note: class 'Bot' does not conform to the 'Sendable' protocol
 30 |
 31 |     /// Version of the library.
    :
349 |         if !isConnected {
350 |             try! loop.makeFutureWithTask {
351 |                 try! await self.gw.startNewSession()
    |                            `- warning: capture of 'self' with non-sendable type 'Bot' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 |             }.wait()
353 |             if let onceExecute {
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:354:30: warning: capture of 'onceExecute' with non-sendable type '() async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 |             }.wait()
353 |             if let onceExecute {
354 |                 Task { await onceExecute() }
    |                              |- warning: capture of 'onceExecute' with non-sendable type '() async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
355 |                 self.onceExecute = nil
356 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:198:17: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 196 |             on: elg,
 197 |             onUpgrade: { socket in
 198 |                 self.websocketSetup(websocket: socket)
     |                 `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 199 |                 Log.message("[Reconnect] connection successful - sending RESUME payload...")
 200 |                 self.sendFrame(resumePayload)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:200:32: warning: capture of 'resumePayload' with non-sendable type 'JSON' (aka 'Dictionary<String, Any>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 198 |                 self.websocketSetup(websocket: socket)
 199 |                 Log.message("[Reconnect] connection successful - sending RESUME payload...")
 200 |                 self.sendFrame(resumePayload)
     |                                `- warning: capture of 'resumePayload' with non-sendable type 'JSON' (aka 'Dictionary<String, Any>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 201 |             }
 202 |         ).get()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:210:45: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 208 |         receive()
 209 |         connectionOpen = true
 210 |         ws.onClose.whenComplete { _ in try! self.websocketClosed() }
     |                                             `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 211 |     }
 212 |
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:218:13: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 216 |         heartbeatTask?.cancel()
 217 |         heartbeatTask = loop.scheduleRepeatedTask(initialDelay: .seconds(10), delay: .milliseconds(Int64(heartbeatInterval)), { _ in
 218 |             self.sendHeartbeat()
     |             `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 219 |         })
 220 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:236:16: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 234 |             guard let _ = try? Task.checkCancellation() else { return }
 235 |             // There's a chance the connection could be closed mid sleep, so only execute if it's open
 236 |             if self.connectionOpen {
     |                `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 237 |                 Log.message("client did not receive HEARTBEAT ACK after a heartbeat was sent - reconnecting...")
 238 |                 self.newConnection(type: .reconnect)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:263:23: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 261 |             switch type {
 262 |             case .reconnect:
 263 |                 await self.reconnect()
     |                       `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 264 |             case .session:
 265 |                 try! await self.startNewSession()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:300:17: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 298 |             on: elg,
 299 |             onUpgrade: { socket in
 300 |                 self.websocketSetup(websocket: socket)
     |                 `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 301 |                 Log.message("gateway connection established - receiver & onClose set")
 302 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:375:21: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 373 |     private func receive() {
 374 |         ws.onText { [unowned self] (_, message) in
 375 |             defer { receive() }
     |                     `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 376 |
 377 |             let resumePayload = HTTPClient.strJsonToDict(message)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:375:21: warning: capture of 'self' with non-sendable type 'Gateway' in an isolated local function; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 373 |     private func receive() {
 374 |         ws.onText { [unowned self] (_, message) in
 375 |             defer { receive() }
     |                     `- warning: capture of 'self' with non-sendable type 'Gateway' in an isolated local function; this is an error in the Swift 6 language mode
 376 |
 377 |             let resumePayload = HTTPClient.strJsonToDict(message)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:31: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                               `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:56: warning: capture of 'event' with non-sendable type 'GatewayEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                                                        `- warning: capture of 'event' with non-sendable type 'GatewayEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
     :
1210 |
1211 | /// Represents the events that are dispatched by Discord.
1212 | public enum GatewayEvent : String, CaseIterable {
     |             `- note: consider making enum 'GatewayEvent' conform to the 'Sendable' protocol
1213 |
1214 |     /// Dispatched when a client has completed the initial handshake with the gateway.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:69: warning: capture of 'gatewayPayload' with non-sendable type 'GatewayPayload' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | fileprivate struct GatewayPayload {
     |                    `- note: consider making struct 'GatewayPayload' conform to the 'Sendable' protocol
  49 |
  50 |     /// Opcode for the payload.
     :
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                                                                     `- warning: capture of 'gatewayPayload' with non-sendable type 'GatewayPayload' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:915:26: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 913 |             let interaction = Interaction(bot: bot, interactionData: data)
 914 |             dispatch({ await $0.onInteractionCreate(interaction: interaction) })
 915 |             Task { await handleInteractions(interaction: interaction) }
     |                          `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 916 |
 917 |         case .inviteCreate:
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:915:58: warning: capture of 'interaction' with non-sendable type 'Interaction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 913 |             let interaction = Interaction(bot: bot, interactionData: data)
 914 |             dispatch({ await $0.onInteractionCreate(interaction: interaction) })
 915 |             Task { await handleInteractions(interaction: interaction) }
     |                                                          `- warning: capture of 'interaction' with non-sendable type 'Interaction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 916 |
 917 |         case .inviteCreate:
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Interactions.swift:585:14: note: class 'Interaction' does not conform to the 'Sendable' protocol
 583 |
 584 | /// Represents a Discord interaction.
 585 | public class Interaction {
     |              `- note: class 'Interaction' does not conform to the 'Sendable' protocol
 586 |
 587 |     /// ID of the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:1417:26: warning: capture of 'operation' with non-sendable type '(EventListener) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1415 |         for element in self {
1416 |             guard element.isEnabled else { continue }
1417 |             Task { await operation(element) }
     |                          |- warning: capture of 'operation' with non-sendable type '(EventListener) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1418 |         }
1419 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:1417:36: warning: capture of 'element' with non-sendable type 'EventListener' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1415 |         for element in self {
1416 |             guard element.isEnabled else { continue }
1417 |             Task { await operation(element) }
     |                                    `- warning: capture of 'element' with non-sendable type 'EventListener' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1418 |         }
1419 |     }
     :
1421 |
1422 | /// Represents a group of events your bot can listen for.
1423 | open class EventListener {
     |            `- note: class 'EventListener' does not conform to the 'Sendable' protocol
1424 |
1425 |     /// Name of the event listener.
[1817/1818] Compiling Discord Gateway.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:59:23: warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// The global allowed mentions.
 59 |     public static var allowedMentions = AllowedMentions.default
    |                       |- warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowedMentions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowedMentions' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Controls what will/won't be cached.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Message.swift:873:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
847 |
848 | /// Represents what mentions are allowed in a message.
849 | public struct AllowedMentions {
    |               `- note: consider making struct 'AllowedMentions' conform to the 'Sendable' protocol
850 |
851 |     /// If users can be mentioned in a message.
    :
871 |
872 |     /// An `AllowedMentions` object with only `users` and `repliedUser` enabled.
873 |     public static let `default` = AllowedMentions(users: true, roles: false, repliedUser: true, everyone: false)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
874 |
875 |     /// An `AllowedMentions` object with everything disabled.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:660:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
658 |
659 |     /// Has all caching capabilities enabled and a max message cache size of 1,500.
660 |     public static let `default` = CacheManager(messages: 1500, users: true, members: true)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:657:23: warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
657 |     public static let scaled = CacheManager(messages: 10_000, users: true, members: true)
    |                       |- warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'scaled' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 |
659 |     /// Has all caching capabilities enabled and a max message cache size of 1,500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:663:23: warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
663 |     public static let limited = CacheManager(messages: 500, users: false, members: true)
    |                       |- warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'limited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:666:23: warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
666 |     public static let restricted = CacheManager(messages: 100, users: false, members: false)
    |                       |- warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'restricted' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:669:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
669 |     public static let none = CacheManager(messages: 0, users: false, members: false)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
670 |
671 |     /// The amount of messages that are allowed to be cached.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:351:28: warning: capture of 'self' with non-sendable type 'Bot' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a Discord bot.
 29 | public class Bot {
    |              `- note: class 'Bot' does not conform to the 'Sendable' protocol
 30 |
 31 |     /// Version of the library.
    :
349 |         if !isConnected {
350 |             try! loop.makeFutureWithTask {
351 |                 try! await self.gw.startNewSession()
    |                            `- warning: capture of 'self' with non-sendable type 'Bot' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 |             }.wait()
353 |             if let onceExecute {
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:354:30: warning: capture of 'onceExecute' with non-sendable type '() async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 |             }.wait()
353 |             if let onceExecute {
354 |                 Task { await onceExecute() }
    |                              |- warning: capture of 'onceExecute' with non-sendable type '() async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
355 |                 self.onceExecute = nil
356 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:198:17: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 196 |             on: elg,
 197 |             onUpgrade: { socket in
 198 |                 self.websocketSetup(websocket: socket)
     |                 `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 199 |                 Log.message("[Reconnect] connection successful - sending RESUME payload...")
 200 |                 self.sendFrame(resumePayload)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:200:32: warning: capture of 'resumePayload' with non-sendable type 'JSON' (aka 'Dictionary<String, Any>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 198 |                 self.websocketSetup(websocket: socket)
 199 |                 Log.message("[Reconnect] connection successful - sending RESUME payload...")
 200 |                 self.sendFrame(resumePayload)
     |                                `- warning: capture of 'resumePayload' with non-sendable type 'JSON' (aka 'Dictionary<String, Any>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 201 |             }
 202 |         ).get()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:210:45: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 208 |         receive()
 209 |         connectionOpen = true
 210 |         ws.onClose.whenComplete { _ in try! self.websocketClosed() }
     |                                             `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 211 |     }
 212 |
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:218:13: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 216 |         heartbeatTask?.cancel()
 217 |         heartbeatTask = loop.scheduleRepeatedTask(initialDelay: .seconds(10), delay: .milliseconds(Int64(heartbeatInterval)), { _ in
 218 |             self.sendHeartbeat()
     |             `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 219 |         })
 220 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:236:16: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 234 |             guard let _ = try? Task.checkCancellation() else { return }
 235 |             // There's a chance the connection could be closed mid sleep, so only execute if it's open
 236 |             if self.connectionOpen {
     |                `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 237 |                 Log.message("client did not receive HEARTBEAT ACK after a heartbeat was sent - reconnecting...")
 238 |                 self.newConnection(type: .reconnect)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:263:23: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 261 |             switch type {
 262 |             case .reconnect:
 263 |                 await self.reconnect()
     |                       `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 264 |             case .session:
 265 |                 try! await self.startNewSession()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:300:17: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 298 |             on: elg,
 299 |             onUpgrade: { socket in
 300 |                 self.websocketSetup(websocket: socket)
     |                 `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 301 |                 Log.message("gateway connection established - receiver & onClose set")
 302 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:375:21: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 373 |     private func receive() {
 374 |         ws.onText { [unowned self] (_, message) in
 375 |             defer { receive() }
     |                     `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 376 |
 377 |             let resumePayload = HTTPClient.strJsonToDict(message)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:375:21: warning: capture of 'self' with non-sendable type 'Gateway' in an isolated local function; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 373 |     private func receive() {
 374 |         ws.onText { [unowned self] (_, message) in
 375 |             defer { receive() }
     |                     `- warning: capture of 'self' with non-sendable type 'Gateway' in an isolated local function; this is an error in the Swift 6 language mode
 376 |
 377 |             let resumePayload = HTTPClient.strJsonToDict(message)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:31: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                               `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:56: warning: capture of 'event' with non-sendable type 'GatewayEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                                                        `- warning: capture of 'event' with non-sendable type 'GatewayEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
     :
1210 |
1211 | /// Represents the events that are dispatched by Discord.
1212 | public enum GatewayEvent : String, CaseIterable {
     |             `- note: consider making enum 'GatewayEvent' conform to the 'Sendable' protocol
1213 |
1214 |     /// Dispatched when a client has completed the initial handshake with the gateway.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:69: warning: capture of 'gatewayPayload' with non-sendable type 'GatewayPayload' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | fileprivate struct GatewayPayload {
     |                    `- note: consider making struct 'GatewayPayload' conform to the 'Sendable' protocol
  49 |
  50 |     /// Opcode for the payload.
     :
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                                                                     `- warning: capture of 'gatewayPayload' with non-sendable type 'GatewayPayload' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:915:26: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 913 |             let interaction = Interaction(bot: bot, interactionData: data)
 914 |             dispatch({ await $0.onInteractionCreate(interaction: interaction) })
 915 |             Task { await handleInteractions(interaction: interaction) }
     |                          `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 916 |
 917 |         case .inviteCreate:
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:915:58: warning: capture of 'interaction' with non-sendable type 'Interaction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 913 |             let interaction = Interaction(bot: bot, interactionData: data)
 914 |             dispatch({ await $0.onInteractionCreate(interaction: interaction) })
 915 |             Task { await handleInteractions(interaction: interaction) }
     |                                                          `- warning: capture of 'interaction' with non-sendable type 'Interaction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 916 |
 917 |         case .inviteCreate:
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Interactions.swift:585:14: note: class 'Interaction' does not conform to the 'Sendable' protocol
 583 |
 584 | /// Represents a Discord interaction.
 585 | public class Interaction {
     |              `- note: class 'Interaction' does not conform to the 'Sendable' protocol
 586 |
 587 |     /// ID of the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:1417:26: warning: capture of 'operation' with non-sendable type '(EventListener) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1415 |         for element in self {
1416 |             guard element.isEnabled else { continue }
1417 |             Task { await operation(element) }
     |                          |- warning: capture of 'operation' with non-sendable type '(EventListener) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1418 |         }
1419 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:1417:36: warning: capture of 'element' with non-sendable type 'EventListener' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1415 |         for element in self {
1416 |             guard element.isEnabled else { continue }
1417 |             Task { await operation(element) }
     |                                    `- warning: capture of 'element' with non-sendable type 'EventListener' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1418 |         }
1419 |     }
     :
1421 |
1422 | /// Represents a group of events your bot can listen for.
1423 | open class EventListener {
     |            `- note: class 'EventListener' does not conform to the 'Sendable' protocol
1424 |
1425 |     /// Name of the event listener.
[1818/1818] Compiling Discord Http.swift
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:59:23: warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 57 |
 58 |     /// The global allowed mentions.
 59 |     public static var allowedMentions = AllowedMentions.default
    |                       |- warning: static property 'allowedMentions' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allowedMentions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'allowedMentions' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |
 61 |     /// Controls what will/won't be cached.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Message.swift:873:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
847 |
848 | /// Represents what mentions are allowed in a message.
849 | public struct AllowedMentions {
    |               `- note: consider making struct 'AllowedMentions' conform to the 'Sendable' protocol
850 |
851 |     /// If users can be mentioned in a message.
    :
871 |
872 |     /// An `AllowedMentions` object with only `users` and `repliedUser` enabled.
873 |     public static let `default` = AllowedMentions(users: true, roles: false, repliedUser: true, everyone: false)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AllowedMentions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
874 |
875 |     /// An `AllowedMentions` object with everything disabled.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:660:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
658 |
659 |     /// Has all caching capabilities enabled and a max message cache size of 1,500.
660 |     public static let `default` = CacheManager(messages: 1500, users: true, members: true)
    |                       |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:657:23: warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
657 |     public static let scaled = CacheManager(messages: 10_000, users: true, members: true)
    |                       |- warning: static property 'scaled' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'scaled' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
658 |
659 |     /// Has all caching capabilities enabled and a max message cache size of 1,500.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:663:23: warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
661 |
662 |     /// Has `users` caching capabilities disabled and a max message cache size of 500.
663 |     public static let limited = CacheManager(messages: 500, users: false, members: true)
    |                       |- warning: static property 'limited' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'limited' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:666:23: warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
664 |
665 |     /// Has all caching capabilities disabled and a max message cache size of 100.
666 |     public static let restricted = CacheManager(messages: 100, users: false, members: false)
    |                       |- warning: static property 'restricted' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'restricted' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:669:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
652 |
653 | /// Represents what the bot is permitted to cache.
654 | public struct CacheManager {
    |               `- note: consider making struct 'CacheManager' conform to the 'Sendable' protocol
655 |
656 |     /// Has all caching capabilities enabled and a max message cache size of 10,000.
    :
667 |
668 |     /// Has all caching capabilities disabled and a max message cache size of 0.
669 |     public static let none = CacheManager(messages: 0, users: false, members: false)
    |                       |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'CacheManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
670 |
671 |     /// The amount of messages that are allowed to be cached.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:351:28: warning: capture of 'self' with non-sendable type 'Bot' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 27 |
 28 | /// Represents a Discord bot.
 29 | public class Bot {
    |              `- note: class 'Bot' does not conform to the 'Sendable' protocol
 30 |
 31 |     /// Version of the library.
    :
349 |         if !isConnected {
350 |             try! loop.makeFutureWithTask {
351 |                 try! await self.gw.startNewSession()
    |                            `- warning: capture of 'self' with non-sendable type 'Bot' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 |             }.wait()
353 |             if let onceExecute {
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Discord.swift:354:30: warning: capture of 'onceExecute' with non-sendable type '() async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
352 |             }.wait()
353 |             if let onceExecute {
354 |                 Task { await onceExecute() }
    |                              |- warning: capture of 'onceExecute' with non-sendable type '() async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
355 |                 self.onceExecute = nil
356 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:198:17: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 196 |             on: elg,
 197 |             onUpgrade: { socket in
 198 |                 self.websocketSetup(websocket: socket)
     |                 `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 199 |                 Log.message("[Reconnect] connection successful - sending RESUME payload...")
 200 |                 self.sendFrame(resumePayload)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:200:32: warning: capture of 'resumePayload' with non-sendable type 'JSON' (aka 'Dictionary<String, Any>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 198 |                 self.websocketSetup(websocket: socket)
 199 |                 Log.message("[Reconnect] connection successful - sending RESUME payload...")
 200 |                 self.sendFrame(resumePayload)
     |                                `- warning: capture of 'resumePayload' with non-sendable type 'JSON' (aka 'Dictionary<String, Any>') in a `@Sendable` closure; this is an error in the Swift 6 language mode
 201 |             }
 202 |         ).get()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:210:45: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 208 |         receive()
 209 |         connectionOpen = true
 210 |         ws.onClose.whenComplete { _ in try! self.websocketClosed() }
     |                                             `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 211 |     }
 212 |
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:218:13: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 216 |         heartbeatTask?.cancel()
 217 |         heartbeatTask = loop.scheduleRepeatedTask(initialDelay: .seconds(10), delay: .milliseconds(Int64(heartbeatInterval)), { _ in
 218 |             self.sendHeartbeat()
     |             `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 219 |         })
 220 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:236:16: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 234 |             guard let _ = try? Task.checkCancellation() else { return }
 235 |             // There's a chance the connection could be closed mid sleep, so only execute if it's open
 236 |             if self.connectionOpen {
     |                `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 237 |                 Log.message("client did not receive HEARTBEAT ACK after a heartbeat was sent - reconnecting...")
 238 |                 self.newConnection(type: .reconnect)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:263:23: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 261 |             switch type {
 262 |             case .reconnect:
 263 |                 await self.reconnect()
     |                       `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 264 |             case .session:
 265 |                 try! await self.startNewSession()
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:300:17: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 298 |             on: elg,
 299 |             onUpgrade: { socket in
 300 |                 self.websocketSetup(websocket: socket)
     |                 `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 301 |                 Log.message("gateway connection established - receiver & onClose set")
 302 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:375:21: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 373 |     private func receive() {
 374 |         ws.onText { [unowned self] (_, message) in
 375 |             defer { receive() }
     |                     `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 376 |
 377 |             let resumePayload = HTTPClient.strJsonToDict(message)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:375:21: warning: capture of 'self' with non-sendable type 'Gateway' in an isolated local function; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 373 |     private func receive() {
 374 |         ws.onText { [unowned self] (_, message) in
 375 |             defer { receive() }
     |                     `- warning: capture of 'self' with non-sendable type 'Gateway' in an isolated local function; this is an error in the Swift 6 language mode
 376 |
 377 |             let resumePayload = HTTPClient.strJsonToDict(message)
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:31: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                               `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:56: warning: capture of 'event' with non-sendable type 'GatewayEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                                                        `- warning: capture of 'event' with non-sendable type 'GatewayEvent' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
     :
1210 |
1211 | /// Represents the events that are dispatched by Discord.
1212 | public enum GatewayEvent : String, CaseIterable {
     |             `- note: consider making enum 'GatewayEvent' conform to the 'Sendable' protocol
1213 |
1214 |     /// Dispatched when a client has completed the initial handshake with the gateway.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:395:69: warning: capture of 'gatewayPayload' with non-sendable type 'GatewayPayload' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  46 | }
  47 |
  48 | fileprivate struct GatewayPayload {
     |                    `- note: consider making struct 'GatewayPayload' conform to the 'Sendable' protocol
  49 |
  50 |     /// Opcode for the payload.
     :
 393 |                     else { wsResume?.sequence = gatewayPayload.s! }
 394 |                     Task {
 395 |                         await dispatchAndUpdate(event: event, data: gatewayPayload.d!)
     |                                                                     `- warning: capture of 'gatewayPayload' with non-sendable type 'GatewayPayload' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 396 |                     }
 397 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:915:26: warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 143 | }
 144 |
 145 | class Gateway {
     |       `- note: class 'Gateway' does not conform to the 'Sendable' protocol
 146 |
 147 |     var ws: WebSocket!
     :
 913 |             let interaction = Interaction(bot: bot, interactionData: data)
 914 |             dispatch({ await $0.onInteractionCreate(interaction: interaction) })
 915 |             Task { await handleInteractions(interaction: interaction) }
     |                          `- warning: capture of 'self' with non-sendable type 'Gateway' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 916 |
 917 |         case .inviteCreate:
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:915:58: warning: capture of 'interaction' with non-sendable type 'Interaction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 913 |             let interaction = Interaction(bot: bot, interactionData: data)
 914 |             dispatch({ await $0.onInteractionCreate(interaction: interaction) })
 915 |             Task { await handleInteractions(interaction: interaction) }
     |                                                          `- warning: capture of 'interaction' with non-sendable type 'Interaction' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 916 |
 917 |         case .inviteCreate:
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Models/Interactions.swift:585:14: note: class 'Interaction' does not conform to the 'Sendable' protocol
 583 |
 584 | /// Represents a Discord interaction.
 585 | public class Interaction {
     |              `- note: class 'Interaction' does not conform to the 'Sendable' protocol
 586 |
 587 |     /// ID of the interaction.
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:1417:26: warning: capture of 'operation' with non-sendable type '(EventListener) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1415 |         for element in self {
1416 |             guard element.isEnabled else { continue }
1417 |             Task { await operation(element) }
     |                          |- warning: capture of 'operation' with non-sendable type '(EventListener) async -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
     |                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
1418 |         }
1419 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Discord/Gateway.swift:1417:36: warning: capture of 'element' with non-sendable type 'EventListener' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1415 |         for element in self {
1416 |             guard element.isEnabled else { continue }
1417 |             Task { await operation(element) }
     |                                    `- warning: capture of 'element' with non-sendable type 'EventListener' in a `@Sendable` closure; this is an error in the Swift 6 language mode
1418 |         }
1419 |     }
     :
1421 |
1422 | /// Represents a group of events your bot can listen for.
1423 | open class EventListener {
     |            `- note: class 'EventListener' does not conform to the 'Sendable' protocol
1424 |
1425 |     /// Name of the event listener.
Build complete! (146.17s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/vapor/vapor.git
[1/2473] Fetching websocket-kit
[2474/71167] Fetching websocket-kit, vapor
Fetched https://github.com/vapor/websocket-kit.git from cache (2.69s)
Fetched https://github.com/vapor/vapor.git from cache (2.69s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.15.0 (1.28s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/4833] Fetching swift-nio-extras
[146/6396] Fetching swift-nio-extras, swift-atomics
[782/8501] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services
[1988/20769] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services, swift-nio-ssl
[7486/86376] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.95s)
[46554/74108] Fetching swift-nio-extras, swift-atomics, swift-nio-transport-services, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (3.59s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (3.59s)
Fetched https://github.com/apple/swift-nio.git from cache (3.59s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.52s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.26.0 (0.73s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.21.0 (0.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.65.0 (0.63s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/3518] Fetching swift-system
[600/17547] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.75s)
Fetched https://github.com/apple/swift-collections.git from cache (1.75s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.3.0 (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.78s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.22.0 (0.69s)
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/apple/swift-nio-http2.git
[1/414] Fetching swift-http-types
[370/10647] Fetching swift-http-types, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.54s)
Fetched https://github.com/apple/swift-http-types from cache (1.54s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.1.0 (0.66s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.31.0 (0.53s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.101.1 (0.69s)
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/vapor/routing-kit.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/vapor/console-kit.git
[1/20690] Fetching routing-kit
[2/28544] Fetching routing-kit, swift-crypto
[3/31905] Fetching routing-kit, swift-crypto, swift-log
[182/33933] Fetching routing-kit, swift-crypto, swift-log, swift-metrics
[446/35778] Fetching routing-kit, swift-crypto, swift-log, swift-metrics, multipart-kit
[745/41179] Fetching routing-kit, swift-crypto, swift-log, swift-metrics, multipart-kit, console-kit
[908/46407] Fetching routing-kit, swift-crypto, swift-log, swift-metrics, multipart-kit, console-kit, swift-algorithms
Fetched https://github.com/vapor/routing-kit.git from cache (3.91s)
Fetching https://github.com/vapor/async-kit.git
Fetched https://github.com/apple/swift-crypto.git from cache (3.91s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-algorithms.git from cache (3.91s)
Fetched https://github.com/vapor/console-kit.git from cache (3.91s)
Fetched https://github.com/vapor/multipart-kit.git from cache (3.91s)
Fetched https://github.com/apple/swift-metrics.git from cache (3.91s)
Fetched https://github.com/apple/swift-log.git from cache (3.91s)
[1/2335] Fetching async-kit
[118/14999] Fetching async-kit, async-http-client
Fetched https://github.com/vapor/async-kit.git from cache (1.44s)
Fetched https://github.com/swift-server/async-http-client.git from cache (1.44s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.1 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.66s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.0 (0.66s)
Fetching https://github.com/apple/swift-numerics.git
[1/5472] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.19s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.66s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.14.3 (0.57s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.19.0 (0.68s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.21.1 (0.54s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.0 (0.53s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.4.4 (0.67s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.4.0 (0.58s)
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.4.4
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.14.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.65.0
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.21.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.26.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.3.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.101.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.22.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.31.0
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.15.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.19.0
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
warning: 'swift-system': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-system/Sources/System/CMakeLists.txt
Build complete.
{
  "dependencies" : [
    {
      "identity" : "websocket-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.14.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/websocket-kit.git"
    },
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.84.3",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    }
  ],
  "manifest_display_name" : "discord",
  "name" : "discord",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Discord",
      "targets" : [
        "Discord"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DiscordTests",
      "module_type" : "SwiftTarget",
      "name" : "DiscordTests",
      "path" : "Tests/DiscordTests",
      "sources" : [
        "DiscordTests.swift"
      ],
      "target_dependencies" : [
        "Discord"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Discord",
      "module_type" : "SwiftTarget",
      "name" : "Discord",
      "path" : "Sources/Discord",
      "product_dependencies" : [
        "WebSocketKit",
        "Vapor"
      ],
      "product_memberships" : [
        "Discord"
      ],
      "sources" : [
        "Discord.swift",
        "Gateway.swift",
        "Http.swift",
        "Models/Application.swift",
        "Models/Asset.swift",
        "Models/AuditLogs.swift",
        "Models/AutoModeration.swift",
        "Models/Channel.swift",
        "Models/Color.swift",
        "Models/Components.swift",
        "Models/Embed.swift",
        "Models/Emoji.swift",
        "Models/Error.swift",
        "Models/File.swift",
        "Models/Guild.swift",
        "Models/Intents.swift",
        "Models/Interactions.swift",
        "Models/Invite.swift",
        "Models/Member.swift",
        "Models/Message.swift",
        "Models/Permissions.swift",
        "Models/Role.swift",
        "Models/Sticker.swift",
        "Models/User.swift",
        "Models/Webhook.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.