The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftDisc, reference v2.4.1 (584884), with Swift 6.4 for macOS (SPM) on 23 Nov 2026 08:36:04 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/M1tsumi/SwiftDisc.git
Reference: v2.4.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/M1tsumi/SwiftDisc
 * tag               v2.4.1     -> FETCH_HEAD
HEAD is now at 584884c Fix DocC gh-pages: add --transform-for-static-hosting and --hosting-base-path SwiftDisc
Cloned https://github.com/M1tsumi/SwiftDisc.git
Revision (git rev-parse @):
584884cde5071d56e2dabaefef5ae1a142c7055a
SUCCESS checkout https://github.com/M1tsumi/SwiftDisc.git at v2.4.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftdisc",
      "name": "SwiftDisc",
      "url": "https://github.com/M1tsumi/SwiftDisc.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftDisc",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/M1tsumi/SwiftDisc.git
[1/7193] Fetching swiftdisc
Fetched https://github.com/M1tsumi/SwiftDisc.git (1.47s)
Creating working copy for https://github.com/M1tsumi/SwiftDisc.git
Working copy of https://github.com/M1tsumi/SwiftDisc.git resolved at v2.4.1 (584884c)
warning: '.resolve-product-dependencies': dependency 'swiftdisc' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/M1tsumi/SwiftDisc.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 414]
[Planning deferred tasks]
[42 / 164] ShardingBotExample-product
[76 / 164]
[77 / 165] SwiftDisc
[87 / 213]
[92 / 213]
[96 / 213]
[97 / 213]
[101 / 213]
[103 / 213]
[106 / 213]
[110 / 213]
[112 / 213]
[113 / 213]
[125 / 213] SwiftDisc
[126 / 213] SwiftDisc
[158 / 220] FileUploadBotExample-product
[167 / 234] ShardingBotExample-product
[182 / 234] SwiftDiscAHCTransport
[187 / 236]
[194 / 242] ComponentsV2BotExample-product
[201 / 242] AutocompleteBotExample-product
[207 / 246] ComponentsExample-product
[209 / 246] SwiftDisc
[211 / 246] SwiftDisc
[214 / 246] ViewExample-product
[225 / 246] SwiftDiscAHCTransport
[233 / 246]
[236 / 246] ComponentsV2BotExample-product
Build complete! (16.31 sec)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2134:89: warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2132 |     ///
2133 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2134 |     public func rawGET<T: Decodable>(_ path: String) async throws -> T { try await http.get(path: path) }
     |                                                                                         `- warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2135 |
2136 |     /// Performs a raw POST request to the Discord API.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2148:124: warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2146 |     ///
2147 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2148 |     public func rawPOST<B: Encodable & Sendable, T: Decodable>(_ path: String, body: B) async throws -> T { try await http.post(path: path, body: body) }
     |                                                                                                                            `- warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2149 |
2150 |     /// Performs a raw PATCH request to the Discord API.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2162:125: warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2160 |     ///
2161 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2162 |     public func rawPATCH<B: Encodable & Sendable, T: Decodable>(_ path: String, body: B) async throws -> T { try await http.patch(path: path, body: body) }
     |                                                                                                                             `- warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2163 |
2164 |     /// Performs a raw PUT request to the Discord API.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2176:123: warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2174 |     ///
2175 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2176 |     public func rawPUT<B: Encodable & Sendable, T: Decodable>(_ path: String, body: B) async throws -> T { try await http.put(path: path, body: body) }
     |                                                                                                                           `- warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2177 |
2178 |     /// Performs a raw DELETE request to the Discord API.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2188:92: warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2186 |     ///
2187 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2188 |     public func rawDELETE<T: Decodable>(_ path: String) async throws -> T { try await http.delete(path: path) }
     |                                                                                            `- warning: conformance of 'T' to protocol 'Decodable' may be isolated and cannot be passed to @concurrent context [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances\IsolatedConformances]8;;\]
2189 |
2190 |     /// Performs a POST request to an application-scoped resource endpoint.
[#IsolatedConformances]: <https://docs.swift.org/compiler/documentation/diagnostics/isolated-conformances>
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftDisc",
  "name" : "SwiftDisc",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftDisc",
      "targets" : [
        "SwiftDisc"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftDiscAHCTransport",
      "targets" : [
        "SwiftDiscAHCTransport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "WebhookBotExample",
      "targets" : [
        "WebhookBotExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ViewExample",
      "targets" : [
        "ViewExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SlashBotExample",
      "targets" : [
        "SlashBotExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ShardingBotExample",
      "targets" : [
        "ShardingBotExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "PingBotExample",
      "targets" : [
        "PingBotExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FileUploadBotExample",
      "targets" : [
        "FileUploadBotExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ComponentsV2BotExample",
      "targets" : [
        "ComponentsV2BotExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "ComponentsExample",
      "targets" : [
        "ComponentsExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "CommandsBotExample",
      "targets" : [
        "CommandsBotExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AutocompleteBotExample",
      "targets" : [
        "AutocompleteBotExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebhookBotExample",
      "module_type" : "SwiftTarget",
      "name" : "WebhookBotExample",
      "path" : "Examples",
      "product_memberships" : [
        "WebhookBotExample"
      ],
      "sources" : [
        "WebhookBot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ViewExample",
      "module_type" : "SwiftTarget",
      "name" : "ViewExample",
      "path" : "Examples",
      "product_memberships" : [
        "ViewExample"
      ],
      "sources" : [
        "ViewExample.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftDiscTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDiscTests",
      "path" : "Tests/SwiftDiscTests",
      "sources" : [
        "CacheTests.swift",
        "CodableDecodingTests.swift",
        "CollectorsTests.swift",
        "ComponentCollectorTests.swift",
        "ComponentsV2Tests.swift",
        "ConvertersTests.swift",
        "CooldownTests.swift",
        "DiscordConfigurationTests.swift",
        "DiscordErrorTests.swift",
        "InteractionDecodingTests.swift",
        "InternalTests.swift",
        "ReleaseV1Tests.swift",
        "ShardingTests.swift",
        "SlashCommandRouterTests.swift",
        "SwiftDiscTests.swift",
        "TestFixtures.swift",
        "ViewManagerTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDiscAHCTransport",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDiscAHCTransport",
      "path" : "Sources/SwiftDiscAHCTransport",
      "product_memberships" : [
        "SwiftDiscAHCTransport"
      ],
      "sources" : [
        "AHCTransport.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftDisc",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDisc",
      "path" : "Sources/SwiftDisc",
      "product_memberships" : [
        "SwiftDisc",
        "SwiftDiscAHCTransport",
        "WebhookBotExample",
        "ViewExample",
        "SlashBotExample",
        "ShardingBotExample",
        "PingBotExample",
        "FileUploadBotExample",
        "ComponentsV2BotExample",
        "ComponentsExample",
        "CommandsBotExample",
        "AutocompleteBotExample"
      ],
      "sources" : [
        "DiscordClient.swift",
        "Gateway/GatewayClient.swift",
        "Gateway/GatewayModels.swift",
        "Gateway/Intents.swift",
        "Gateway/WebSocket.swift",
        "HTTPTransport.swift",
        "HighLevel/ActivityBuilder.swift",
        "HighLevel/AutocompleteRouter.swift",
        "HighLevel/Collectors.swift",
        "HighLevel/CommandRouter.swift",
        "HighLevel/ComponentCollector.swift",
        "HighLevel/ComponentsBuilder.swift",
        "HighLevel/Converters.swift",
        "HighLevel/CooldownManager.swift",
        "HighLevel/EmbedBuilder.swift",
        "HighLevel/Extensions.swift",
        "HighLevel/MessagePayload.swift",
        "HighLevel/MessageValidation.swift",
        "HighLevel/Permissions.swift",
        "HighLevel/ShardingGatewayManager.swift",
        "HighLevel/SlashCommandBuilder.swift",
        "HighLevel/SlashCommandRouter.swift",
        "HighLevel/Utilities.swift",
        "HighLevel/ViewManager.swift",
        "HighLevel/WebhookClient.swift",
        "Internal/Cache.swift",
        "Internal/DiscordAPIErrorBody.swift",
        "Internal/DiscordConfiguration.swift",
        "Internal/DiscordError.swift",
        "Internal/DiscordUtils.swift",
        "Internal/EventDispatcher.swift",
        "Internal/JSONCoders.swift",
        "Internal/JSONValue.swift",
        "Internal/OptionalField.swift",
        "Internal/ProxyConfiguration.swift",
        "Internal/RetryPolicy.swift",
        "Internal/TokenStorage.swift",
        "Models/AdvancedMessagePayloads.swift",
        "Models/AppInstallations.swift",
        "Models/ApplicationRoleConnection.swift",
        "Models/Attachment.swift",
        "Models/AuditLog.swift",
        "Models/AutoModeration.swift",
        "Models/Channel.swift",
        "Models/Embed.swift",
        "Models/Emoji.swift",
        "Models/Files.swift",
        "Models/Guild.swift",
        "Models/GuildBan.swift",
        "Models/GuildMember.swift",
        "Models/GuildPreview.swift",
        "Models/GuildWidgetSettings.swift",
        "Models/Interaction.swift",
        "Models/Invite.swift",
        "Models/Message.swift",
        "Models/MessageComponents.swift",
        "Models/Monetization.swift",
        "Models/Onboarding.swift",
        "Models/PartialGuild.swift",
        "Models/PermissionBitset.swift",
        "Models/Role.swift",
        "Models/RoleMemberCount.swift",
        "Models/ScheduledEvent.swift",
        "Models/ScheduledEventUser.swift",
        "Models/Snowflake.swift",
        "Models/StageInstance.swift",
        "Models/Sticker.swift",
        "Models/Template.swift",
        "Models/Thread.swift",
        "Models/User.swift",
        "Models/VanityURL.swift",
        "Models/Webhook.swift",
        "REST/HTTPClient.swift",
        "REST/RateLimitEvent.swift",
        "REST/RateLimiter.swift",
        "URLSessionTransport.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SlashBotExample",
      "module_type" : "SwiftTarget",
      "name" : "SlashBotExample",
      "path" : "Examples",
      "product_memberships" : [
        "SlashBotExample"
      ],
      "sources" : [
        "SlashBot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ShardingBotExample",
      "module_type" : "SwiftTarget",
      "name" : "ShardingBotExample",
      "path" : "Examples",
      "product_memberships" : [
        "ShardingBotExample"
      ],
      "sources" : [
        "ShardingBot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "PingBotExample",
      "module_type" : "SwiftTarget",
      "name" : "PingBotExample",
      "path" : "Examples",
      "product_memberships" : [
        "PingBotExample"
      ],
      "sources" : [
        "PingBot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FileUploadBotExample",
      "module_type" : "SwiftTarget",
      "name" : "FileUploadBotExample",
      "path" : "Examples",
      "product_memberships" : [
        "FileUploadBotExample"
      ],
      "sources" : [
        "FileUploadBot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ComponentsV2BotExample",
      "module_type" : "SwiftTarget",
      "name" : "ComponentsV2BotExample",
      "path" : "Examples",
      "product_memberships" : [
        "ComponentsV2BotExample"
      ],
      "sources" : [
        "ComponentsV2Bot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ComponentsExample",
      "module_type" : "SwiftTarget",
      "name" : "ComponentsExample",
      "path" : "Examples",
      "product_memberships" : [
        "ComponentsExample"
      ],
      "sources" : [
        "ComponentsExample.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CommandsBotExample",
      "module_type" : "SwiftTarget",
      "name" : "CommandsBotExample",
      "path" : "Examples",
      "product_memberships" : [
        "CommandsBotExample"
      ],
      "sources" : [
        "CommandsBot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AutocompleteBotExample",
      "module_type" : "SwiftTarget",
      "name" : "AutocompleteBotExample",
      "path" : "Examples",
      "product_memberships" : [
        "AutocompleteBotExample"
      ],
      "sources" : [
        "AutocompleteBot.swift"
      ],
      "target_dependencies" : [
        "SwiftDisc"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.2"
}
Done.