The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftDisc, reference main (d85827), with Swift 6.4 for Linux on 16 Sep 2026 01:32:34 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/M1tsumi/SwiftDisc.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d858271 Release v2.5.0 (#17)
Cloned https://github.com/M1tsumi/SwiftDisc.git
Revision (git rev-parse @):
d858271d23a91a350935c4667c230d99238b4051
SUCCESS checkout https://github.com/M1tsumi/SwiftDisc.git at main
========================================
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-53886769-0":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 414]
[Constructing 1 / 818]
[66 / 122] SwiftDisc
/host/spi-builder-workspace/Sources/SwiftDisc/Models/Message.swift:652:5: warning: 'public' modifier is redundant for instance method declared in a public extension
650 |     /// ```
651 |     @discardableResult
652 |     public func reply(
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
653 |         client: DiscordClient,
654 |         content: String? = nil,
[75 / 131] SwiftDisc
[87 / 142] SwiftDiscAHCTransport
[101 / 146] SwiftDiscAHCTransport
[103 / 146] ShardingBotExample-product
[104 / 147] SwiftDiscAHCTransport-product
[112 / 157] PingBotExample-product
[123 / 168] CommandsBotExample-product
/host/spi-builder-workspace/Sources/SwiftDisc/Models/Message.swift:652:5: warning: 'public' modifier is redundant for instance method declared in a public extension
650 |     /// ```
651 |     @discardableResult
652 |     public func reply(
    |     `- warning: 'public' modifier is redundant for instance method declared in a public extension
653 |         client: DiscordClient,
654 |         content: String? = nil,
[138 / 169] CommandsBotExample-product
[140 / 169] ShardingBotExample-product
[142 / 169] ShardingBotExample-product
/host/spi-builder-workspace/Examples/ComponentsExample.swift:18:13: warning: variable 'components' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
16 |
17 |         // Build components
18 |         var components = ComponentsBuilder()
   |             `- warning: variable 'components' was never mutated; consider changing to 'let' constant [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated\VariableNeverMutated]8;;\]
19 |         _ = components.row { row in
20 |             let btn = ButtonBuilder()
[#VariableNeverMutated]: <https://docs.swift.org/compiler/documentation/diagnostics/variable-never-mutated>
[154 / 173] ComponentsExample-product
[157 / 174] AutocompleteBotExample-product
[160 / 175] SwiftDisc
/host/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2176: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;;\]
2174 |     ///
2175 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2176 |     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;;\]
2177 |
2178 |     /// Performs a raw POST request to the Discord API.
/host/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2190: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;;\]
2188 |     ///
2189 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2190 |     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;;\]
2191 |
2192 |     /// Performs a raw PATCH request to the Discord API.
/host/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2204: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;;\]
2202 |     ///
2203 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2204 |     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;;\]
2205 |
2206 |     /// Performs a raw PUT request to the Discord API.
/host/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2218: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;;\]
2216 |     ///
2217 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2218 |     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;;\]
2219 |
2220 |     /// Performs a raw DELETE request to the Discord API.
/host/spi-builder-workspace/Sources/SwiftDisc/DiscordClient.swift:2230: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;;\]
2228 |     ///
2229 |     /// - Warning: Use typed methods when available for better type safety and documentation.
2230 |     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;;\]
2231 |
2232 |     /// 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] SwiftDisc-product
[176 / 176] CommandsBotExample-product
Build complete! (20.70 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/Application.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/MFALevel.swift",
        "Models/Message.swift",
        "Models/MessageComponents.swift",
        "Models/Monetization.swift",
        "Models/NewMemberWelcome.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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.