The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftDisc, reference 2.4.1 (d12c9d), with Swift 6.4 for Linux on 2 Nov 2026 10:58:51 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/M1tsumi/SwiftDisc.git
Reference: 2.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/M1tsumi/SwiftDisc
 * tag               2.4.1      -> FETCH_HEAD
HEAD is now at d12c9d2 Fix compiler warnings, update CHANGELOG, polish examples
Cloned https://github.com/M1tsumi/SwiftDisc.git
Revision (git rev-parse @):
d12c9d26b0a6e7f3aa8ec17fc91049f6148d60d5
SUCCESS checkout https://github.com/M1tsumi/SwiftDisc.git at 2.4.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/M1tsumi/SwiftDisc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 414]
[Planning deferred tasks]
[66 / 122] SwiftDisc
[75 / 131] SwiftDisc
[76 / 131] SwiftDisc
[84 / 135] WebhookBotExample-product
[100 / 146] SwiftDiscAHCTransport
[111 / 153] SwiftDiscAHCTransport
[116 / 156] ComponentsExample-product
[119 / 160] FileUploadBotExample-product
[122 / 162] FileUploadBotExample-product
[126 / 163] SlashBotExample-product
[133 / 167] WebhookBotExample-product
[144 / 170] AutocompleteBotExample-product
[146 / 171] ComponentsV2BotExample-product
[148 / 171] FileUploadBotExample-product
[154 / 174] CommandsBotExample-product
[158 / 175] AutocompleteBotExample-product
[160 / 175] SwiftDisc
/host/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.
/host/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.
/host/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.
/host/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.
/host/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>
[163 / 176] SwiftDisc
[173 / 176] ComponentsExample-product
[173 / 176] WebhookBotExample-product
[176 / 176] SwiftDiscAHCTransport-product
[176 / 176] ComponentsExample-product
Build complete! (16.28 secs)
Build complete.
{
  "default_localization" : "en",
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftDisc",
  "name" : "SwiftDisc",
  "path" : "/host/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"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
150de19c9cc9: Pulling fs layer
a60ef8ec184e: Pulling fs layer
11c5b94f4dda: Pulling fs layer
36c236631f64: Pulling fs layer
4482ec89724f: Pulling fs layer
e1765437d66e: Pulling fs layer
9d87e153f91b: Pulling fs layer
1818c12b26b1: Pulling fs layer
2f2ffede24c3: Pulling fs layer
11c5b94f4dda: Download complete
9d87e153f91b: Download complete
4482ec89724f: Download complete
1818c12b26b1: Download complete
e1765437d66e: Download complete
a60ef8ec184e: Download complete
ba0ced192377: Download complete
a60ef8ec184e: Pull complete
11c5b94f4dda: Pull complete
150de19c9cc9: Download complete
2f2ffede24c3: Download complete
36c236631f64: Download complete
36c236631f64: Pull complete
4482ec89724f: Pull complete
e1765437d66e: Pull complete
9d87e153f91b: Pull complete
1818c12b26b1: Pull complete
2f2ffede24c3: Pull complete
150de19c9cc9: Pull complete
Digest: sha256:ad3afec1d6cff9a88dbd06b5b923cd7d46d6f55cc44d4c49fe48cde94ee812a7
Status: Downloaded newer image for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.