Build Information
Successful build of StripeKit, reference master (44a0e6
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 03:30:00 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
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.")
[46/92] 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.")
[47/92] 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.")
[48/92] 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.")
[49/92] 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.")
[50/92] 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.")
[51/92] 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.")
[52/92] 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.")
[53/92] 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.")
[54/92] 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.")
[55/92] 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.")
[56/92] 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.")
[57/92] 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.")
[58/92] 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.")
[59/92] Compiling StripeKit Subscription.swift
[60/92] Compiling StripeKit _SubscriptionCreationContext.swift
[61/92] Compiling StripeKit _SubsctiprionEditingContext.swift
[62/92] Compiling StripeKit SubscriptionItem.swift
[63/92] Compiling StripeKit SubscriptionItemCreationContext.swift
[64/92] Compiling StripeKit SubscriptionItemEditingContext.swift
[65/92] Compiling StripeKit ExternalAccountUpdateContext.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/92] Compiling StripeKit List+ExternalAccount.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/92] 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.")
[68/92] 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.")
[69/92] 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.")
[70/92] 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.")
[71/92] Compiling StripeKit Coupon.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:73:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
71 | public struct Address : Codable {
72 |
73 | public let line1 : 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 'line1' case to silence this warning
| `- note: make the property mutable instead
74 | public let city : String? = nil
75 | public let country : String? = nil
/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? = nil
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? = nil
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 | }
[72/92] 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:73:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
71 | public struct Address : Codable {
72 |
73 | public let line1 : 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 'line1' case to silence this warning
| `- note: make the property mutable instead
74 | public let city : String? = nil
75 | public let country : String? = nil
/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? = nil
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? = nil
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 | }
[73/92] 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:73:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
71 | public struct Address : Codable {
72 |
73 | public let line1 : 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 'line1' case to silence this warning
| `- note: make the property mutable instead
74 | public let city : String? = nil
75 | public let country : String? = nil
/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? = nil
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? = nil
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 | }
[74/92] 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:73:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
71 | public struct Address : Codable {
72 |
73 | public let line1 : 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 'line1' case to silence this warning
| `- note: make the property mutable instead
74 | public let city : String? = nil
75 | public let country : String? = nil
/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? = nil
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? = nil
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 | }
[75/92] 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:73:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
71 | public struct Address : Codable {
72 |
73 | public let line1 : 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 'line1' case to silence this warning
| `- note: make the property mutable instead
74 | public let city : String? = nil
75 | public let country : String? = nil
/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? = nil
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? = nil
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 | }
[76/92] 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:73:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
71 | public struct Address : Codable {
72 |
73 | public let line1 : 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 'line1' case to silence this warning
| `- note: make the property mutable instead
74 | public let city : String? = nil
75 | public let country : String? = nil
/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? = nil
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? = nil
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 | }
[77/92] 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.")
/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/92] Compiling StripeKit Currency.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.")
/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/92] Compiling StripeKit DeleteConfirmation.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.")
/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/92] Compiling StripeKit List.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.")
/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?
[81/92] Compiling StripeKit Metadata.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.")
/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?
[82/92] Compiling StripeKit StripeError.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.")
/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?
[83/92] 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
[84/92] 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
[85/92] 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
[86/92] 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
[87/92] Compiling StripeKit Account+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/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
[88/92] Compiling StripeKit Account.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
[89/92] 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?
[90/94] 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:89:11: warning: expression implicitly coerced from 'Account?' to 'Any'
87 | let account = try Account.create(type: .custom, email: "kyle@kyleishie.com")
88 |
89 | print(account)
| |- warning: expression implicitly coerced from 'Account?' 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
90 |
91 | } catch {
[91/94] 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:89:11: warning: expression implicitly coerced from 'Account?' to 'Any'
87 | let account = try Account.create(type: .custom, email: "kyle@kyleishie.com")
88 |
89 | print(account)
| |- warning: expression implicitly coerced from 'Account?' 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
90 |
91 | } catch {
[91/94] Write Objects.LinkFileList
[92/94] Linking StripeKitHarness
[93/94] Applying StripeKitHarness
Build complete! (22.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/Account/Account+Create.swift",
"Resources/Account/Account.swift",
"Resources/Account/AccountCreationContext.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/ExternalAccount/ExternalAccount+Create.swift",
"Resources/ExternalAccount/ExternalAccount+List.swift",
"Resources/ExternalAccount/ExternalAccount.swift",
"Resources/ExternalAccount/ExternalAccountCreationContext.swift",
"Resources/ExternalAccount/ExternalAccountUpdateContext.swift",
"Resources/ExternalAccount/List+ExternalAccount.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+Create.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.