Build Information
Successful build of StripeKit, reference 0.1.0 (1dc175
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 03:30:04 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[8/31] Compiling RESTClient _EditingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class RESTClient<Error> where Error : Swift.Error & Decodable {
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[9/31] Compiling RESTClient RESTClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class RESTClient<Error> where Error : Swift.Error & Decodable {
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[10/31] Compiling RESTClient Resource.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class RESTClient<Error> where Error : Swift.Error & Decodable {
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[11/31] Compiling RESTClient URLSessionConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/URLSessionConfiguration.swift:13:5: warning: 'public' modifier is redundant for static property declared in a public extension
11 | public extension URLSessionConfiguration {
12 |
13 | public static var restJSONAPI : URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
14 |
15 | let sessionConfig = URLSessionConfiguration.ephemeral
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/URLSessionConfiguration.swift:27:5: warning: 'public' modifier is redundant for static method declared in a public extension
25 | }
26 |
27 | public static func authenticatedRESTJSONApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
28 | let sessionConfig = URLSessionConfiguration.ephemeral
29 | sessionConfig.allowsCellularAccess = true
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class RESTClient<Error> where Error : Swift.Error & Decodable {
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[12/31] Compiling RESTClient RESTClient+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/URLSessionConfiguration.swift:13:5: warning: 'public' modifier is redundant for static property declared in a public extension
11 | public extension URLSessionConfiguration {
12 |
13 | public static var restJSONAPI : URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static property declared in a public extension
14 |
15 | let sessionConfig = URLSessionConfiguration.ephemeral
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/URLSessionConfiguration.swift:27:5: warning: 'public' modifier is redundant for static method declared in a public extension
25 | }
26 |
27 | public static func authenticatedRESTJSONApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
28 | let sessionConfig = URLSessionConfiguration.ephemeral
29 | sessionConfig.allowsCellularAccess = true
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class RESTClient<Error> where Error : Swift.Error & Decodable {
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[13/31] Compiling RESTClient RESTClient+DataTask.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:17:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
15 | Note that this method requires a response body for successful requests. If it is possible for the body to be nil use dataTask<T : Codable & ExpressibleByNilLiteral>(_:, with:, completionHandler:).
16 | */
17 | open func dataTask<T : Decodable>(_ type: T.Type, with request: URLRequest, completionHandler: ((Result<T, Error>) -> Void)? = nil) -> URLSessionDataTask {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
18 | return dataTask(T?.self, with: request, completionHandler: { result in
19 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | This method allows for the poosibility of a nil response body when the request is successful, however, additional unwrapping is required.
39 | */
40 | open func dataTask<T : Decodable & ExpressibleByNilLiteral>(_ type: T.Type, with request: URLRequest, completionHandler: ((Result<T, Error>) -> Void)? = nil) -> URLSessionDataTask {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
41 |
42 | var request = request
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:99:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
97 | Note that this method blocks until the task completes and calls it's completion handler at which time a value may be returned or an error may be thrown.
98 | */
99 | open func performSyncDataTask<T : Decodable>(_ type: T.Type, with request: URLRequest) throws -> T? {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
100 |
101 | var res : Result<T, Error>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:48:17: warning: capture of 'completionHandler' with non-sendable type '((Result<T, Error>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |
47 | guard let response = response as? HTTPURLResponse else {
48 | completionHandler?(.systemFailure(error!))
| |- warning: capture of 'completionHandler' with non-sendable type '((Result<T, Error>) -> 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'
49 | return
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:57:33: warning: capture of 'decoders' with non-sendable type '[String : any CodableDecoder]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | }
56 |
57 | guard let decoder = decoders[contentType] else {
| `- warning: capture of 'decoders' with non-sendable type '[String : any CodableDecoder]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | fatalError("Unable to determine decoder for response content-type")
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/Codable+DynamicCoder.swift:28:17: note: protocol 'CodableDecoder' does not conform to the 'Sendable' protocol
26 | Provide a common interface for decoders.
27 | */
28 | public protocol CodableDecoder {
| `- note: protocol 'CodableDecoder' does not conform to the 'Sendable' protocol
29 |
30 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class RESTClient<Error> where Error : Swift.Error & Decodable {
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[14/31] Compiling RESTClient RESTClient+Sync.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:17:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
15 | Note that this method requires a response body for successful requests. If it is possible for the body to be nil use dataTask<T : Codable & ExpressibleByNilLiteral>(_:, with:, completionHandler:).
16 | */
17 | open func dataTask<T : Decodable>(_ type: T.Type, with request: URLRequest, completionHandler: ((Result<T, Error>) -> Void)? = nil) -> URLSessionDataTask {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
18 | return dataTask(T?.self, with: request, completionHandler: { result in
19 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:40:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
38 | This method allows for the poosibility of a nil response body when the request is successful, however, additional unwrapping is required.
39 | */
40 | open func dataTask<T : Decodable & ExpressibleByNilLiteral>(_ type: T.Type, with request: URLRequest, completionHandler: ((Result<T, Error>) -> Void)? = nil) -> URLSessionDataTask {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
41 |
42 | var request = request
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:99:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
97 | Note that this method blocks until the task completes and calls it's completion handler at which time a value may be returned or an error may be thrown.
98 | */
99 | open func performSyncDataTask<T : Decodable>(_ type: T.Type, with request: URLRequest) throws -> T? {
| `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
100 |
101 | var res : Result<T, Error>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:48:17: warning: capture of 'completionHandler' with non-sendable type '((Result<T, Error>) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 |
47 | guard let response = response as? HTTPURLResponse else {
48 | completionHandler?(.systemFailure(error!))
| |- warning: capture of 'completionHandler' with non-sendable type '((Result<T, Error>) -> 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'
49 | return
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient+DataTask.swift:57:33: warning: capture of 'decoders' with non-sendable type '[String : any CodableDecoder]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | }
56 |
57 | guard let decoder = decoders[contentType] else {
| `- warning: capture of 'decoders' with non-sendable type '[String : any CodableDecoder]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
58 | fatalError("Unable to determine decoder for response content-type")
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/Codable+DynamicCoder.swift:28:17: note: protocol 'CodableDecoder' does not conform to the 'Sendable' protocol
26 | Provide a common interface for decoders.
27 | */
28 | public protocol CodableDecoder {
| `- note: protocol 'CodableDecoder' does not conform to the 'Sendable' protocol
29 |
30 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T : Decodable
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/RESTClient.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class RESTClient<Error> where Error : Swift.Error & Decodable {
12 |
13 | open let baseURL : URL
| `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |
15 | private(set) var session : URLSession
[15/31] Compiling RESTClient Result.swift
[16/31] Compiling RESTClient _Context.swift
[17/31] Compiling RESTClient Dictionary+URLQueryItem.swift
[18/31] Compiling RESTClient EnumCollection.swift
[19/31] Compiling RESTClient URLRequest+CodableBody.swift
[20/31] Compiling RESTClient URLRequest+Convenience.swift
[21/31] Compiling RESTClient AuthorizationHeader.swift
[22/31] Compiling RESTClient Codable+DynamicCoder.swift
[23/31] Compiling RESTClient ContentType.swift
[24/31] Compiling RESTClient FormURLEncoder.swift
[25/31] Compiling RESTClient JSONEncoder.swift
[26/31] Compiling RESTClient Accept.swift
[27/31] Compiling RESTClient HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/HTTPStatus.swift:72:16: warning: static property 'acceptableRange' is not concurrency-safe because non-'Sendable' type 'ClosedRange<HTTPStatus>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | //MARK: Status Code Definitions
11 | public enum HTTPStatus : Int {
| `- note: consider making enum 'HTTPStatus' conform to the 'Sendable' protocol
12 |
13 | case unknown = -1
:
70 | extension HTTPStatus {
71 |
72 | static let acceptableRange = HTTPStatus.ok...HTTPStatus.partialContent
| |- warning: static property 'acceptableRange' is not concurrency-safe because non-'Sendable' type 'ClosedRange<HTTPStatus>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptableRange' 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
73 |
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/HTTPStatus.swift:77:10: warning: associated value 'unacceptableStatus' of 'Sendable'-conforming enum 'HTTPURLResponseError' has non-sendable type 'HTTPStatus'; this is an error in the Swift 6 language mode
9 |
10 | //MARK: Status Code Definitions
11 | public enum HTTPStatus : Int {
| `- note: consider making enum 'HTTPStatus' conform to the 'Sendable' protocol
12 |
13 | case unknown = -1
:
75 |
76 | public enum HTTPURLResponseError : Error {
77 | case unacceptableStatus(HTTPStatus)
| `- warning: associated value 'unacceptableStatus' of 'Sendable'-conforming enum 'HTTPURLResponseError' has non-sendable type 'HTTPStatus'; this is an error in the Swift 6 language mode
78 | }
79 |
[28/31] Compiling RESTClient HTTPStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/HTTPStatus.swift:72:16: warning: static property 'acceptableRange' is not concurrency-safe because non-'Sendable' type 'ClosedRange<HTTPStatus>' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | //MARK: Status Code Definitions
11 | public enum HTTPStatus : Int {
| `- note: consider making enum 'HTTPStatus' conform to the 'Sendable' protocol
12 |
13 | case unknown = -1
:
70 | extension HTTPStatus {
71 |
72 | static let acceptableRange = HTTPStatus.ok...HTTPStatus.partialContent
| |- warning: static property 'acceptableRange' is not concurrency-safe because non-'Sendable' type 'ClosedRange<HTTPStatus>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'acceptableRange' 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
73 |
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/RESTClient/Extensions/HTTPStatus.swift:77:10: warning: associated value 'unacceptableStatus' of 'Sendable'-conforming enum 'HTTPURLResponseError' has non-sendable type 'HTTPStatus'; this is an error in the Swift 6 language mode
9 |
10 | //MARK: Status Code Definitions
11 | public enum HTTPStatus : Int {
| `- note: consider making enum 'HTTPStatus' conform to the 'Sendable' protocol
12 |
13 | case unknown = -1
:
75 |
76 | public enum HTTPURLResponseError : Error {
77 | case unacceptableStatus(HTTPStatus)
| `- warning: associated value 'unacceptableStatus' of 'Sendable'-conforming enum 'HTTPURLResponseError' has non-sendable type 'HTTPStatus'; this is an error in the Swift 6 language mode
78 | }
79 |
[29/77] Compiling StripeKit EnumCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Extensions/URLSessionConfiguration+Stripe.swift:12:5: warning: 'public' modifier is redundant for static method declared in a public extension
10 | public extension URLSessionConfiguration {
11 |
12 | public static func stripeApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
13 | let sessionConfig = URLSessionConfiguration.ephemeral
14 | sessionConfig.allowsCellularAccess = true
[30/77] Compiling StripeKit Query+Stripe.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Extensions/URLSessionConfiguration+Stripe.swift:12:5: warning: 'public' modifier is redundant for static method declared in a public extension
10 | public extension URLSessionConfiguration {
11 |
12 | public static func stripeApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
13 | let sessionConfig = URLSessionConfiguration.ephemeral
14 | sessionConfig.allowsCellularAccess = true
[31/77] Compiling StripeKit Resource.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Extensions/URLSessionConfiguration+Stripe.swift:12:5: warning: 'public' modifier is redundant for static method declared in a public extension
10 | public extension URLSessionConfiguration {
11 |
12 | public static func stripeApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
13 | let sessionConfig = URLSessionConfiguration.ephemeral
14 | sessionConfig.allowsCellularAccess = true
[32/77] Compiling StripeKit URLSessionConfiguration+Stripe.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Extensions/URLSessionConfiguration+Stripe.swift:12:5: warning: 'public' modifier is redundant for static method declared in a public extension
10 | public extension URLSessionConfiguration {
11 |
12 | public static func stripeApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
13 | let sessionConfig = URLSessionConfiguration.ephemeral
14 | sessionConfig.allowsCellularAccess = true
[33/77] Compiling StripeKit Balance.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Extensions/URLSessionConfiguration+Stripe.swift:12:5: warning: 'public' modifier is redundant for static method declared in a public extension
10 | public extension URLSessionConfiguration {
11 |
12 | public static func stripeApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
13 | let sessionConfig = URLSessionConfiguration.ephemeral
14 | sessionConfig.allowsCellularAccess = true
[34/82] Compiling StripeKit Product+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[35/82] Compiling StripeKit Product+List.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[36/82] Compiling StripeKit Product+Update.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[37/82] Compiling StripeKit Product.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[38/82] Compiling StripeKit _ProductCreationContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[39/82] Compiling StripeKit _CustomerEditingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[40/82] Compiling StripeKit Discount.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[41/82] Compiling StripeKit List+Plan.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[42/82] Compiling StripeKit Plan+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[43/82] Compiling StripeKit Plan+List.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[44/82] Compiling StripeKit _SubsctiprionEditingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:37:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
38 |
39 | public static let `default` : StripeFiles = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:39:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public class StripeFiles : StripeRESTClient {
| `- note: class 'StripeFiles' does not conform to the 'Sendable' protocol
31 |
32 | public init(_ apiKey: String) {
:
37 | public static var apiKey : String? = nil
38 |
39 | public static let `default` : StripeFiles = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
40 | guard let key = StripeFiles.apiKey else {
41 | fatalError("StripeFiles.apiKey must be set in order to use StripeFiles.default singleton instance.")
[45/82] Compiling StripeKit SubscriptionItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:37:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
38 |
39 | public static let `default` : StripeFiles = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:39:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public class StripeFiles : StripeRESTClient {
| `- note: class 'StripeFiles' does not conform to the 'Sendable' protocol
31 |
32 | public init(_ apiKey: String) {
:
37 | public static var apiKey : String? = nil
38 |
39 | public static let `default` : StripeFiles = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
40 | guard let key = StripeFiles.apiKey else {
41 | fatalError("StripeFiles.apiKey must be set in order to use StripeFiles.default singleton instance.")
[46/82] Compiling StripeKit SubscriptionItemCreationContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:37:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
38 |
39 | public static let `default` : StripeFiles = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:39:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public class StripeFiles : StripeRESTClient {
| `- note: class 'StripeFiles' does not conform to the 'Sendable' protocol
31 |
32 | public init(_ apiKey: String) {
:
37 | public static var apiKey : String? = nil
38 |
39 | public static let `default` : StripeFiles = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
40 | guard let key = StripeFiles.apiKey else {
41 | fatalError("StripeFiles.apiKey must be set in order to use StripeFiles.default singleton instance.")
[47/82] Compiling StripeKit SubscriptionItemEditingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:37:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
38 |
39 | public static let `default` : StripeFiles = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:39:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public class StripeFiles : StripeRESTClient {
| `- note: class 'StripeFiles' does not conform to the 'Sendable' protocol
31 |
32 | public init(_ apiKey: String) {
:
37 | public static var apiKey : String? = nil
38 |
39 | public static let `default` : StripeFiles = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
40 | guard let key = StripeFiles.apiKey else {
41 | fatalError("StripeFiles.apiKey must be set in order to use StripeFiles.default singleton instance.")
[48/82] Compiling StripeKit StripeKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:37:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
38 |
39 | public static let `default` : StripeFiles = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:39:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public class StripeFiles : StripeRESTClient {
| `- note: class 'StripeFiles' does not conform to the 'Sendable' protocol
31 |
32 | public init(_ apiKey: String) {
:
37 | public static var apiKey : String? = nil
38 |
39 | public static let `default` : StripeFiles = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
40 | guard let key = StripeFiles.apiKey else {
41 | fatalError("StripeFiles.apiKey must be set in order to use StripeFiles.default singleton instance.")
[49/82] Compiling StripeKit SourceEditingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[50/82] Compiling StripeKit Subscription+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[51/82] Compiling StripeKit Subscription+Update.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[52/82] Compiling StripeKit Subscription.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[53/82] Compiling StripeKit _SubscriptionCreationContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[54/82] Compiling StripeKit Fee.swift
[55/82] Compiling StripeKit Funds.swift
[56/82] Compiling StripeKit SourcesTypes.swift
[57/82] Compiling StripeKit Card.swift
[58/82] Compiling StripeKit Coupon.swift
[59/82] Compiling StripeKit Customer+Create.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:35:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
33 | public struct Source : Resource, Codable, MetadataContainer, Listable {
34 |
35 | public let number : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'number' case to silence this warning
| `- note: make the property mutable instead
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:36:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
34 |
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expMonth' case to silence this warning
| `- note: make the property mutable instead
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:37:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expYear' case to silence this warning
| `- note: make the property mutable instead
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:38:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'cvc' case to silence this warning
| `- note: make the property mutable instead
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:39:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'currency' case to silence this warning
| `- note: make the property mutable instead
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:40:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'name' case to silence this warning
| `- note: make the property mutable instead
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:41:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine1' case to silence this warning
| `- note: make the property mutable instead
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:42:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine2' case to silence this warning
| `- note: make the property mutable instead
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:43:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressCity' case to silence this warning
| `- note: make the property mutable instead
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:44:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressState' case to silence this warning
| `- note: make the property mutable instead
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:45:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressZip' case to silence this warning
| `- note: make the property mutable instead
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addresCountry' case to silence this warning
| `- note: make the property mutable instead
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:47:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'metadata' case to silence this warning
| `- note: make the property mutable instead
48 | public let defaultForCurrency: Currency? = nil
49 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:48:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'defaultForCurrency' case to silence this warning
| `- note: make the property mutable instead
49 |
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:67:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
65 | public let address : Address
66 | public let name : String
67 | public let phone : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'phone' case to silence this warning
| `- note: make the property mutable instead
68 |
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:74:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
72 |
73 | public let line1 : String
74 | public let city : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'city' case to silence this warning
| `- note: make the property mutable instead
75 | public let country : String? = nil
76 | public let line2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:75:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let line1 : String
74 | public let city : String? = nil
75 | public let country : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'country' case to silence this warning
| `- note: make the property mutable instead
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:76:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
74 | public let city : String? = nil
75 | public let country : String? = nil
76 | public let line2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'line2' case to silence this warning
| `- note: make the property mutable instead
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:77:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
75 | public let country : String? = nil
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'postalCode' case to silence this warning
| `- note: make the property mutable instead
78 | public let state : String? = nil
79 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:78:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'state' case to silence this warning
| `- note: make the property mutable instead
79 |
80 | }
[60/82] Compiling StripeKit Customer+List.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:35:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
33 | public struct Source : Resource, Codable, MetadataContainer, Listable {
34 |
35 | public let number : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'number' case to silence this warning
| `- note: make the property mutable instead
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:36:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
34 |
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expMonth' case to silence this warning
| `- note: make the property mutable instead
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:37:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expYear' case to silence this warning
| `- note: make the property mutable instead
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:38:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'cvc' case to silence this warning
| `- note: make the property mutable instead
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:39:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'currency' case to silence this warning
| `- note: make the property mutable instead
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:40:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'name' case to silence this warning
| `- note: make the property mutable instead
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:41:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine1' case to silence this warning
| `- note: make the property mutable instead
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:42:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine2' case to silence this warning
| `- note: make the property mutable instead
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:43:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressCity' case to silence this warning
| `- note: make the property mutable instead
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:44:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressState' case to silence this warning
| `- note: make the property mutable instead
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:45:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressZip' case to silence this warning
| `- note: make the property mutable instead
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addresCountry' case to silence this warning
| `- note: make the property mutable instead
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:47:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'metadata' case to silence this warning
| `- note: make the property mutable instead
48 | public let defaultForCurrency: Currency? = nil
49 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:48:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'defaultForCurrency' case to silence this warning
| `- note: make the property mutable instead
49 |
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:67:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
65 | public let address : Address
66 | public let name : String
67 | public let phone : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'phone' case to silence this warning
| `- note: make the property mutable instead
68 |
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:74:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
72 |
73 | public let line1 : String
74 | public let city : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'city' case to silence this warning
| `- note: make the property mutable instead
75 | public let country : String? = nil
76 | public let line2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:75:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let line1 : String
74 | public let city : String? = nil
75 | public let country : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'country' case to silence this warning
| `- note: make the property mutable instead
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:76:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
74 | public let city : String? = nil
75 | public let country : String? = nil
76 | public let line2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'line2' case to silence this warning
| `- note: make the property mutable instead
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:77:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
75 | public let country : String? = nil
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'postalCode' case to silence this warning
| `- note: make the property mutable instead
78 | public let state : String? = nil
79 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:78:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'state' case to silence this warning
| `- note: make the property mutable instead
79 |
80 | }
[61/82] Compiling StripeKit Customer+Update.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:35:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
33 | public struct Source : Resource, Codable, MetadataContainer, Listable {
34 |
35 | public let number : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'number' case to silence this warning
| `- note: make the property mutable instead
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:36:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
34 |
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expMonth' case to silence this warning
| `- note: make the property mutable instead
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:37:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expYear' case to silence this warning
| `- note: make the property mutable instead
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:38:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'cvc' case to silence this warning
| `- note: make the property mutable instead
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:39:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'currency' case to silence this warning
| `- note: make the property mutable instead
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:40:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'name' case to silence this warning
| `- note: make the property mutable instead
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:41:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine1' case to silence this warning
| `- note: make the property mutable instead
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:42:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine2' case to silence this warning
| `- note: make the property mutable instead
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:43:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressCity' case to silence this warning
| `- note: make the property mutable instead
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:44:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressState' case to silence this warning
| `- note: make the property mutable instead
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:45:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressZip' case to silence this warning
| `- note: make the property mutable instead
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addresCountry' case to silence this warning
| `- note: make the property mutable instead
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:47:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'metadata' case to silence this warning
| `- note: make the property mutable instead
48 | public let defaultForCurrency: Currency? = nil
49 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:48:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'defaultForCurrency' case to silence this warning
| `- note: make the property mutable instead
49 |
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:67:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
65 | public let address : Address
66 | public let name : String
67 | public let phone : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'phone' case to silence this warning
| `- note: make the property mutable instead
68 |
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:74:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
72 |
73 | public let line1 : String
74 | public let city : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'city' case to silence this warning
| `- note: make the property mutable instead
75 | public let country : String? = nil
76 | public let line2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:75:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let line1 : String
74 | public let city : String? = nil
75 | public let country : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'country' case to silence this warning
| `- note: make the property mutable instead
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:76:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
74 | public let city : String? = nil
75 | public let country : String? = nil
76 | public let line2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'line2' case to silence this warning
| `- note: make the property mutable instead
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:77:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
75 | public let country : String? = nil
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'postalCode' case to silence this warning
| `- note: make the property mutable instead
78 | public let state : String? = nil
79 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:78:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'state' case to silence this warning
| `- note: make the property mutable instead
79 |
80 | }
[62/82] Compiling StripeKit Customer.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:35:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
33 | public struct Source : Resource, Codable, MetadataContainer, Listable {
34 |
35 | public let number : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'number' case to silence this warning
| `- note: make the property mutable instead
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:36:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
34 |
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expMonth' case to silence this warning
| `- note: make the property mutable instead
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:37:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expYear' case to silence this warning
| `- note: make the property mutable instead
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:38:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'cvc' case to silence this warning
| `- note: make the property mutable instead
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:39:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'currency' case to silence this warning
| `- note: make the property mutable instead
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:40:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'name' case to silence this warning
| `- note: make the property mutable instead
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:41:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine1' case to silence this warning
| `- note: make the property mutable instead
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:42:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine2' case to silence this warning
| `- note: make the property mutable instead
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:43:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressCity' case to silence this warning
| `- note: make the property mutable instead
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:44:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressState' case to silence this warning
| `- note: make the property mutable instead
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:45:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressZip' case to silence this warning
| `- note: make the property mutable instead
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addresCountry' case to silence this warning
| `- note: make the property mutable instead
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:47:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'metadata' case to silence this warning
| `- note: make the property mutable instead
48 | public let defaultForCurrency: Currency? = nil
49 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:48:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'defaultForCurrency' case to silence this warning
| `- note: make the property mutable instead
49 |
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:67:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
65 | public let address : Address
66 | public let name : String
67 | public let phone : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'phone' case to silence this warning
| `- note: make the property mutable instead
68 |
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:74:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
72 |
73 | public let line1 : String
74 | public let city : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'city' case to silence this warning
| `- note: make the property mutable instead
75 | public let country : String? = nil
76 | public let line2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:75:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let line1 : String
74 | public let city : String? = nil
75 | public let country : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'country' case to silence this warning
| `- note: make the property mutable instead
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:76:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
74 | public let city : String? = nil
75 | public let country : String? = nil
76 | public let line2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'line2' case to silence this warning
| `- note: make the property mutable instead
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:77:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
75 | public let country : String? = nil
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'postalCode' case to silence this warning
| `- note: make the property mutable instead
78 | public let state : String? = nil
79 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:78:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'state' case to silence this warning
| `- note: make the property mutable instead
79 |
80 | }
[63/82] Compiling StripeKit List+Customer.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:35:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
33 | public struct Source : Resource, Codable, MetadataContainer, Listable {
34 |
35 | public let number : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'number' case to silence this warning
| `- note: make the property mutable instead
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:36:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
34 |
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expMonth' case to silence this warning
| `- note: make the property mutable instead
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:37:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
35 | public let number : String? = nil
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'expYear' case to silence this warning
| `- note: make the property mutable instead
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:38:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
36 | public let expMonth : String? = nil
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'cvc' case to silence this warning
| `- note: make the property mutable instead
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:39:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
37 | public let expYear : String? = nil
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'currency' case to silence this warning
| `- note: make the property mutable instead
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:40:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
38 | public let cvc : String? = nil
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'name' case to silence this warning
| `- note: make the property mutable instead
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:41:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
39 | public let currency : Currency? = nil
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine1' case to silence this warning
| `- note: make the property mutable instead
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:42:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 | public let name : String? = nil
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressLine2' case to silence this warning
| `- note: make the property mutable instead
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:43:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
41 | public let addressLine1 : String? = nil
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressCity' case to silence this warning
| `- note: make the property mutable instead
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:44:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
42 | public let addressLine2 : String? = nil
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressState' case to silence this warning
| `- note: make the property mutable instead
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:45:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
43 | public let addressCity : String? = nil
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addressZip' case to silence this warning
| `- note: make the property mutable instead
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:46:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
44 | public let addressState : String? = nil
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'addresCountry' case to silence this warning
| `- note: make the property mutable instead
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:47:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
45 | public let addressZip : String? = nil
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'metadata' case to silence this warning
| `- note: make the property mutable instead
48 | public let defaultForCurrency: Currency? = nil
49 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:48:20: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
46 | public let addresCountry : String? = nil
47 | public let metadata: Metadata? = nil
48 | public let defaultForCurrency: Currency? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'defaultForCurrency' case to silence this warning
| `- note: make the property mutable instead
49 |
50 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:67:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
65 | public let address : Address
66 | public let name : String
67 | public let phone : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'phone' case to silence this warning
| `- note: make the property mutable instead
68 |
69 | }
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:74:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
72 |
73 | public let line1 : String
74 | public let city : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'city' case to silence this warning
| `- note: make the property mutable instead
75 | public let country : String? = nil
76 | public let line2 : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:75:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
73 | public let line1 : String
74 | public let city : String? = nil
75 | public let country : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'country' case to silence this warning
| `- note: make the property mutable instead
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:76:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
74 | public let city : String? = nil
75 | public let country : String? = nil
76 | public let line2 : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'line2' case to silence this warning
| `- note: make the property mutable instead
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:77:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
75 | public let country : String? = nil
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'postalCode' case to silence this warning
| `- note: make the property mutable instead
78 | public let state : String? = nil
79 |
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Resources/Customer/Customer.swift:78:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
76 | public let line2 : String? = nil
77 | public let postalCode : String? = nil
78 | public let state : String? = nil
| |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
| |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'state' case to silence this warning
| `- note: make the property mutable instead
79 |
80 | }
[64/82] Compiling StripeKit Plan+Update.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[65/82] Compiling StripeKit Plan.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[66/82] Compiling StripeKit _PlanCreationContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[67/82] Compiling StripeKit _PlanEditingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[68/82] Compiling StripeKit List+Product.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[69/82] Compiling StripeKit _ProductEditingContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[70/82] Compiling StripeKit Mandate.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[71/82] Compiling StripeKit Source+Attach.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[72/82] Compiling StripeKit Source.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[73/82] Compiling StripeKit SourceCreationContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
[74/82] Compiling StripeKit Currency.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:23:16: warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
21 | public struct StripeError : Error, Decodable {
22 |
23 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
24 |
25 | // public let charge : Charge?
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:81:16: warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
79 | fileprivate struct _StripeError : Error, Decodable {
80 |
81 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
82 |
83 | // public let charge : Charge?
[75/82] Compiling StripeKit DeleteConfirmation.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:23:16: warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
21 | public struct StripeError : Error, Decodable {
22 |
23 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
24 |
25 | // public let charge : Charge?
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:81:16: warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
79 | fileprivate struct _StripeError : Error, Decodable {
80 |
81 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
82 |
83 | // public let charge : Charge?
[76/82] Compiling StripeKit List.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:23:16: warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
21 | public struct StripeError : Error, Decodable {
22 |
23 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
24 |
25 | // public let charge : Charge?
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:81:16: warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
79 | fileprivate struct _StripeError : Error, Decodable {
80 |
81 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
82 |
83 | // public let charge : Charge?
[77/82] Compiling StripeKit Metadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:23:16: warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
21 | public struct StripeError : Error, Decodable {
22 |
23 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
24 |
25 | // public let charge : Charge?
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:81:16: warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
79 | fileprivate struct _StripeError : Error, Decodable {
80 |
81 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
82 |
83 | // public let charge : Charge?
[78/82] Compiling StripeKit StripeError.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:23:16: warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
21 | public struct StripeError : Error, Decodable {
22 |
23 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
24 |
25 | // public let charge : Charge?
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:81:16: warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
79 | fileprivate struct _StripeError : Error, Decodable {
80 |
81 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
82 |
83 | // public let charge : Charge?
[79/82] Emitting module StripeKit
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Extensions/URLSessionConfiguration+Stripe.swift:12:5: warning: 'public' modifier is redundant for static method declared in a public extension
10 | public extension URLSessionConfiguration {
11 |
12 | public static func stripeApi(withBearer token: String) -> URLSessionConfiguration {
| `- warning: 'public' modifier is redundant for static method declared in a public extension
13 | let sessionConfig = URLSessionConfiguration.ephemeral
14 | sessionConfig.allowsCellularAccess = true
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:20:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
9 | import RESTClient
10 |
11 | public class Stripe : StripeRESTClient {
| `- note: class 'Stripe' does not conform to the 'Sendable' protocol
12 |
13 | public init(_ apiKey: String) {
:
18 | public static var apiKey : String? = nil
19 |
20 | public static let `default` : Stripe = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Stripe' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
21 | guard let key = Stripe.apiKey else {
22 | fatalError("Stripe.apiKey must be set in order to use Stripe.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:37:23: warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public static var apiKey : String? = nil
| |- warning: static property 'apiKey' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'apiKey' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'apiKey' 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
38 |
39 | public static let `default` : StripeFiles = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:39:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
28 | }
29 |
30 | public class StripeFiles : StripeRESTClient {
| `- note: class 'StripeFiles' does not conform to the 'Sendable' protocol
31 |
32 | public init(_ apiKey: String) {
:
37 | public static var apiKey : String? = nil
38 |
39 | public static let `default` : StripeFiles = {
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'StripeFiles' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
40 | guard let key = StripeFiles.apiKey else {
41 | fatalError("StripeFiles.apiKey must be set in order to use StripeFiles.default singleton instance.")
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:23:16: warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
21 | public struct StripeError : Error, Decodable {
22 |
23 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
24 |
25 | // public let charge : Charge?
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/Types/StripeError.swift:81:16: warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public enum StripeErrorType : String, Decodable {
| `- note: consider making enum 'StripeErrorType' conform to the 'Sendable' protocol
11 | case apiConnectionError = "api_connection_error"
12 | case apiError = "api_error"
:
79 | fileprivate struct _StripeError : Error, Decodable {
80 |
81 | public let type: StripeErrorType
| `- warning: stored property 'type' of 'Sendable'-conforming struct '_StripeError' has non-sendable type 'StripeErrorType'; this is an error in the Swift 6 language mode
82 |
83 | // public let charge : Charge?
[80/84] Compiling StripeKitHarness main.swift
/Users/admin/builder/spi-builder-workspace/Sources/StripeKitHarness/main.swift:11:8: warning: reference to class property 'apiKey' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
9 | import StripeKit
10 |
11 | Stripe.apiKey = "sk_test_4FcuvsWpItBB4OtGL447ZxUw"
| `- warning: reference to class property 'apiKey' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | do {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: note: class property declared here
16 | }
17 |
18 | public static var apiKey : String? = nil
| `- note: class property declared here
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKitHarness/main.swift:76:19: warning: expression implicitly coerced from 'Subscription?' to 'Any'
74 | ])
75 |
76 | print(subscription)
| |- warning: expression implicitly coerced from 'Subscription?' to 'Any'
| |- note: provide a default value to avoid this warning
| |- note: force-unwrap the value to avoid this warning
| `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
77 | }
78 | }
[81/84] Emitting module StripeKitHarness
/Users/admin/builder/spi-builder-workspace/Sources/StripeKitHarness/main.swift:11:8: warning: reference to class property 'apiKey' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
9 | import StripeKit
10 |
11 | Stripe.apiKey = "sk_test_4FcuvsWpItBB4OtGL447ZxUw"
| `- warning: reference to class property 'apiKey' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | do {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKit/StripeKit.swift:18:23: note: class property declared here
16 | }
17 |
18 | public static var apiKey : String? = nil
| `- note: class property declared here
19 |
20 | public static let `default` : Stripe = {
/Users/admin/builder/spi-builder-workspace/Sources/StripeKitHarness/main.swift:76:19: warning: expression implicitly coerced from 'Subscription?' to 'Any'
74 | ])
75 |
76 | print(subscription)
| |- warning: expression implicitly coerced from 'Subscription?' to 'Any'
| |- note: provide a default value to avoid this warning
| |- note: force-unwrap the value to avoid this warning
| `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
77 | }
78 | }
[81/84] Write Objects.LinkFileList
[82/84] Linking StripeKitHarness
[83/84] Applying StripeKitHarness
Build complete! (26.15s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "StripeKit",
"name" : "StripeKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "StripeKit",
"targets" : [
"StripeKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RESTClient",
"targets" : [
"RESTClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "StripeKitHarness",
"targets" : [
"StripeKitHarness"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "StripeKitTests",
"module_type" : "SwiftTarget",
"name" : "StripeKitTests",
"path" : "Tests/StripeKitTests",
"sources" : [
"StripeKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"StripeKit"
],
"type" : "test"
},
{
"c99name" : "StripeKitHarness",
"module_type" : "SwiftTarget",
"name" : "StripeKitHarness",
"path" : "Sources/StripeKitHarness",
"product_memberships" : [
"StripeKitHarness"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"StripeKit"
],
"type" : "executable"
},
{
"c99name" : "StripeKit",
"module_type" : "SwiftTarget",
"name" : "StripeKit",
"path" : "Sources/StripeKit",
"product_memberships" : [
"StripeKit",
"StripeKitHarness"
],
"sources" : [
"Extensions/EnumCollection.swift",
"Extensions/Query+Stripe.swift",
"Extensions/Resource.swift",
"Extensions/URLSessionConfiguration+Stripe.swift",
"Resources/Balance/Balance.swift",
"Resources/Balance/Fee.swift",
"Resources/Balance/Funds.swift",
"Resources/Balance/SourcesTypes.swift",
"Resources/Card/Card.swift",
"Resources/Coupon.swift",
"Resources/Customer/Customer+Create.swift",
"Resources/Customer/Customer+List.swift",
"Resources/Customer/Customer+Update.swift",
"Resources/Customer/Customer.swift",
"Resources/Customer/List+Customer.swift",
"Resources/Customer/_CustomerEditingContext.swift",
"Resources/Discount.swift",
"Resources/Plan/List+Plan.swift",
"Resources/Plan/Plan+Create.swift",
"Resources/Plan/Plan+List.swift",
"Resources/Plan/Plan+Update.swift",
"Resources/Plan/Plan.swift",
"Resources/Plan/_PlanCreationContext.swift",
"Resources/Plan/_PlanEditingContext.swift",
"Resources/Product/List+Product.swift",
"Resources/Product/Product+Create.swift",
"Resources/Product/Product+List.swift",
"Resources/Product/Product+Update.swift",
"Resources/Product/Product.swift",
"Resources/Product/_ProductCreationContext.swift",
"Resources/Product/_ProductEditingContext.swift",
"Resources/Source/Mandate.swift",
"Resources/Source/Source+Attach.swift",
"Resources/Source/Source.swift",
"Resources/Source/SourceCreationContext.swift",
"Resources/Source/SourceEditingContext.swift",
"Resources/Subscription/Subscription+Create.swift",
"Resources/Subscription/Subscription+Update.swift",
"Resources/Subscription/Subscription.swift",
"Resources/Subscription/_SubscriptionCreationContext.swift",
"Resources/Subscription/_SubsctiprionEditingContext.swift",
"Resources/SubscriptionItem/SubscriptionItem.swift",
"Resources/SubscriptionItem/SubscriptionItemCreationContext.swift",
"Resources/SubscriptionItem/SubscriptionItemEditingContext.swift",
"StripeKit.swift",
"Types/Currency.swift",
"Types/DeleteConfirmation.swift",
"Types/List.swift",
"Types/Metadata.swift",
"Types/StripeError.swift"
],
"target_dependencies" : [
"RESTClient"
],
"type" : "library"
},
{
"c99name" : "RESTClient",
"module_type" : "SwiftTarget",
"name" : "RESTClient",
"path" : "Sources/RESTClient",
"product_memberships" : [
"StripeKit",
"RESTClient",
"StripeKitHarness"
],
"sources" : [
"Encoders/FormURLEncoder.swift",
"Encoders/JSONEncoder.swift",
"Extensions/Accept.swift",
"Extensions/AuthorizationHeader.swift",
"Extensions/Codable+DynamicCoder.swift",
"Extensions/ContentType.swift",
"Extensions/Dictionary+URLQueryItem.swift",
"Extensions/EnumCollection.swift",
"Extensions/HTTPMethod.swift",
"Extensions/HTTPStatus.swift",
"Extensions/URLRequest+CodableBody.swift",
"Extensions/URLRequest+Convenience.swift",
"Extensions/URLSessionConfiguration.swift",
"RESTClient+Async.swift",
"RESTClient+DataTask.swift",
"RESTClient+Sync.swift",
"RESTClient.swift",
"Resource.swift",
"Result.swift",
"_Context.swift",
"_CreationContext.swift",
"_EditingContext.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.