The Swift Package Index logo.Swift Package Index

Build Information

Successful build of ShopSavvySDK, reference 1.6.0 (cdab34), with Swift 6.1 for macOS (SPM) on 23 Nov 2026 23:25:10 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shopsavvy/sdk-swift.git
Reference: 1.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shopsavvy/sdk-swift
 * tag               1.6.0      -> FETCH_HEAD
HEAD is now at cdab349 Docs and 1.6.0: errors/rate limits/credits README section, copy-paste quick start, no free-account claim, CHANGELOG, version bump in podspec/VERSION/README
Cloned https://github.com/shopsavvy/sdk-swift.git
Revision (git rev-parse @):
cdab3498fdfc5075eec77c1b95b9d71a36c9adb9
SUCCESS checkout https://github.com/shopsavvy/sdk-swift.git at 1.6.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shopsavvy/sdk-swift.git
https://github.com/shopsavvy/sdk-swift.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShopSavvySDK",
  "name" : "ShopSavvySDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ShopSavvySDK",
      "targets" : [
        "ShopSavvySDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShopSavvySDKTests",
      "module_type" : "SwiftTarget",
      "name" : "ShopSavvySDKTests",
      "path" : "Tests/ShopSavvySDKTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ShopSavvySDKTests/offers-in-store-response.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ShopSavvySDKTests/price-history-response.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ErrorsTests.swift",
        "InStorePricesTests.swift",
        "PriceHistoryTests.swift",
        "SchedulingTests.swift",
        "ShopSavvySDKTests.swift"
      ],
      "target_dependencies" : [
        "ShopSavvySDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShopSavvySDK",
      "module_type" : "SwiftTarget",
      "name" : "ShopSavvySDK",
      "path" : "Sources/ShopSavvySDK",
      "product_memberships" : [
        "ShopSavvySDK"
      ],
      "sources" : [
        "Errors.swift",
        "Models.swift",
        "ShopSavvyClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling ShopSavvySDK Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:37:10: warning: associated value 'authenticationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 35 | public enum ShopSavvyError: Error, LocalizedError {
 36 |     case networkError(String)
 37 |     case authenticationError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'authenticationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:38:10: warning: associated value 'notFoundError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 36 |     case networkError(String)
 37 |     case authenticationError(String, detail: ShopSavvyErrorDetail? = nil)
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'notFoundError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
 40 |     case rateLimitError(String, detail: ShopSavvyErrorDetail? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:39:10: warning: associated value 'validationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 37 |     case authenticationError(String, detail: ShopSavvyErrorDetail? = nil)
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'validationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 40 |     case rateLimitError(String, detail: ShopSavvyErrorDetail? = nil)
 41 |     /// `ERR_CREDITS_EXHAUSTED` (HTTP 429). Do not retry: credits come back when the billing period
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:40:10: warning: associated value 'rateLimitError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
 40 |     case rateLimitError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'rateLimitError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 41 |     /// `ERR_CREDITS_EXHAUSTED` (HTTP 429). Do not retry: credits come back when the billing period
 42 |     /// resets or the plan is upgraded. Deliberately separate from `rateLimitError`.
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:43:10: warning: associated value 'creditsExhaustedError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 41 |     /// `ERR_CREDITS_EXHAUSTED` (HTTP 429). Do not retry: credits come back when the billing period
 42 |     /// resets or the plan is upgraded. Deliberately separate from `rateLimitError`.
 43 |     case creditsExhaustedError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'creditsExhaustedError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 44 |     case apiError(String, detail: ShopSavvyErrorDetail? = nil)
 45 |     case decodingError(String)
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:44:10: warning: associated value 'apiError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 42 |     /// resets or the plan is upgraded. Deliberately separate from `rateLimitError`.
 43 |     case creditsExhaustedError(String, detail: ShopSavvyErrorDetail? = nil)
 44 |     case apiError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'apiError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 45 |     case decodingError(String)
 46 |
[4/6] Compiling ShopSavvySDK ShopSavvyClient.swift
[5/6] Compiling ShopSavvySDK Models.swift
[6/6] Emitting module ShopSavvySDK
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:37:10: warning: associated value 'authenticationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 35 | public enum ShopSavvyError: Error, LocalizedError {
 36 |     case networkError(String)
 37 |     case authenticationError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'authenticationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:38:10: warning: associated value 'notFoundError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 36 |     case networkError(String)
 37 |     case authenticationError(String, detail: ShopSavvyErrorDetail? = nil)
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'notFoundError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
 40 |     case rateLimitError(String, detail: ShopSavvyErrorDetail? = nil)
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:39:10: warning: associated value 'validationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 37 |     case authenticationError(String, detail: ShopSavvyErrorDetail? = nil)
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'validationError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 40 |     case rateLimitError(String, detail: ShopSavvyErrorDetail? = nil)
 41 |     /// `ERR_CREDITS_EXHAUSTED` (HTTP 429). Do not retry: credits come back when the billing period
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:40:10: warning: associated value 'rateLimitError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 38 |     case notFoundError(String, detail: ShopSavvyErrorDetail? = nil)
 39 |     case validationError(String, detail: ShopSavvyErrorDetail? = nil)
 40 |     case rateLimitError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'rateLimitError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 41 |     /// `ERR_CREDITS_EXHAUSTED` (HTTP 429). Do not retry: credits come back when the billing period
 42 |     /// resets or the plan is upgraded. Deliberately separate from `rateLimitError`.
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:43:10: warning: associated value 'creditsExhaustedError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 41 |     /// `ERR_CREDITS_EXHAUSTED` (HTTP 429). Do not retry: credits come back when the billing period
 42 |     /// resets or the plan is upgraded. Deliberately separate from `rateLimitError`.
 43 |     case creditsExhaustedError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'creditsExhaustedError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 44 |     case apiError(String, detail: ShopSavvyErrorDetail? = nil)
 45 |     case decodingError(String)
/Users/admin/builder/spi-builder-workspace/Sources/ShopSavvySDK/Errors.swift:44:10: warning: associated value 'apiError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
  3 | /// Structured detail the API attaches to an error response. Every field is nil when the
  4 | /// server did not send it (older responses have no `error_detail`).
  5 | public struct ShopSavvyErrorDetail: Equatable {
    |               `- note: consider making struct 'ShopSavvyErrorDetail' conform to the 'Sendable' protocol
  6 |     /// HTTP status of the failed response.
  7 |     public let statusCode: Int?
    :
 42 |     /// resets or the plan is upgraded. Deliberately separate from `rateLimitError`.
 43 |     case creditsExhaustedError(String, detail: ShopSavvyErrorDetail? = nil)
 44 |     case apiError(String, detail: ShopSavvyErrorDetail? = nil)
    |          `- warning: associated value 'apiError(_:detail:)' of 'Sendable'-conforming enum 'ShopSavvyError' has non-sendable type 'ShopSavvyErrorDetail'; this is an error in the Swift 6 language mode
 45 |     case decodingError(String)
 46 |
Build complete! (4.40s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ShopSavvySDK",
  "name" : "ShopSavvySDK",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ShopSavvySDK",
      "targets" : [
        "ShopSavvySDK"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShopSavvySDKTests",
      "module_type" : "SwiftTarget",
      "name" : "ShopSavvySDKTests",
      "path" : "Tests/ShopSavvySDKTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ShopSavvySDKTests/offers-in-store-response.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ShopSavvySDKTests/price-history-response.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ErrorsTests.swift",
        "InStorePricesTests.swift",
        "PriceHistoryTests.swift",
        "SchedulingTests.swift",
        "ShopSavvySDKTests.swift"
      ],
      "target_dependencies" : [
        "ShopSavvySDK"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShopSavvySDK",
      "module_type" : "SwiftTarget",
      "name" : "ShopSavvySDK",
      "path" : "Sources/ShopSavvySDK",
      "product_memberships" : [
        "ShopSavvySDK"
      ],
      "sources" : [
        "Errors.swift",
        "Models.swift",
        "ShopSavvyClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.