The Swift Package Index logo.Swift Package Index

Build Information

Successful build of postmark-swift, reference main (0d8898), with Swift 6.1 for Linux on 29 Mar 2026 18:04:16 UTC.

Swift 6 data race errors: 1

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aronbudinszky/postmark-swift.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/aronbudinszky/postmark-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0d88982 Convert to Swift testing
Cloned https://github.com/aronbudinszky/postmark-swift.git
Revision (git rev-parse @):
0d88982bcdeafa12d253ab937f08afd16d5cf64a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aronbudinszky/postmark-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/aronbudinszky/postmark-swift.git
https://github.com/aronbudinszky/postmark-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "postmark-swift",
  "name" : "postmark-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PostmarkSwift",
      "targets" : [
        "PostmarkSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PostmarkSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "PostmarkSwiftTests",
      "path" : "Tests/PostmarkSwiftTests",
      "sources" : [
        "PostmarkSwiftTests.swift"
      ],
      "target_dependencies" : [
        "PostmarkSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PostmarkSwift",
      "module_type" : "SwiftTarget",
      "name" : "PostmarkSwift",
      "path" : "Sources/PostmarkSwift",
      "product_memberships" : [
        "PostmarkSwift"
      ],
      "sources" : [
        "Client.swift",
        "Constants.swift",
        "Extensions/URLSession+Async.swift",
        "Models/OutgoingEmail.swift",
        "Network/ApiClient.swift",
        "PostmarkSwift.swift",
        "Protocols/ApiRequestCommunicating.swift",
        "Protocols/ErrorCodeReceiving.swift",
        "Protocols/PostmarkClientCompatible.swift",
        "Protocols/RequestResponsePairing.swift",
        "Requests/SendRequest.swift",
        "Responses/ErrorCodes.swift",
        "Responses/SendResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling PostmarkSwift ApiRequestCommunicating.swift
[4/15] Compiling PostmarkSwift ErrorCodeReceiving.swift
[5/16] Compiling PostmarkSwift PostmarkClientCompatible.swift
[6/16] Compiling PostmarkSwift RequestResponsePairing.swift
[7/16] Compiling PostmarkSwift SendRequest.swift
[8/16] Compiling PostmarkSwift ErrorCodes.swift
[9/16] Emitting module PostmarkSwift
/host/spi-builder-workspace/Sources/PostmarkSwift/Client.swift:38:18: warning: associated value 'postmarkError(code:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'PostmarkSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
36 |
37 |         public enum Error: Swift.Error {
38 |             case postmarkError(code: ErrorCode, message: String)
   |                  `- warning: associated value 'postmarkError(code:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'PostmarkSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
39 |         }
40 |
/host/spi-builder-workspace/Sources/PostmarkSwift/Responses/ErrorCodes.swift:29:10: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 27 |     ///
 28 |     /// See API [documentation](https://postmarkapp.com/developer/api/overview#error-codes)
 29 |     enum ErrorCode: Int, Decodable {
    |          `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 30 |
 31 |         /// No error
[10/16] Compiling PostmarkSwift URLSession+Async.swift
[11/16] Compiling PostmarkSwift OutgoingEmail.swift
[12/16] Compiling PostmarkSwift Client.swift
/host/spi-builder-workspace/Sources/PostmarkSwift/Client.swift:38:18: warning: associated value 'postmarkError(code:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'PostmarkSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
36 |
37 |         public enum Error: Swift.Error {
38 |             case postmarkError(code: ErrorCode, message: String)
   |                  `- warning: associated value 'postmarkError(code:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'PostmarkSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
39 |         }
40 |
/host/spi-builder-workspace/Sources/PostmarkSwift/Responses/ErrorCodes.swift:29:10: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 27 |     ///
 28 |     /// See API [documentation](https://postmarkapp.com/developer/api/overview#error-codes)
 29 |     enum ErrorCode: Int, Decodable {
    |          `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 30 |
 31 |         /// No error
[13/16] Compiling PostmarkSwift Constants.swift
/host/spi-builder-workspace/Sources/PostmarkSwift/Client.swift:38:18: warning: associated value 'postmarkError(code:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'PostmarkSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
36 |
37 |         public enum Error: Swift.Error {
38 |             case postmarkError(code: ErrorCode, message: String)
   |                  `- warning: associated value 'postmarkError(code:message:)' of 'Sendable'-conforming enum 'Error' has non-sendable type 'PostmarkSwift.Client.ErrorCode'; this is an error in the Swift 6 language mode
39 |         }
40 |
/host/spi-builder-workspace/Sources/PostmarkSwift/Responses/ErrorCodes.swift:29:10: note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 27 |     ///
 28 |     /// See API [documentation](https://postmarkapp.com/developer/api/overview#error-codes)
 29 |     enum ErrorCode: Int, Decodable {
    |          `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
 30 |
 31 |         /// No error
[14/16] Compiling PostmarkSwift ApiClient.swift
[15/16] Compiling PostmarkSwift PostmarkSwift.swift
[16/16] Compiling PostmarkSwift SendResponse.swift
Build complete! (8.89s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "postmark-swift",
  "name" : "postmark-swift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "PostmarkSwift",
      "targets" : [
        "PostmarkSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PostmarkSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "PostmarkSwiftTests",
      "path" : "Tests/PostmarkSwiftTests",
      "sources" : [
        "PostmarkSwiftTests.swift"
      ],
      "target_dependencies" : [
        "PostmarkSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PostmarkSwift",
      "module_type" : "SwiftTarget",
      "name" : "PostmarkSwift",
      "path" : "Sources/PostmarkSwift",
      "product_memberships" : [
        "PostmarkSwift"
      ],
      "sources" : [
        "Client.swift",
        "Constants.swift",
        "Extensions/URLSession+Async.swift",
        "Models/OutgoingEmail.swift",
        "Network/ApiClient.swift",
        "PostmarkSwift.swift",
        "Protocols/ApiRequestCommunicating.swift",
        "Protocols/ErrorCodeReceiving.swift",
        "Protocols/PostmarkClientCompatible.swift",
        "Protocols/RequestResponsePairing.swift",
        "Requests/SendRequest.swift",
        "Responses/ErrorCodes.swift",
        "Responses/SendResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.