This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftyStoreKit with Swift 6.0 (beta) for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bizz84/SwiftyStoreKit.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bizz84/SwiftyStoreKit
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 48d4d4c Add Adapty alternative (#689)
Cloned https://github.com/bizz84/SwiftyStoreKit.git
Revision (git rev-parse @):
48d4d4c0b6a66732eb45e2f0104fb7d080c67a69
SUCCESS checkout https://github.com/bizz84/SwiftyStoreKit.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/bizz84/SwiftyStoreKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/17] Compiling SwiftyStoreKit RestorePurchasesController.swift
[4/17] Compiling SwiftyStoreKit SwiftyStoreKit+Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:255:10: warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
253 |     case jsonDecodeError(string: String?)
254 |     /// Receive invalid - bad status returned
255 |     case receiptInvalid(receipt: ReceiptInfo, status: ReceiptStatus)
    |          `- warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
256 | }
257 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:255:10: warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'ReceiptStatus'; this is an error in the Swift 6 language mode
253 |     case jsonDecodeError(string: String?)
254 |     /// Receive invalid - bad status returned
255 |     case receiptInvalid(receipt: ReceiptInfo, status: ReceiptStatus)
    |          `- warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'ReceiptStatus'; this is an error in the Swift 6 language mode
256 | }
257 |
    :
259 | ///
260 | /// See Table 2-1  Status codes
261 | public enum ReceiptStatus: Int {
    |             `- note: consider making enum 'ReceiptStatus' conform to the 'Sendable' protocol
262 |     /// Not decodable status
263 |     case unknown = -2
[5/18] Compiling SwiftyStoreKit PaymentsController.swift
[6/18] Compiling SwiftyStoreKit ProductsInfoController.swift
[7/18] Compiling SwiftyStoreKit SKProductDiscount+LocalizedPrice.swift
[8/18] Compiling SwiftyStoreKit InAppProductQueryRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:13: warning: capture of 'self' with non-sendable type 'InAppProductQueryRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | }
38 |
39 | class InAppProductQueryRequest: NSObject, InAppProductRequest, SKProductsRequestDelegate {
   |       `- note: class 'InAppProductQueryRequest' does not conform to the 'Sendable' protocol
40 |
41 |     private let callback: InAppProductRequestCallback
   :
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |             `- warning: capture of 'self' with non-sendable type 'InAppProductQueryRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |         }
92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:27: warning: capture of 'results' with non-sendable type 'RetrieveResults' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |                           `- warning: capture of 'results' with non-sendable type 'RetrieveResults' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |         }
92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:116:15: note: consider making struct 'RetrieveResults' conform to the 'Sendable' protocol
114 |
115 | /// Products information
116 | public struct RetrieveResults {
    |               `- note: consider making struct 'RetrieveResults' conform to the 'Sendable' protocol
117 |     public let retrievedProducts: Set<SKProduct>
118 |     public let invalidProductIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
91 |         }
92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:27: warning: sending 'results' risks causing data races; this is an error in the Swift 6 language mode
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |                           |- warning: sending 'results' risks causing data races; this is an error in the Swift 6 language mode
   |                           `- note: task-isolated 'results' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
91 |         }
92 |     }
[9/18] Compiling SwiftyStoreKit InAppReceipt.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:13: warning: capture of 'self' with non-sendable type 'InAppProductQueryRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
37 | }
38 |
39 | class InAppProductQueryRequest: NSObject, InAppProductRequest, SKProductsRequestDelegate {
   |       `- note: class 'InAppProductQueryRequest' does not conform to the 'Sendable' protocol
40 |
41 |     private let callback: InAppProductRequestCallback
   :
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |             `- warning: capture of 'self' with non-sendable type 'InAppProductQueryRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |         }
92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:27: warning: capture of 'results' with non-sendable type 'RetrieveResults' in a `@Sendable` closure; this is an error in the Swift 6 language mode
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |                           `- warning: capture of 'results' with non-sendable type 'RetrieveResults' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 |         }
92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:116:15: note: consider making struct 'RetrieveResults' conform to the 'Sendable' protocol
114 |
115 | /// Products information
116 | public struct RetrieveResults {
    |               `- note: consider making struct 'RetrieveResults' conform to the 'Sendable' protocol
117 |     public let retrievedProducts: Set<SKProduct>
118 |     public let invalidProductIDs: Set<String>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
91 |         }
92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppProductQueryRequest.swift:90:27: warning: sending 'results' risks causing data races; this is an error in the Swift 6 language mode
88 |     private func performCallback(_ results: RetrieveResults) {
89 |         DispatchQueue.main.async {
90 |             self.callback(results)
   |                           |- warning: sending 'results' risks causing data races; this is an error in the Swift 6 language mode
   |                           `- note: task-isolated 'results' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
91 |         }
92 |     }
[10/18] Compiling SwiftyStoreKit OS.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/PaymentQueueController.swift:81:1: warning: extension declares a conformance of imported type 'SKPaymentTransactionState' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'StoreKit' introduce this conformance in the future
 79 | }
 80 |
 81 | extension SKPaymentTransactionState: CustomDebugStringConvertible {
    | |- warning: extension declares a conformance of imported type 'SKPaymentTransactionState' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'StoreKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 82 |
 83 |     public var debugDescription: String {
[11/18] Compiling SwiftyStoreKit PaymentQueueController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/PaymentQueueController.swift:81:1: warning: extension declares a conformance of imported type 'SKPaymentTransactionState' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'StoreKit' introduce this conformance in the future
 79 | }
 80 |
 81 | extension SKPaymentTransactionState: CustomDebugStringConvertible {
    | |- warning: extension declares a conformance of imported type 'SKPaymentTransactionState' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'StoreKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 82 |
 83 |     public var debugDescription: String {
[12/18] Compiling SwiftyStoreKit AppleReceiptValidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/AppleReceiptValidator.swift:79:5: warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 | 			// there is an error
 78 | 			if let networkError = error {
 79 | 				completion(.error(error: .networkError(error: networkError)))
    |     |- warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 | 				return
 81 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/AppleReceiptValidator.swift:112:21: warning: capture of 'self' with non-sendable type 'AppleReceiptValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | // https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html
 29 |
 30 | public class AppleReceiptValidator: ReceiptValidator {
    |              `- note: class 'AppleReceiptValidator' does not conform to the 'Sendable' protocol
 31 |
 32 | 	public enum VerifyReceiptURLType: String {
    :
110 | 				let receiptStatus = ReceiptStatus(rawValue: status) ?? ReceiptStatus.unknown
111 | 				if case .testReceipt = receiptStatus {
112 |                     self.service = .sandbox
    |                     `- warning: capture of 'self' with non-sendable type 'AppleReceiptValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     self.validate(receiptData: receiptData, completion: completion)
114 | 				} else {
[13/18] Compiling SwiftyStoreKit CompleteTransactionsController.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/AppleReceiptValidator.swift:79:5: warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 77 | 			// there is an error
 78 | 			if let networkError = error {
 79 | 				completion(.error(error: .networkError(error: networkError)))
    |     |- warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 | 				return
 81 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/AppleReceiptValidator.swift:112:21: warning: capture of 'self' with non-sendable type 'AppleReceiptValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 28 | // https://developer.apple.com/library/ios/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateRemotely.html
 29 |
 30 | public class AppleReceiptValidator: ReceiptValidator {
    |              `- note: class 'AppleReceiptValidator' does not conform to the 'Sendable' protocol
 31 |
 32 | 	public enum VerifyReceiptURLType: String {
    :
110 | 				let receiptStatus = ReceiptStatus(rawValue: status) ?? ReceiptStatus.unknown
111 | 				if case .testReceipt = receiptStatus {
112 |                     self.service = .sandbox
    |                     `- warning: capture of 'self' with non-sendable type 'AppleReceiptValidator' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |                     self.validate(receiptData: receiptData, completion: completion)
114 | 				} else {
[14/18] Compiling SwiftyStoreKit SKProduct+LocalizedPrice.swift
[15/18] Compiling SwiftyStoreKit InAppReceiptRefreshRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptRefreshRequest.swift:82:13: warning: capture of 'self' with non-sendable type 'InAppReceiptRefreshRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | class InAppReceiptRefreshRequest: NSObject, SKRequestDelegate, InAppRequest {
   |       `- note: class 'InAppReceiptRefreshRequest' does not conform to the 'Sendable' protocol
30 |
31 |     enum ResultType {
   :
80 |     private func performCallback(_ result: ResultType) {
81 |         DispatchQueue.main.async {
82 |             self.callback(result)
   |             `- warning: capture of 'self' with non-sendable type 'InAppReceiptRefreshRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |         }
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:17: warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                 |- warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 |             }
117 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:28: warning: capture of 'result' with non-sendable type 'VerifyReceiptResult' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                            `- warning: capture of 'result' with non-sendable type 'VerifyReceiptResult' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |             }
117 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:161:13: note: consider making enum 'VerifyReceiptResult' conform to the 'Sendable' protocol
159 |
160 | /// Verify receipt result
161 | public enum VerifyReceiptResult {
    |             `- note: consider making enum 'VerifyReceiptResult' conform to the 'Sendable' protocol
162 |     case success(receipt: ReceiptInfo)
163 |     case error(error: ReceiptError)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptRefreshRequest.swift:82:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 |     private func performCallback(_ result: ResultType) {
81 |         DispatchQueue.main.async {
82 |             self.callback(result)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 |         }
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
116 |             }
117 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:28: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                            |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
116 |             }
117 |         }
[16/18] Compiling SwiftyStoreKit InAppReceiptVerificator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptRefreshRequest.swift:82:13: warning: capture of 'self' with non-sendable type 'InAppReceiptRefreshRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | import Foundation
28 |
29 | class InAppReceiptRefreshRequest: NSObject, SKRequestDelegate, InAppRequest {
   |       `- note: class 'InAppReceiptRefreshRequest' does not conform to the 'Sendable' protocol
30 |
31 |     enum ResultType {
   :
80 |     private func performCallback(_ result: ResultType) {
81 |         DispatchQueue.main.async {
82 |             self.callback(result)
   |             `- warning: capture of 'self' with non-sendable type 'InAppReceiptRefreshRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
83 |         }
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:17: warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                 |- warning: capture of 'completion' with non-sendable type '(VerifyReceiptResult) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
116 |             }
117 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:28: warning: capture of 'result' with non-sendable type 'VerifyReceiptResult' in a `@Sendable` closure; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                            `- warning: capture of 'result' with non-sendable type 'VerifyReceiptResult' in a `@Sendable` closure; this is an error in the Swift 6 language mode
116 |             }
117 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:161:13: note: consider making enum 'VerifyReceiptResult' conform to the 'Sendable' protocol
159 |
160 | /// Verify receipt result
161 | public enum VerifyReceiptResult {
    |             `- note: consider making enum 'VerifyReceiptResult' conform to the 'Sendable' protocol
162 |     case success(receipt: ReceiptInfo)
163 |     case error(error: ReceiptError)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptRefreshRequest.swift:82:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
80 |     private func performCallback(_ result: ResultType) {
81 |         DispatchQueue.main.async {
82 |             self.callback(result)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
83 |         }
84 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:17: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                 |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
116 |             }
117 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/InAppReceiptVerificator.swift:115:28: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
113 |
114 |             DispatchQueue.main.async {
115 |                 completion(result)
    |                            |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
116 |             }
117 |         }
[17/18] Emitting module SwiftyStoreKit
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/PaymentQueueController.swift:81:1: warning: extension declares a conformance of imported type 'SKPaymentTransactionState' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'StoreKit' introduce this conformance in the future
 79 | }
 80 |
 81 | extension SKPaymentTransactionState: CustomDebugStringConvertible {
    | |- warning: extension declares a conformance of imported type 'SKPaymentTransactionState' to imported protocol 'CustomDebugStringConvertible'; this will not behave correctly if the owners of 'StoreKit' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 82 |
 83 |     public var debugDescription: String {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:255:10: warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
253 |     case jsonDecodeError(string: String?)
254 |     /// Receive invalid - bad status returned
255 |     case receiptInvalid(receipt: ReceiptInfo, status: ReceiptStatus)
    |          `- warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'AnyObject'; this is an error in the Swift 6 language mode
256 | }
257 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit+Types.swift:255:10: warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'ReceiptStatus'; this is an error in the Swift 6 language mode
253 |     case jsonDecodeError(string: String?)
254 |     /// Receive invalid - bad status returned
255 |     case receiptInvalid(receipt: ReceiptInfo, status: ReceiptStatus)
    |          `- warning: associated value 'receiptInvalid(receipt:status:)' of 'Sendable'-conforming enum 'ReceiptError' has non-sendable type 'ReceiptStatus'; this is an error in the Swift 6 language mode
256 | }
257 |
    :
259 | ///
260 | /// See Table 2-1  Status codes
261 | public enum ReceiptStatus: Int {
    |             `- note: consider making enum 'ReceiptStatus' conform to the 'Sendable' protocol
262 |     /// Not decodable status
263 |     case unknown = -2
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit.swift:140:28: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'SwiftyStoreKit' may have shared mutable state; this is an error in the Swift 6 language mode
 25 | import StoreKit
 26 |
 27 | public class SwiftyStoreKit {
    |              `- note: class 'SwiftyStoreKit' does not conform to the 'Sendable' protocol
 28 |
 29 |     private let productsInfoController: ProductsInfoController
    :
138 |
139 |     // MARK: Singleton
140 |     fileprivate static let sharedInstance = SwiftyStoreKit()
    |                            |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'SwiftyStoreKit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 |     // MARK: Public methods - Purchases
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit.swift:220:23: warning: static property 'shouldAddStorePaymentHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
218 |     /// Register a handler for `SKPaymentQueue.shouldAddStorePayment` delegate method.
219 |     /// - requires: iOS 11.0+
220 |     public static var shouldAddStorePaymentHandler: ShouldAddStorePaymentHandler? {
    |                       |- warning: static property 'shouldAddStorePaymentHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shouldAddStorePaymentHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'shouldAddStorePaymentHandler' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |         didSet {
222 |             sharedInstance.paymentQueueController.shouldAddStorePaymentHandler = shouldAddStorePaymentHandler
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit.swift:228:23: warning: static property 'updatedDownloadsHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
226 |     /// Register a handler for `paymentQueue(_:updatedDownloads:)`
227 |     /// - seealso: `paymentQueue(_:updatedDownloads:)`
228 |     public static var updatedDownloadsHandler: UpdatedDownloadsHandler? {
    |                       |- warning: static property 'updatedDownloadsHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'updatedDownloadsHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'updatedDownloadsHandler' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |         didSet {
230 |             sharedInstance.paymentQueueController.updatedDownloadsHandler = updatedDownloadsHandler
[18/18] Compiling SwiftyStoreKit SwiftyStoreKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit.swift:140:28: warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'SwiftyStoreKit' may have shared mutable state; this is an error in the Swift 6 language mode
 25 | import StoreKit
 26 |
 27 | public class SwiftyStoreKit {
    |              `- note: class 'SwiftyStoreKit' does not conform to the 'Sendable' protocol
 28 |
 29 |     private let productsInfoController: ProductsInfoController
    :
138 |
139 |     // MARK: Singleton
140 |     fileprivate static let sharedInstance = SwiftyStoreKit()
    |                            |- warning: static property 'sharedInstance' is not concurrency-safe because non-'Sendable' type 'SwiftyStoreKit' may have shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: annotate 'sharedInstance' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 |     // MARK: Public methods - Purchases
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit.swift:220:23: warning: static property 'shouldAddStorePaymentHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
218 |     /// Register a handler for `SKPaymentQueue.shouldAddStorePayment` delegate method.
219 |     /// - requires: iOS 11.0+
220 |     public static var shouldAddStorePaymentHandler: ShouldAddStorePaymentHandler? {
    |                       |- warning: static property 'shouldAddStorePaymentHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'shouldAddStorePaymentHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'shouldAddStorePaymentHandler' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
221 |         didSet {
222 |             sharedInstance.paymentQueueController.shouldAddStorePaymentHandler = shouldAddStorePaymentHandler
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyStoreKit/SwiftyStoreKit.swift:228:23: warning: static property 'updatedDownloadsHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
226 |     /// Register a handler for `paymentQueue(_:updatedDownloads:)`
227 |     /// - seealso: `paymentQueue(_:updatedDownloads:)`
228 |     public static var updatedDownloadsHandler: UpdatedDownloadsHandler? {
    |                       |- warning: static property 'updatedDownloadsHandler' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'updatedDownloadsHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'updatedDownloadsHandler' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |         didSet {
230 |             sharedInstance.paymentQueueController.updatedDownloadsHandler = updatedDownloadsHandler
Build complete! (29.77s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyStoreKit",
  "name" : "SwiftyStoreKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "9.0"
    },
    {
      "name" : "watchos",
      "version" : "6.2"
    }
  ],
  "products" : [
    {
      "name" : "SwiftyStoreKit",
      "targets" : [
        "SwiftyStoreKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyStoreKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyStoreKitTests",
      "path" : "Tests/SwiftyStoreKitTests",
      "sources" : [
        "CompleteTransactionsControllerTests.swift",
        "InAppReceiptTests.swift",
        "InAppReceiptVerificatorTests.swift",
        "PaymentQueueControllerTests.swift",
        "PaymentQueueSpy.swift",
        "PaymentTransactionObserverFake.swift",
        "PaymentsControllerTests.swift",
        "ProductsInfoControllerTests.swift",
        "RestorePurchasesControllerTests.swift",
        "TestPaymentTransaction.swift",
        "TestProduct.swift"
      ],
      "target_dependencies" : [
        "SwiftyStoreKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyStoreKit",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyStoreKit",
      "path" : "Sources/SwiftyStoreKit",
      "product_memberships" : [
        "SwiftyStoreKit"
      ],
      "sources" : [
        "AppleReceiptValidator.swift",
        "CompleteTransactionsController.swift",
        "InAppProductQueryRequest.swift",
        "InAppReceipt.swift",
        "InAppReceiptRefreshRequest.swift",
        "InAppReceiptVerificator.swift",
        "OS.swift",
        "PaymentQueueController.swift",
        "PaymentsController.swift",
        "ProductsInfoController.swift",
        "RestorePurchasesController.swift",
        "SKProduct+LocalizedPrice.swift",
        "SKProductDiscount+LocalizedPrice.swift",
        "SwiftyStoreKit+Types.swift",
        "SwiftyStoreKit.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.