Build Information
Successful build of wishkit-ios, reference main (3ef72a), with Swift 6.1 for macOS (SPM) on 9 Oct 2026 16:40:34 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/comment")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/UserService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/user")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/WishService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/wish")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
[81/136] Compiling WishKit RequestCreatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Model/WishState+Description.swift:12:1: warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
10 | import WishKitShared
11 |
12 | extension WishState: Identifiable {
| |- warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public var id: Self { self }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/CommentService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/comment")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/UserService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/user")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/WishService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/wish")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
[82/136] Compiling WishKit ChatService.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Model/WishState+Description.swift:12:1: warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
10 | import WishKitShared
11 |
12 | extension WishState: Identifiable {
| |- warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public var id: Self { self }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/CommentService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/comment")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/UserService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/user")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/WishService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/wish")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
[83/136] Compiling WishKit CommentService.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Model/WishState+Description.swift:12:1: warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
10 | import WishKitShared
11 |
12 | extension WishState: Identifiable {
| |- warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public var id: Self { self }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/CommentService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/comment")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/UserService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/user")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/WishService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/wish")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
[84/136] Compiling WishKit UserService.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Model/WishState+Description.swift:12:1: warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
10 | import WishKitShared
11 |
12 | extension WishState: Identifiable {
| |- warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public var id: Self { self }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/CommentService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/comment")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/UserService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/user")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/WishService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/wish")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
[85/136] Compiling WishKit WishService.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Model/WishState+Description.swift:12:1: warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
10 | import WishKitShared
11 |
12 | extension WishState: Identifiable {
| |- warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public var id: Self { self }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/CommentService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/comment")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/UserService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/user")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/WishService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/wish")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
[86/136] Compiling WishKit PrivateTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Model/WishState+Description.swift:12:1: warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
10 | import WishKitShared
11 |
12 | extension WishState: Identifiable {
| |- warning: extension declares a conformance of imported type 'WishState' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'WishKitShared' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
13 | public var id: Self { self }
14 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/CommentService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/comment")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/UserService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/user")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Service/WishService.swift:16:24: warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | private static let baseUrl = "\(ProjectSettings.apiUrl)"
15 |
16 | private static var endpoint = URL(string: "\(baseUrl)/wish")
| |- warning: static property 'endpoint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'endpoint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'endpoint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: - URLRequests
[87/136] Compiling WishKit WishTranslateSection+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[88/136] Compiling WishKit WishView+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[89/136] Compiling WishKit DetailWishView+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[90/136] Compiling WishKit WishlistSegmentedControlSectionView+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[91/136] Compiling WishKit WishlistView+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[92/136] Compiling WishKit CreateWishView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[93/136] Compiling WishKit CloseButton+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[94/136] Compiling WishKit WishView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[95/136] Compiling WishKit DetailWishView+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[96/136] Compiling WishKit WishlistContainer+macOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/macOS/UI/WishView+macOS.swift:202:44: warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
200 | let requestStartedAt = Date()
201 | let request = VoteWishRequest(wishId: wishResponse.id)
202 | let result = await WishService.voteWish(voteRequest: request)
| `- warning: non-sendable result type 'ApiResult<VoteWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'voteWish(voteRequest:)'; this is an error in the Swift 6 language mode
203 | guard !Task.isCancelled else {
204 | return
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[97/136] Compiling WishKit Payment.swift
[98/136] Compiling WishKit RoundUp.swift
[99/136] Compiling WishKit Configuration.swift
[100/136] Compiling WishKit ConfigurationAddButton.swift
[101/136] Compiling WishKit ConfigurationButtons.swift
[102/136] Compiling WishKit ConfigurationDisplay.swift
[103/136] Compiling WishKit ConfigurationDoneButton.swift
[104/136] Compiling WishKit ConfigurationEmailField.swift
[105/136] Compiling WishKit ConfigurationLocalization.swift
[106/136] Compiling WishKit ConfigurationSegmentedControl.swift
[107/136] Compiling WishKit SingleCommentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[108/136] Compiling WishKit ChatViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[109/136] Compiling WishKit CreateWishViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[110/136] Compiling WishKit DetailWishViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[111/136] Compiling WishKit WishlistViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[112/136] Compiling WishKit WishKit+ChatView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[113/136] Compiling WishKit WishKit+FeedbackListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[114/136] Compiling WishKit WishKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[115/136] Compiling WishKit CreateWishView+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[116/136] Compiling WishKit Bundle+AppIcon+iOS.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:105:40: warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
103 |
104 | private func fetchNewMessages() async {
105 | let result = await ChatService.fetchMessages(after: lastServerMessageId)
| `- warning: non-sendable result type 'ApiResult<ChatMessagesResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchMessages(after:)'; this is an error in the Swift 6 language mode
106 |
107 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/ChatViewModel.swift:141:40: warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
139 | defer { isSending = false }
140 |
141 | let result = await ChatService.sendMessage(body: body)
| `- warning: non-sendable result type 'ApiResult<ChatMessage, ApiError>' cannot be sent from nonisolated context in call to static method 'sendMessage(body:)'; this is an error in the Swift 6 language mode
142 |
143 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:74:28: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
72 | email: emailText
73 | )
74 | let result = await createWishAction(createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
75 | switch result {
76 | case .success:
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| `- warning: non-sendable result type 'ApiResult<CreateWishResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createWish(createRequest:)'; this is an error in the Swift 6 language mode
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:48:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
46 |
47 | isLoading = true
48 | let response = await createCommentAction(request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
49 | isLoading = false
50 |
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| `- warning: non-sendable result type 'ApiResult<CommentResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'createComment(request:)'; this is an error in the Swift 6 language mode
66 | }
67 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:17:24: warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | private static let threadLock = NSLock()
16 |
17 | private static var subscribers: Set<AnyCancellable> = []
| |- warning: static property 'subscribers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'subscribers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'subscribers' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | private static var sendUserTask: Task<Void, Never>?
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:19:24: warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | private static var subscribers: Set<AnyCancellable> = []
18 |
19 | private static var sendUserTask: Task<Void, Never>?
| |- warning: static property 'sendUserTask' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sendUserTask' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'sendUserTask' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | static var apiKey = ""
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:21:16: 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
19 | private static var sendUserTask: Task<Void, Never>?
20 |
21 | static var apiKey = ""
| |- 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: add '@MainActor' to make static property 'apiKey' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | static var user = User()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:23:16: warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | static var apiKey = ""
22 |
23 | static var user = User()
| |- warning: static property 'user' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'user' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'user' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | static var _theme = Theme()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:25:16: warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var user = User()
24 |
25 | static var _theme = Theme()
| |- warning: static property '_theme' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_theme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | static var _config = Configuration()
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/WishKit.swift:27:16: warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var _theme = Theme()
26 |
27 | static var _config = Configuration()
| |- warning: static property '_config' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_config' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property '_config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public static var theme: Theme {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/CreateWishViewModel.swift:86:27: warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
84 | createRequest: CreateWishRequest
85 | ) async -> ApiResult<CreateWishResponse, ApiError> {
86 | await WishService.createWish(createRequest: createRequest)
| |- warning: sending 'createRequest' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'createRequest' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
87 | }
88 | }
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/ViewModel/DetailWishViewModel.swift:65:30: warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
63 | request: CreateCommentRequest
64 | ) async -> ApiResult<CommentResponse, ApiError> {
65 | await CommentService.createComment(request: request)
| |- warning: sending 'request' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'request' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
66 | }
67 | }
[117/136] Compiling WishKit PrintKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[118/136] Compiling WishKit UUIDManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[119/136] Compiling WishKit CreateWishSubmitOutcome.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[120/136] Compiling WishKit WishValidation.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[121/136] Compiling WishKit WishValidationEmailValidationResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[122/136] Compiling WishKit WishValidationNormalizedInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[123/136] Compiling WishKit ChatScreenView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[124/136] Compiling WishKit CommentFieldView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[125/136] Compiling WishKit CommentListView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[126/136] Compiling WishKit FeedbackChatButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/View/FeedbackChatButton.swift:104:40: warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
102 |
103 | private func refreshUnreadStatus() async {
104 | let result = await ChatService.fetchStatus()
| `- warning: non-sendable result type 'ApiResult<ChatStatusResponse, ApiError>' cannot be sent from nonisolated context in call to static method 'fetchStatus()'; this is an error in the Swift 6 language mode
105 |
106 | switch result {
/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Shared/Networking/ApiResult.swift:11:6: note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
9 | import Foundation
10 |
11 | enum ApiResult<Success, Error> {
| `- note: consider making generic enum 'ApiResult' conform to the 'Sendable' protocol
12 |
13 | case success(Success)
[127/136] Compiling WishKit Theme.swift
[128/136] Compiling WishKit ThemeBadgeTheme.swift
[129/136] Compiling WishKit ThemeScheme.swift
[130/136] Compiling WishKit WishViewKind.swift
[131/136] Compiling WishKit WishVoteCountTextView.swift
[132/136] Compiling WishKit WishlistSkeletonView.swift
[133/136] Compiling WishKit AppEnvironment.swift
[134/136] Compiling WishKit FeedbackLanguage.swift
[135/136] Compiling WishKit Platform.swift
[136/136] Compiling WishKit Print+Precisely.swift
Build complete! (17.77s)
Fetching https://github.com/wishkit/wishkit-ios-shared.git
[1/316] Fetching wishkit-ios-shared
Fetched https://github.com/wishkit/wishkit-ios-shared.git from cache (0.77s)
Computing version for https://github.com/wishkit/wishkit-ios-shared.git
Computed https://github.com/wishkit/wishkit-ios-shared.git at 1.5.0 (4.13s)
Creating working copy for https://github.com/wishkit/wishkit-ios-shared.git
Working copy of https://github.com/wishkit/wishkit-ios-shared.git resolved at 1.5.0
Build complete.
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "wishkit-ios-shared",
"requirement" : {
"exact" : [
"1.5.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/wishkit/wishkit-ios-shared.git"
}
],
"manifest_display_name" : "wishkit-ios",
"name" : "wishkit-ios",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "WishKit",
"targets" : [
"WishKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WishKitTests",
"module_type" : "SwiftTarget",
"name" : "WishKitTests",
"path" : "Tests/WishKitTests",
"sources" : [
"ConfigurationLocalizationTests.swift",
"CreateWishViewModelTests.swift",
"DetailWishViewModelTests.swift",
"FeedbackLanguageTests.swift",
"MainTest.swift",
"PaymentTests.swift",
"WishFilteringTests.swift",
"WishModelFilterTests.swift",
"WishValidationTests.swift",
"WishlistViewModelTests.swift"
],
"target_dependencies" : [
"WishKit"
],
"type" : "test"
},
{
"c99name" : "WishKit",
"module_type" : "SwiftTarget",
"name" : "WishKit",
"path" : "Sources/WishKit",
"product_dependencies" : [
"WishKitShared"
],
"product_memberships" : [
"WishKit"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/da.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "da"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/de.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "de"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/es.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/fi.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fi"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/fr.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "fr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/it.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "it"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/ja.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ja"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/ko.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "ko"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/nb.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "nb"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/nl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "nl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/pl.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pl"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/pt-BR.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "pt-br"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/sv.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "sv"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/tr.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "tr"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/zh-Hans.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "zh-hans"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/WishKit/Resources/zh-Hant.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "zh-hant"
}
}
}
],
"sources" : [
"Shared/Billing/Payment.swift",
"Shared/Billing/RoundUp.swift",
"Shared/Configuration/Configuration.swift",
"Shared/Configuration/ConfigurationAddButton.swift",
"Shared/Configuration/ConfigurationButtons.swift",
"Shared/Configuration/ConfigurationDisplay.swift",
"Shared/Configuration/ConfigurationDoneButton.swift",
"Shared/Configuration/ConfigurationEmailField.swift",
"Shared/Configuration/ConfigurationLocalization.swift",
"Shared/Configuration/ConfigurationSegmentedControl.swift",
"Shared/Configuration/ConfigurationTabBar.swift",
"Shared/Configuration/ConfigurationTranslateButton.swift",
"Shared/Configuration/ConfigurationVoteButton.swift",
"Shared/Extensions/Bundle+AppName.swift",
"Shared/Extensions/Date+Formatted.swift",
"Shared/Extensions/View+FullWidthListSeparator.swift",
"Shared/Extensions/View+WithNavigation.swift",
"Shared/Extensions/WishResponse+Identifiable.swift",
"Shared/Model/AlertModel.swift",
"Shared/Model/AlertReason.swift",
"Shared/Model/ChatMessage.swift",
"Shared/Model/LocalWishState.swift",
"Shared/Model/User.swift",
"Shared/Model/WishFiltering.swift",
"Shared/Model/WishFilteringLists.swift",
"Shared/Model/WishKitUpvoteIcon.swift",
"Shared/Model/WishModel.swift",
"Shared/Model/WishModelAccumulator.swift",
"Shared/Model/WishModelFilterBucket.swift",
"Shared/Model/WishModelFilteredLists.swift",
"Shared/Model/WishState+Description.swift",
"Shared/Networking/ApiClient.swift",
"Shared/Networking/ApiResult.swift",
"Shared/Networking/ProjectSettings.swift",
"Shared/Networking/RequestCreatable.swift",
"Shared/Service/ChatService.swift",
"Shared/Service/CommentService.swift",
"Shared/Service/UserService.swift",
"Shared/Service/WishService.swift",
"Shared/Theme/PrivateTheme.swift",
"Shared/Theme/Theme.swift",
"Shared/Theme/ThemeBadgeTheme.swift",
"Shared/Theme/ThemeScheme.swift",
"Shared/UI/WishViewKind.swift",
"Shared/UI/WishVoteCountTextView.swift",
"Shared/UI/WishlistSkeletonView.swift",
"Shared/Utilities/AppEnvironment.swift",
"Shared/Utilities/FeedbackLanguage.swift",
"Shared/Utilities/Platform.swift",
"Shared/Utilities/Print+Precisely.swift",
"Shared/Utilities/PrintKind.swift",
"Shared/Utilities/UUIDManager.swift",
"Shared/Validation/CreateWishSubmitOutcome.swift",
"Shared/Validation/WishValidation.swift",
"Shared/Validation/WishValidationEmailValidationResult.swift",
"Shared/Validation/WishValidationNormalizedInput.swift",
"Shared/View/ChatScreenView.swift",
"Shared/View/CommentFieldView.swift",
"Shared/View/CommentListView.swift",
"Shared/View/FeedbackChatButton.swift",
"Shared/View/SingleCommentView.swift",
"Shared/ViewModel/ChatViewModel.swift",
"Shared/ViewModel/CreateWishViewModel.swift",
"Shared/ViewModel/DetailWishViewModel.swift",
"Shared/ViewModel/WishlistViewModel.swift",
"WishKit+ChatView.swift",
"WishKit+FeedbackListView.swift",
"WishKit.swift",
"iOS/CreateWish/View/CreateWishView+iOS.swift",
"iOS/Extensions/Bundle+AppIcon+iOS.swift",
"iOS/UI/WishTranslateSection+iOS.swift",
"iOS/UI/WishView+iOS.swift",
"iOS/WishDetail/View/DetailWishView+iOS.swift",
"iOS/Wishlist/View/WishlistSegmentedControlSectionView+iOS.swift",
"iOS/Wishlist/View/WishlistView+iOS.swift",
"macOS/CreateWish/View/CreateWishView+macOS.swift",
"macOS/UI/CloseButton+macOS.swift",
"macOS/UI/WishView+macOS.swift",
"macOS/WishDetail/View/DetailWishView+macOS.swift",
"macOS/Wishlist/View/WishlistContainer+macOS.swift",
"macOS/Wishlist/View/WishlistView+macOS.swift",
"tvOS/UI/WishView+tvOS.swift",
"tvOS/WishDetail/View/DetailWishView+tvOS.swift",
"tvOS/Wishlist/View/WishlistFilterCycleButton+tvOS.swift",
"tvOS/Wishlist/View/WishlistView+tvOS.swift",
"visionOS/CreateWish/View/CreateWishView+visionOS.swift",
"visionOS/Extensions/Bundle+AppIcon+visionOS.swift",
"visionOS/UI/CloseButton+visionOS.swift",
"visionOS/UI/WishView+visionOS.swift",
"visionOS/UI/WishlistSkeletonView+visionOS.swift",
"visionOS/View/CommentFieldView+visionOS.swift",
"visionOS/View/CommentListView+visionOS.swift",
"visionOS/WishDetail/View/DetailWishView+visionOS.swift",
"visionOS/Wishlist/View/WishlistContainer+visionOS.swift",
"visionOS/Wishlist/View/WishlistView+visionOS.swift",
"watchOS/UI/WishView+watchOS.swift",
"watchOS/WishDetail/View/DetailWishView+watchOS.swift",
"watchOS/Wishlist/View/WishlistFilterCycleButton+watchOS.swift",
"watchOS/Wishlist/View/WishlistView+watchOS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.