The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HAKit, reference main (e66483), with Swift 6.1 for macOS (SPM) on 20 Apr 2026 00:55:05 UTC.

Swift 6 data race errors: 43

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:29: warning: capture of 'handler' with non-sendable type '(any HACancellable, T) -> Void' in a '@Sendable' closure
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                             |- warning: capture of 'handler' with non-sendable type '(any HACancellable, T) -> Void' in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:37: warning: capture of 'token' with non-sendable type 'any HACancellable' in a '@Sendable' closure
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                                     `- warning: capture of 'token' with non-sendable type 'any HACancellable' in a '@Sendable' closure
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:44: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
258 |     }
259 |
260 |     private func commonSubscribe<T>(
    |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
261 |         to request: HATypedSubscription<T>,
262 |         allowConnecting: Bool = true,
    :
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                                            `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:337:30: warning: capture of 'request' with non-sendable type 'HARequest' in a '@Sendable' closure
335 |     ) {
336 |         workQueue.async { [connection] in
337 |             var dictionary = request.data
    |                              `- warning: capture of 'request' with non-sendable type 'HARequest' in a '@Sendable' closure
338 |             if let identifier = identifier {
339 |                 dictionary["id"] = identifier.rawValue
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequest.swift:4:15: note: consider making struct 'HARequest' conform to the 'Sendable' protocol
 2 |
 3 | /// A request, with data, to be issued
 4 | public struct HARequest {
   |               `- note: consider making struct 'HARequest' conform to the 'Sendable' protocol
 5 |     /// Create a request
 6 |     /// - Precondition: data is a JSON-encodable value. From `JSONSerialization` documentation:
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:351:13: warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
349 |             }
350 |
351 |             connection?.write(string: string)
    |             `- warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
352 |         }
353 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:95:12: note: class 'WebSocket' does not conform to the 'Sendable' protocol
 93 | }
 94 |
 95 | open class WebSocket: WebSocketClient, EngineDelegate {
    |            `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 96 |     private let engine: Engine
 97 |     public weak var delegate: WebSocketDelegate?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Starscream'
  1 | import Foundation
  2 | import Starscream
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Starscream'
  3 |
  4 | // NOTE: see HAConnection.swift for how to access these types
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:380:25: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
    :
378 |                 let task = urlSession.dataTask(with: httpRequest) { [self] data, response, error in
379 |                     if let response = response {
380 |                         responseController.didReceive(
    |                         `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
381 |                             for: identifier,
382 |                             // This badly-typed API will always return HTTPURLResponses to http/https endpoints.
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:415:13: warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
413 |         audioData.insert(sttBinaryHandlerId, at: 0)
414 |         workQueue.async { [connection] in
415 |             connection?.write(data: audioData) { [weak self] in
    |             `- warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
416 |                 guard let self else { return }
417 |                 self.responseController.didWrite()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:95:12: note: class 'WebSocket' does not conform to the 'Sendable' protocol
 93 | }
 94 |
 95 | open class WebSocket: WebSocketClient, EngineDelegate {
    |            `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 96 |     private let engine: Engine
 97 |     public weak var delegate: WebSocketDelegate?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:415:56: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
    :
413 |         audioData.insert(sttBinaryHandlerId, at: 0)
414 |         workQueue.async { [connection] in
415 |             connection?.write(data: audioData) { [weak self] in
    |                                                        `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
416 |                 guard let self else { return }
417 |                 self.responseController.didWrite()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:415:37: warning: reference to captured var 'audioData' in concurrently-executing code
413 |         audioData.insert(sttBinaryHandlerId, at: 0)
414 |         workQueue.async { [connection] in
415 |             connection?.write(data: audioData) { [weak self] in
    |                                     `- warning: reference to captured var 'audioData' in concurrently-executing code
416 |                 guard let self else { return }
417 |                 self.responseController.didWrite()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:420:25: warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
418 |                 if let identifier, let request = self.requestController.single(for: identifier) {
419 |                     callbackQueue.async {
420 |                         request.resolve(.success(.empty))
    |                         `- warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
421 |                     }
422 |                     requestController.clear(invocation: request)
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSingle.swift:1:16: note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSingle: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 2 |     private var completion: HAResetLock<HAConnection.RequestCompletion>
 3 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:110:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 33 | }
 34 |
 35 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 36 |     struct PingConfig {
 37 |         let interval: Measurement<UnitDuration>
    :
108 |         pathMonitor.pathUpdateHandler = { [weak self] _ in
109 |             // if we're waiting to reconnect, try now!
110 |             self?.state.read(\.reconnectTimer)?.fire()
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
111 |         }
112 |         pathMonitor.start(queue: .main)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:186:17: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 33 | }
 34 |
 35 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 36 |     struct PingConfig {
 37 |         let interval: Measurement<UnitDuration>
    :
184 |                 // Ping timer fired very far after our expected fire date, indicating we were probably suspended
185 |                 // The WebSocket connection is going to fail after such a long interval; force a faster reconnect.
186 |                 self?.handle(pingResult: .failure(HAReconnectManagerError.lateFireReset))
    |                 `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
187 |                 return
188 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:219:13: warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
217 |             repeats: false
218 |         ) { [weak self] _ in
219 |             pingToken?.cancel()
    |             `- warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
220 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
221 |         }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:220:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 33 | }
 34 |
 35 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 36 |     struct PingConfig {
 37 |         let interval: Measurement<UnitDuration>
    :
218 |         ) { [weak self] _ in
219 |             pingToken?.cancel()
220 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
221 |         }
222 |         timeoutTimer?.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:219:13: warning: reference to captured var 'pingToken' in concurrently-executing code
217 |             repeats: false
218 |         ) { [weak self] _ in
219 |             pingToken?.cancel()
    |             `- warning: reference to captured var 'pingToken' in concurrently-executing code
220 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
221 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:462:17: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
460 |         send(.init(type: .ping, data: [:])) { result in
461 |             DispatchQueue.main.async {
462 |                 handler(result.map { _ in () }.mapError { $0 })
    |                 |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
463 |             }
464 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:462:25: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
460 |         send(.init(type: .ping, data: [:])) { result in
461 |             DispatchQueue.main.async {
462 |                 handler(result.map { _ in () }.mapError { $0 })
    |                         |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
463 |             }
464 |         }
[85/101] Compiling HAKit HASchedulingTimer.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:34:13: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
    :
 32 |     internal func notifyState() {
 33 |         callbackQueue.async { [self, state] in
 34 |             delegate?.connection(self, didTransitionTo: state)
    |             `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
 35 |             NotificationCenter.default.post(
 36 |                 name: HAConnectionState.didTransitionToStateNotification,
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:34:57: warning: capture of 'state' with non-sendable type 'HAConnectionState' in a '@Sendable' closure
 32 |     internal func notifyState() {
 33 |         callbackQueue.async { [self, state] in
 34 |             delegate?.connection(self, didTransitionTo: state)
    |                                                         `- warning: capture of 'state' with non-sendable type 'HAConnectionState' in a '@Sendable' closure
 35 |             NotificationCenter.default.post(
 36 |                 name: HAConnectionState.didTransitionToStateNotification,
/Users/admin/builder/spi-builder-workspace/Source/HAConnection.swift:14:13: note: consider making enum 'HAConnectionState' conform to the 'Sendable' protocol
 12 |
 13 | /// State of the connection
 14 | public enum HAConnectionState: Equatable {
    |             `- note: consider making enum 'HAConnectionState' conform to the 'Sendable' protocol
 15 |     /// Notification fired when state transitions occur
 16 |     ///
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:139:47: warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
133 |     }
134 |
135 |     func performConnectionChange(_ block: @escaping () -> Void) {
    |                                    `- note: parameter 'block' is implicitly non-sendable
136 |         if Thread.isMainThread {
137 |             block()
138 |         } else {
139 |             DispatchQueue.main.async(execute: block)
    |                                               `- warning: passing non-sendable parameter 'block' to function expecting a @Sendable closure
140 |         }
141 |     }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:224:53: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
222 |         send(request.request) { [workQueue, callbackQueue] result in
223 |             workQueue.async {
224 |                 let converted: Result<T, HAError> = result.flatMap { data in
    |                                                     `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
225 |                     do {
226 |                         let updated = try T(data: data)
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:234:21: warning: capture of 'completion' with non-sendable type '(Result<T, HAError>) -> Void' in a '@Sendable' closure
232 |
233 |                 callbackQueue.async {
234 |                     completion(converted)
    |                     |- warning: capture of 'completion' with non-sendable type '(Result<T, HAError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
235 |                 }
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:234:21: warning: capture of 'completion' with non-sendable type '(Result<T, HAError>) -> Void' in a '@Sendable' closure
232 |
233 |                 callbackQueue.async {
234 |                     completion(converted)
    |                     |- warning: capture of 'completion' with non-sendable type '(Result<T, HAError>) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
235 |                 }
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:234:32: warning: capture of 'converted' with non-sendable type 'Result<T, HAError>' in a '@Sendable' closure
216 |
217 |     @discardableResult
218 |     func send<T>(
    |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
219 |         _ request: HATypedRequest<T>,
220 |         completion: @escaping (Result<T, HAError>) -> Void
    :
232 |
233 |                 callbackQueue.async {
234 |                     completion(converted)
    |                                `- warning: capture of 'converted' with non-sendable type 'Result<T, HAError>' in a '@Sendable' closure
235 |                 }
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:273:49: warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
271 |                 workQueue.async {
272 |                     do {
273 |                         let value = try T(data: data)
    |                                                 `- warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
274 |                         callbackQueue.async {
275 |                             handler(token, value)
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:29: warning: capture of 'handler' with non-sendable type '(any HACancellable, T) -> Void' in a '@Sendable' closure
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                             |- warning: capture of 'handler' with non-sendable type '(any HACancellable, T) -> Void' in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:37: warning: capture of 'token' with non-sendable type 'any HACancellable' in a '@Sendable' closure
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                                     `- warning: capture of 'token' with non-sendable type 'any HACancellable' in a '@Sendable' closure
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:29: warning: capture of 'handler' with non-sendable type '(any HACancellable, T) -> Void' in a '@Sendable' closure
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                             |- warning: capture of 'handler' with non-sendable type '(any HACancellable, T) -> Void' in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:37: warning: capture of 'token' with non-sendable type 'any HACancellable' in a '@Sendable' closure
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                                     `- warning: capture of 'token' with non-sendable type 'any HACancellable' in a '@Sendable' closure
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:275:44: warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
258 |     }
259 |
260 |     private func commonSubscribe<T>(
    |                                  `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
261 |         to request: HATypedSubscription<T>,
262 |         allowConnecting: Bool = true,
    :
273 |                         let value = try T(data: data)
274 |                         callbackQueue.async {
275 |                             handler(token, value)
    |                                            `- warning: capture of 'value' with non-sendable type 'T' in a '@Sendable' closure
276 |                         }
277 |                     } catch {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:337:30: warning: capture of 'request' with non-sendable type 'HARequest' in a '@Sendable' closure
335 |     ) {
336 |         workQueue.async { [connection] in
337 |             var dictionary = request.data
    |                              `- warning: capture of 'request' with non-sendable type 'HARequest' in a '@Sendable' closure
338 |             if let identifier = identifier {
339 |                 dictionary["id"] = identifier.rawValue
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequest.swift:4:15: note: consider making struct 'HARequest' conform to the 'Sendable' protocol
 2 |
 3 | /// A request, with data, to be issued
 4 | public struct HARequest {
   |               `- note: consider making struct 'HARequest' conform to the 'Sendable' protocol
 5 |     /// Create a request
 6 |     /// - Precondition: data is a JSON-encodable value. From `JSONSerialization` documentation:
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:351:13: warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
349 |             }
350 |
351 |             connection?.write(string: string)
    |             `- warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
352 |         }
353 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:95:12: note: class 'WebSocket' does not conform to the 'Sendable' protocol
 93 | }
 94 |
 95 | open class WebSocket: WebSocketClient, EngineDelegate {
    |            `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 96 |     private let engine: Engine
 97 |     public weak var delegate: WebSocketDelegate?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Starscream'
  1 | import Foundation
  2 | import Starscream
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Starscream'
  3 |
  4 | // NOTE: see HAConnection.swift for how to access these types
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:380:25: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
    :
378 |                 let task = urlSession.dataTask(with: httpRequest) { [self] data, response, error in
379 |                     if let response = response {
380 |                         responseController.didReceive(
    |                         `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
381 |                             for: identifier,
382 |                             // This badly-typed API will always return HTTPURLResponses to http/https endpoints.
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:415:13: warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
413 |         audioData.insert(sttBinaryHandlerId, at: 0)
414 |         workQueue.async { [connection] in
415 |             connection?.write(data: audioData) { [weak self] in
    |             `- warning: capture of 'connection' with non-sendable type 'WebSocket?' in a '@Sendable' closure
416 |                 guard let self else { return }
417 |                 self.responseController.didWrite()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/WebSocket.swift:95:12: note: class 'WebSocket' does not conform to the 'Sendable' protocol
 93 | }
 94 |
 95 | open class WebSocket: WebSocketClient, EngineDelegate {
    |            `- note: class 'WebSocket' does not conform to the 'Sendable' protocol
 96 |     private let engine: Engine
 97 |     public weak var delegate: WebSocketDelegate?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:415:56: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
    :
413 |         audioData.insert(sttBinaryHandlerId, at: 0)
414 |         workQueue.async { [connection] in
415 |             connection?.write(data: audioData) { [weak self] in
    |                                                        `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
416 |                 guard let self else { return }
417 |                 self.responseController.didWrite()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:415:37: warning: reference to captured var 'audioData' in concurrently-executing code
413 |         audioData.insert(sttBinaryHandlerId, at: 0)
414 |         workQueue.async { [connection] in
415 |             connection?.write(data: audioData) { [weak self] in
    |                                     `- warning: reference to captured var 'audioData' in concurrently-executing code
416 |                 guard let self else { return }
417 |                 self.responseController.didWrite()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:420:25: warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
418 |                 if let identifier, let request = self.requestController.single(for: identifier) {
419 |                     callbackQueue.async {
420 |                         request.resolve(.success(.empty))
    |                         `- warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
421 |                     }
422 |                     requestController.clear(invocation: request)
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSingle.swift:1:16: note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSingle: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 2 |     private var completion: HAResetLock<HAConnection.RequestCompletion>
 3 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:110:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 33 | }
 34 |
 35 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 36 |     struct PingConfig {
 37 |         let interval: Measurement<UnitDuration>
    :
108 |         pathMonitor.pathUpdateHandler = { [weak self] _ in
109 |             // if we're waiting to reconnect, try now!
110 |             self?.state.read(\.reconnectTimer)?.fire()
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
111 |         }
112 |         pathMonitor.start(queue: .main)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:186:17: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 33 | }
 34 |
 35 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 36 |     struct PingConfig {
 37 |         let interval: Measurement<UnitDuration>
    :
184 |                 // Ping timer fired very far after our expected fire date, indicating we were probably suspended
185 |                 // The WebSocket connection is going to fail after such a long interval; force a faster reconnect.
186 |                 self?.handle(pingResult: .failure(HAReconnectManagerError.lateFireReset))
    |                 `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
187 |                 return
188 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:219:13: warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
217 |             repeats: false
218 |         ) { [weak self] _ in
219 |             pingToken?.cancel()
    |             `- warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
220 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
221 |         }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:220:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 33 | }
 34 |
 35 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 36 |     struct PingConfig {
 37 |         let interval: Measurement<UnitDuration>
    :
218 |         ) { [weak self] _ in
219 |             pingToken?.cancel()
220 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
221 |         }
222 |         timeoutTimer?.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:219:13: warning: reference to captured var 'pingToken' in concurrently-executing code
217 |             repeats: false
218 |         ) { [weak self] _ in
219 |             pingToken?.cancel()
    |             `- warning: reference to captured var 'pingToken' in concurrently-executing code
220 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
221 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:462:17: warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
460 |         send(.init(type: .ping, data: [:])) { result in
461 |             DispatchQueue.main.async {
462 |                 handler(result.map { _ in () }.mapError { $0 })
    |                 |- warning: sending 'handler' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: task-isolated 'handler' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
463 |             }
464 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:462:25: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
460 |         send(.init(type: .ping, data: [:])) { result in
461 |             DispatchQueue.main.async {
462 |                 handler(result.map { _ in () }.mapError { $0 })
    |                         |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'result' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
463 |             }
464 |         }
[86/101] Compiling HAKit HARequestToken.swift
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:48:14: warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
46 | /// let connection = HAKit.connection(configuration: config, urlSession: session)
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
   |              `- warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
49 |     private let certificateProvider: HACertificateProvider
50 |
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:49:17: warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
 2 |
 3 | /// Protocol for providing certificate authentication for HAKit REST API calls
 4 | public protocol HACertificateProvider {
   |                 `- note: protocol 'HACertificateProvider' does not conform to the 'Sendable' protocol
 5 |     /// Called when the server requests a client certificate (mTLS)
 6 |     /// - Parameters:
   :
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
49 |     private let certificateProvider: HACertificateProvider
   |                 `- warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
50 |
51 |     /// Initialize with a certificate provider
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:69: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                                                                     `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:6:16: note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:52:31: warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
   |                               `- warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
53 |                 }
54 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:51:50: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
   |                                                  `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
52 |                     }, event: data)
53 |                 }
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:21: warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                     `- warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSingle.swift:1:16: note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSingle: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 2 |     private var completion: HAResetLock<HAConnection.RequestCompletion>
 3 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:37: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                                     `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:42: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                                          `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
[87/101] Compiling HAKit HAURLSessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:48:14: warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
46 | /// let connection = HAKit.connection(configuration: config, urlSession: session)
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
   |              `- warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
49 |     private let certificateProvider: HACertificateProvider
50 |
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:49:17: warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
 2 |
 3 | /// Protocol for providing certificate authentication for HAKit REST API calls
 4 | public protocol HACertificateProvider {
   |                 `- note: protocol 'HACertificateProvider' does not conform to the 'Sendable' protocol
 5 |     /// Called when the server requests a client certificate (mTLS)
 6 |     /// - Parameters:
   :
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
49 |     private let certificateProvider: HACertificateProvider
   |                 `- warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
50 |
51 |     /// Initialize with a certificate provider
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:69: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                                                                     `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:6:16: note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:52:31: warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
   |                               `- warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
53 |                 }
54 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:51:50: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
   |                                                  `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
52 |                     }, event: data)
53 |                 }
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:21: warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                     `- warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSingle.swift:1:16: note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSingle: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 2 |     private var completion: HAResetLock<HAConnection.RequestCompletion>
 3 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:37: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                                     `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:42: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                                          `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
[88/101] Compiling HAKit HACancellableImpl.swift
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:48:14: warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
46 | /// let connection = HAKit.connection(configuration: config, urlSession: session)
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
   |              `- warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
49 |     private let certificateProvider: HACertificateProvider
50 |
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:49:17: warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
 2 |
 3 | /// Protocol for providing certificate authentication for HAKit REST API calls
 4 | public protocol HACertificateProvider {
   |                 `- note: protocol 'HACertificateProvider' does not conform to the 'Sendable' protocol
 5 |     /// Called when the server requests a client certificate (mTLS)
 6 |     /// - Parameters:
   :
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
49 |     private let certificateProvider: HACertificateProvider
   |                 `- warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
50 |
51 |     /// Initialize with a certificate provider
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:69: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                                                                     `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:6:16: note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:52:31: warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
   |                               `- warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
53 |                 }
54 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:51:50: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
   |                                                  `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
52 |                     }, event: data)
53 |                 }
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:21: warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                     `- warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSingle.swift:1:16: note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSingle: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 2 |     private var completion: HAResetLock<HAConnection.RequestCompletion>
 3 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:37: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                                     `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:42: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                                          `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
[89/101] Compiling HAKit HAConnectionImpl+Requests.swift
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:48:14: warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
46 | /// let connection = HAKit.connection(configuration: config, urlSession: session)
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
   |              `- warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
49 |     private let certificateProvider: HACertificateProvider
50 |
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:49:17: warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
 2 |
 3 | /// Protocol for providing certificate authentication for HAKit REST API calls
 4 | public protocol HACertificateProvider {
   |                 `- note: protocol 'HACertificateProvider' does not conform to the 'Sendable' protocol
 5 |     /// Called when the server requests a client certificate (mTLS)
 6 |     /// - Parameters:
   :
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
49 |     private let certificateProvider: HACertificateProvider
   |                 `- warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
50 |
51 |     /// Initialize with a certificate provider
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:69: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                                                                     `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:6:16: note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:52:31: warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
   |                               `- warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
53 |                 }
54 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:51:50: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
   |                                                  `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
52 |                     }, event: data)
53 |                 }
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:21: warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                     `- warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSingle.swift:1:16: note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSingle: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 2 |     private var completion: HAResetLock<HAConnection.RequestCompletion>
 3 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:37: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                                     `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:42: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                                          `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
[90/101] Compiling HAKit HAConnectionImpl+Responses.swift
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:48:14: warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
46 | /// let connection = HAKit.connection(configuration: config, urlSession: session)
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
   |              `- warning: non-final class 'HAURLSessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
49 |     private let certificateProvider: HACertificateProvider
50 |
/Users/admin/builder/spi-builder-workspace/Source/HAURLSessionDelegate.swift:49:17: warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
 2 |
 3 | /// Protocol for providing certificate authentication for HAKit REST API calls
 4 | public protocol HACertificateProvider {
   |                 `- note: protocol 'HACertificateProvider' does not conform to the 'Sendable' protocol
 5 |     /// Called when the server requests a client certificate (mTLS)
 6 |     /// - Parameters:
   :
47 | /// ```
48 | public class HAURLSessionDelegate: NSObject, URLSessionDelegate {
49 |     private let certificateProvider: HACertificateProvider
   |                 `- warning: stored property 'certificateProvider' of 'Sendable'-conforming class 'HAURLSessionDelegate' has non-sendable type 'any HACertificateProvider'; this is an error in the Swift 6 language mode
50 |
51 |     /// Initialize with a certificate provider
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:50:69: warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
48 |             if let subscription = requestController.subscription(for: identifier) {
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
   |                                                                     `- warning: capture of 'self' with non-sendable type 'HAConnectionImpl' in a '@Sendable' closure
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:6:16: note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  4 | // NOTE: see HAConnection.swift for how to access these types
  5 |
  6 | internal class HAConnectionImpl: HAConnection {
    |                `- note: class 'HAConnectionImpl' does not conform to the 'Sendable' protocol
  7 |     weak var delegate: HAConnectionDelegate?
  8 |     var configuration: HAConnectionConfiguration
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:52:31: warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
52 |                     }, event: data)
   |                               `- warning: capture of 'data' with non-sendable type 'HAData' in a '@Sendable' closure
53 |                 }
54 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:51:50: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
49 |                 callbackQueue.async { [self] in
50 |                     subscription.invoke(token: HACancellableImpl { [requestController] in
51 |                         requestController.cancel(subscription)
   |                                                  `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in an isolated closure; this is an error in the Swift 6 language mode
52 |                     }, event: data)
53 |                 }
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:21: warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                     `- warning: capture of 'request' with non-sendable type 'HARequestInvocationSingle' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSingle.swift:1:16: note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSingle: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSingle' does not conform to the 'Sendable' protocol
 2 |     private var completion: HAResetLock<HAConnection.RequestCompletion>
 3 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:60:37: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
58 |             if let request = requestController.single(for: identifier) {
59 |                 callbackQueue.async {
60 |                     request.resolve(result)
   |                                     `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
61 |                 }
62 |
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:21: warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                     `- warning: capture of 'subscription' with non-sendable type 'HARequestInvocationSubscription' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestInvocationSubscription.swift:1:16: note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 1 | internal class HARequestInvocationSubscription: HARequestInvocation {
   |                `- note: class 'HARequestInvocationSubscription' does not conform to the 'Sendable' protocol
 2 |     private var handler: HAResetLock<HAConnection.SubscriptionHandler>
 3 |     private var initiated: HAResetLock<HAConnection.SubscriptionInitiatedHandler>
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl+Responses.swift:66:42: warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
64 |             } else if let subscription = requestController.subscription(for: identifier) {
65 |                 callbackQueue.async {
66 |                     subscription.resolve(result)
   |                                          `- warning: capture of 'result' with non-sendable type 'Result<HAData, HAError>' in a '@Sendable' closure
67 |                 }
68 |             } else {
/Users/admin/builder/spi-builder-workspace/Source/Data/HAData.swift:6:13: note: consider making enum 'HAData' conform to the 'Sendable' protocol
 4 | ///
 5 | /// The root-level information in either the `result` for individual requests or `event` for subscriptions.
 6 | public enum HAData: Equatable {
   |             `- note: consider making enum 'HAData' conform to the 'Sendable' protocol
 7 |     /// A dictionary response.
 8 |     /// - SeeAlso: `get(_:)`and associated methods
[91/101] Compiling HAKit HACache.swift
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:21: warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                     `- warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
191 |                 }
192 |             }
    :
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:34: warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                  `- warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:47: warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                               `- warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:472:31: warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
    :
470 |     ) {
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
    |                               `- warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
473 |                 subscriber.handler(cancellable(for: subscriber), value)
474 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:36: warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |              `- note: generic class 'HACache' does not conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                    `- warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
474 |             }
475 |         }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:66: warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                                                  `- warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
474 |             }
475 |         }
[92/101] Compiling HAKit HACacheKeyStates.swift
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:21: warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                     `- warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
191 |                 }
192 |             }
    :
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:34: warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                  `- warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:47: warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                               `- warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:472:31: warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
    :
470 |     ) {
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
    |                               `- warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
473 |                 subscriber.handler(cancellable(for: subscriber), value)
474 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:36: warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |              `- note: generic class 'HACache' does not conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                    `- warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
474 |             }
475 |         }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:66: warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                                                  `- warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
474 |             }
475 |         }
[93/101] Compiling HAKit HACachePopulateInfo.swift
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:21: warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                     `- warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
191 |                 }
192 |             }
    :
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:34: warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                  `- warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:47: warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                               `- warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:472:31: warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
    :
470 |     ) {
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
    |                               `- warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
473 |                 subscriber.handler(cancellable(for: subscriber), value)
474 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:36: warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |              `- note: generic class 'HACache' does not conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                    `- warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
474 |             }
475 |         }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:66: warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                                                  `- warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
474 |             }
475 |         }
[94/101] Compiling HAKit HACacheSubscribeInfo.swift
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:21: warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                     `- warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
191 |                 }
192 |             }
    :
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:34: warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                  `- warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:47: warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                               `- warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:472:31: warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
    :
470 |     ) {
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
    |                               `- warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
473 |                 subscriber.handler(cancellable(for: subscriber), value)
474 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:36: warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |              `- note: generic class 'HACache' does not conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                    `- warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
474 |             }
475 |         }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:66: warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                                                  `- warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
474 |             }
475 |         }
[95/101] Compiling HAKit HACacheTransformInfo.swift
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:21: warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                     `- warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
191 |                 }
192 |             }
    :
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:34: warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                  `- warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:47: warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                               `- warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:472:31: warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
    :
470 |     ) {
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
    |                               `- warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
473 |                 subscriber.handler(cancellable(for: subscriber), value)
474 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:36: warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |              `- note: generic class 'HACache' does not conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                    `- warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
474 |             }
475 |         }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:66: warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                                                  `- warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
474 |             }
475 |         }
[96/101] Compiling HAKit HACachedStates.swift
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:21: warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                     `- warning: capture of 'info' with non-sendable type 'HACache<ValueType>.SubscriptionInfo' in a '@Sendable' closure
191 |                 }
192 |             }
    :
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:34: warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                  `- warning: capture of 'cancellable' with non-sendable type 'any HACancellable' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/HARequestToken.swift:4:17: note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
2 | ///
3 | /// You do not need to strongly retain this value. Requests are only cancelled explicitly.
4 | public protocol HACancellable {
  |                 `- note: protocol 'HACancellable' does not conform to the 'Sendable' protocol
5 |     /// Cancel the request or subscription represented by this.
6 |     func cancel()
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:190:47: warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
188 |             if let current = state.current {
189 |                 callbackQueue.async {
190 |                     info.handler(cancellable, current)
    |                                               `- warning: capture of 'current' with non-sendable type 'ValueType' in a '@Sendable' closure
191 |                 }
192 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:472:31: warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
287 |
288 |     /// A subscriber
289 |     private class SubscriptionInfo: Hashable {
    |                   `- note: class 'SubscriptionInfo' does not conform to the 'Sendable' protocol
290 |         /// Used internally to decide which subscription is being cancelled
291 |         var id: UUID
    :
470 |     ) {
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
    |                               `- warning: capture of 'subscribers' with non-sendable type 'Set<HACache<ValueType>.SubscriptionInfo>' in a '@Sendable' closure
473 |                 subscriber.handler(cancellable(for: subscriber), value)
474 |             }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:36: warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |              `- note: generic class 'HACache' does not conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                    `- warning: capture of 'self' with non-sendable type 'HACache<ValueType>' in a '@Sendable' closure
474 |             }
475 |         }
/Users/admin/builder/spi-builder-workspace/Source/Caches/HACache.swift:473:66: warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
 14 | /// - Note: Use `shouldResetWithoutSubscribers` to control whether the subscription is disconnected when not in use.
 15 | /// - Note: Use `map(_:)` to make quasi-streamed changes to the cache contents.
 16 | public class HACache<ValueType> {
    |                      `- note: consider making generic parameter 'ValueType' conform to the 'Sendable' protocol
 17 |     /// Create a cache
 18 |     ///
    :
471 |         callbackQueue.async { [self] in
472 |             for subscriber in subscribers {
473 |                 subscriber.handler(cancellable(for: subscriber), value)
    |                                                                  `- warning: capture of 'value' with non-sendable type 'ValueType' in a '@Sendable' closure
474 |             }
475 |         }
[97/101] Compiling HAKit HARequestType.swift
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:56:23: warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 |     /// `call_service`
56 |     public static var callService: Self = "call_service"
   |                       |- warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'callService' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'callService' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:58:23: warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |     public static var callService: Self = "call_service"
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
   |                       |- warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentUser' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentUser' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:60:23: warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |     public static var currentUser: Self = "auth/current_user"
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
   |                       |- warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getStates' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getStates' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:62:23: warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var getStates: Self = "get_states"
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
   |                       |- warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getConfig' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getConfig' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:64:23: warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var getConfig: Self = "get_config"
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
   |                       |- warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getServices' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getServices' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 |     // MARK: - Subscription Handling
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:69:23: warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     /// `subscribe_events`
69 |     public static var subscribeEvents: Self = "subscribe_events"
   |                       |- warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:71:23: warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |     public static var subscribeEvents: Self = "subscribe_events"
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
   |                       |- warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unsubscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unsubscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:73:23: warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
   |                       |- warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEntities' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEntities' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |     // MARK: - Subscriptions
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:78:23: warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 |     /// `render_template`
78 |     public static var renderTemplate: Self = "render_template"
   |                       |- warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'renderTemplate' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'renderTemplate' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 |     // MARK: - Internal
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:84:23: warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |     /// `ping`
83 |     /// This will always get a success response, when a response is received.
84 |     public static var ping: Self = "ping"
   |                       |- warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'ping' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'ping' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 |     /// `auth`
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:88:23: warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |     /// `auth`
87 |     /// This is likely not useful for external consumers as this is handled automatically on connection.
88 |     public static var auth: Self = "auth"
   |                       |- warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'auth' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'auth' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[98/101] Compiling HAKit HAResponseVoid.swift
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:56:23: warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 |     /// `call_service`
56 |     public static var callService: Self = "call_service"
   |                       |- warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'callService' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'callService' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:58:23: warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |     public static var callService: Self = "call_service"
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
   |                       |- warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentUser' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentUser' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:60:23: warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |     public static var currentUser: Self = "auth/current_user"
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
   |                       |- warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getStates' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getStates' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:62:23: warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var getStates: Self = "get_states"
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
   |                       |- warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getConfig' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getConfig' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:64:23: warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var getConfig: Self = "get_config"
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
   |                       |- warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getServices' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getServices' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 |     // MARK: - Subscription Handling
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:69:23: warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     /// `subscribe_events`
69 |     public static var subscribeEvents: Self = "subscribe_events"
   |                       |- warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:71:23: warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |     public static var subscribeEvents: Self = "subscribe_events"
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
   |                       |- warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unsubscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unsubscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:73:23: warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
   |                       |- warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEntities' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEntities' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |     // MARK: - Subscriptions
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:78:23: warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 |     /// `render_template`
78 |     public static var renderTemplate: Self = "render_template"
   |                       |- warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'renderTemplate' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'renderTemplate' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 |     // MARK: - Internal
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:84:23: warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |     /// `ping`
83 |     /// This will always get a success response, when a response is received.
84 |     public static var ping: Self = "ping"
   |                       |- warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'ping' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'ping' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 |     /// `auth`
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:88:23: warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |     /// `auth`
87 |     /// This is likely not useful for external consumers as this is handled automatically on connection.
88 |     public static var auth: Self = "auth"
   |                       |- warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'auth' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'auth' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[99/101] Compiling HAKit HASttData.swift
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:56:23: warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 |     /// `call_service`
56 |     public static var callService: Self = "call_service"
   |                       |- warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'callService' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'callService' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:58:23: warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |     public static var callService: Self = "call_service"
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
   |                       |- warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentUser' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentUser' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:60:23: warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |     public static var currentUser: Self = "auth/current_user"
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
   |                       |- warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getStates' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getStates' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:62:23: warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var getStates: Self = "get_states"
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
   |                       |- warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getConfig' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getConfig' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:64:23: warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var getConfig: Self = "get_config"
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
   |                       |- warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getServices' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getServices' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 |     // MARK: - Subscription Handling
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:69:23: warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     /// `subscribe_events`
69 |     public static var subscribeEvents: Self = "subscribe_events"
   |                       |- warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:71:23: warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |     public static var subscribeEvents: Self = "subscribe_events"
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
   |                       |- warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unsubscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unsubscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:73:23: warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
   |                       |- warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEntities' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEntities' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |     // MARK: - Subscriptions
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:78:23: warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 |     /// `render_template`
78 |     public static var renderTemplate: Self = "render_template"
   |                       |- warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'renderTemplate' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'renderTemplate' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 |     // MARK: - Internal
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:84:23: warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |     /// `ping`
83 |     /// This will always get a success response, when a response is received.
84 |     public static var ping: Self = "ping"
   |                       |- warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'ping' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'ping' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 |     /// `auth`
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:88:23: warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |     /// `auth`
87 |     /// This is likely not useful for external consumers as this is handled automatically on connection.
88 |     public static var auth: Self = "auth"
   |                       |- warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'auth' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'auth' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[100/101] Compiling HAKit HATypedRequest.swift
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:56:23: warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 |     /// `call_service`
56 |     public static var callService: Self = "call_service"
   |                       |- warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'callService' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'callService' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:58:23: warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |     public static var callService: Self = "call_service"
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
   |                       |- warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentUser' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentUser' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:60:23: warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |     public static var currentUser: Self = "auth/current_user"
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
   |                       |- warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getStates' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getStates' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:62:23: warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var getStates: Self = "get_states"
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
   |                       |- warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getConfig' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getConfig' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:64:23: warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var getConfig: Self = "get_config"
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
   |                       |- warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getServices' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getServices' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 |     // MARK: - Subscription Handling
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:69:23: warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     /// `subscribe_events`
69 |     public static var subscribeEvents: Self = "subscribe_events"
   |                       |- warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:71:23: warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |     public static var subscribeEvents: Self = "subscribe_events"
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
   |                       |- warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unsubscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unsubscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:73:23: warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
   |                       |- warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEntities' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEntities' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |     // MARK: - Subscriptions
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:78:23: warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 |     /// `render_template`
78 |     public static var renderTemplate: Self = "render_template"
   |                       |- warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'renderTemplate' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'renderTemplate' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 |     // MARK: - Internal
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:84:23: warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |     /// `ping`
83 |     /// This will always get a success response, when a response is received.
84 |     public static var ping: Self = "ping"
   |                       |- warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'ping' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'ping' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 |     /// `auth`
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:88:23: warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |     /// `auth`
87 |     /// This is likely not useful for external consumers as this is handled automatically on connection.
88 |     public static var auth: Self = "auth"
   |                       |- warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'auth' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'auth' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[101/101] Compiling HAKit HATypedSubscription.swift
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:56:23: warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 |
55 |     /// `call_service`
56 |     public static var callService: Self = "call_service"
   |                       |- warning: static property 'callService' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'callService' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'callService' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:58:23: warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
56 |     public static var callService: Self = "call_service"
57 |     /// `auth/current_user`
58 |     public static var currentUser: Self = "auth/current_user"
   |                       |- warning: static property 'currentUser' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'currentUser' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'currentUser' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:60:23: warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
58 |     public static var currentUser: Self = "auth/current_user"
59 |     /// `get_states`
60 |     public static var getStates: Self = "get_states"
   |                       |- warning: static property 'getStates' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getStates' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getStates' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:62:23: warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |     public static var getStates: Self = "get_states"
61 |     /// `get_config`
62 |     public static var getConfig: Self = "get_config"
   |                       |- warning: static property 'getConfig' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getConfig' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getConfig' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:64:23: warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |     public static var getConfig: Self = "get_config"
63 |     /// `get_services`
64 |     public static var getServices: Self = "get_services"
   |                       |- warning: static property 'getServices' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'getServices' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'getServices' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 |     // MARK: - Subscription Handling
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:69:23: warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
67 |
68 |     /// `subscribe_events`
69 |     public static var subscribeEvents: Self = "subscribe_events"
   |                       |- warning: static property 'subscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:71:23: warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 |     public static var subscribeEvents: Self = "subscribe_events"
70 |     /// `unsubscribe_events`
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
   |                       |- warning: static property 'unsubscribeEvents' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unsubscribeEvents' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unsubscribeEvents' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:73:23: warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
71 |     public static var unsubscribeEvents: Self = "unsubscribe_events"
72 |     /// `subscribe_entities`
73 |     public static var subscribeEntities: Self = "subscribe_entities"
   |                       |- warning: static property 'subscribeEntities' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'subscribeEntities' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'subscribeEntities' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 |
75 |     // MARK: - Subscriptions
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:78:23: warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
76 |
77 |     /// `render_template`
78 |     public static var renderTemplate: Self = "render_template"
   |                       |- warning: static property 'renderTemplate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'renderTemplate' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'renderTemplate' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 |     // MARK: - Internal
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:84:23: warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
82 |     /// `ping`
83 |     /// This will always get a success response, when a response is received.
84 |     public static var ping: Self = "ping"
   |                       |- warning: static property 'ping' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'ping' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'ping' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 |     /// `auth`
/Users/admin/builder/spi-builder-workspace/Source/Requests/HARequestType.swift:88:23: warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
86 |     /// `auth`
87 |     /// This is likely not useful for external consumers as this is handled automatically on connection.
88 |     public static var auth: Self = "auth"
   |                       |- warning: static property 'auth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'auth' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'auth' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[102/106] Compiling HAKit_PromiseKit HACache+PromiseKit.swift
[103/106] Emitting module HAKit_PromiseKit
[104/106] Compiling HAKit_PromiseKit HAConnection+PromiseKit.swift
[105/106] Emitting module HAKit_Mocks
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:9:16: warning: static property 'fake' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  7 |     /// A basic, fake configuration that is always successful.
  8 |     /// This is available to be modified at will; nothing depends on the values provided.
  9 |     static var fake = HAConnectionConfiguration(
    |                |- warning: static property 'fake' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'fake' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'fake' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |         connectionInfo: { () -> HAConnectionInfo? in
 11 |             try? .init(url: URL(string: "http://127.0.0.1:8123")!)
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:94:17: warning: capture of 'self' with non-sendable type 'HAMockConnection' in a '@Sendable' closure
 42 | ///
 43 | /// Provides basic scaffolding to test usage of the library.
 44 | public class HAMockConnection: HAConnection {
    |              `- note: class 'HAMockConnection' does not conform to the 'Sendable' protocol
 45 |     // MARK: - Mock Handling
 46 |
    :
 92 |             // matching async behavior of HAConnectionImpl
 93 |             callbackQueue.async { [self, state] in
 94 |                 delegate?.connection(self, didTransitionTo: state)
    |                 `- warning: capture of 'self' with non-sendable type 'HAMockConnection' in a '@Sendable' closure
 95 |                 NotificationCenter.default.post(name: HAConnectionState.didTransitionToStateNotification, object: self)
 96 |             }
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:94:61: warning: capture of 'state' with non-sendable type 'HAConnectionState' in a '@Sendable' closure
 92 |             // matching async behavior of HAConnectionImpl
 93 |             callbackQueue.async { [self, state] in
 94 |                 delegate?.connection(self, didTransitionTo: state)
    |                                                             `- warning: capture of 'state' with non-sendable type 'HAConnectionState' in a '@Sendable' closure
 95 |                 NotificationCenter.default.post(name: HAConnectionState.didTransitionToStateNotification, object: self)
 96 |             }
/Users/admin/builder/spi-builder-workspace/Source/HAConnection.swift:14:13: note: enum 'HAConnectionState' does not conform to the 'Sendable' protocol
 12 |
 13 | /// State of the connection
 14 | public enum HAConnectionState: Equatable {
    |             `- note: enum 'HAConnectionState' does not conform to the 'Sendable' protocol
 15 |     /// Notification fired when state transitions occur
 16 |     ///
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HAKit'
  1 | import Foundation
  2 | #if SWIFT_PACKAGE
  3 | import HAKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HAKit'
  4 | #endif
  5 |
[106/106] Compiling HAKit_Mocks HAConnection+Mock.swift
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:9:16: warning: static property 'fake' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  7 |     /// A basic, fake configuration that is always successful.
  8 |     /// This is available to be modified at will; nothing depends on the values provided.
  9 |     static var fake = HAConnectionConfiguration(
    |                |- warning: static property 'fake' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'fake' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'fake' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |         connectionInfo: { () -> HAConnectionInfo? in
 11 |             try? .init(url: URL(string: "http://127.0.0.1:8123")!)
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:94:17: warning: capture of 'self' with non-sendable type 'HAMockConnection' in a '@Sendable' closure
 42 | ///
 43 | /// Provides basic scaffolding to test usage of the library.
 44 | public class HAMockConnection: HAConnection {
    |              `- note: class 'HAMockConnection' does not conform to the 'Sendable' protocol
 45 |     // MARK: - Mock Handling
 46 |
    :
 92 |             // matching async behavior of HAConnectionImpl
 93 |             callbackQueue.async { [self, state] in
 94 |                 delegate?.connection(self, didTransitionTo: state)
    |                 `- warning: capture of 'self' with non-sendable type 'HAMockConnection' in a '@Sendable' closure
 95 |                 NotificationCenter.default.post(name: HAConnectionState.didTransitionToStateNotification, object: self)
 96 |             }
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:94:61: warning: capture of 'state' with non-sendable type 'HAConnectionState' in a '@Sendable' closure
 92 |             // matching async behavior of HAConnectionImpl
 93 |             callbackQueue.async { [self, state] in
 94 |                 delegate?.connection(self, didTransitionTo: state)
    |                                                             `- warning: capture of 'state' with non-sendable type 'HAConnectionState' in a '@Sendable' closure
 95 |                 NotificationCenter.default.post(name: HAConnectionState.didTransitionToStateNotification, object: self)
 96 |             }
/Users/admin/builder/spi-builder-workspace/Source/HAConnection.swift:14:13: note: enum 'HAConnectionState' does not conform to the 'Sendable' protocol
 12 |
 13 | /// State of the connection
 14 | public enum HAConnectionState: Equatable {
    |             `- note: enum 'HAConnectionState' does not conform to the 'Sendable' protocol
 15 |     /// Notification fired when state transitions occur
 16 |     ///
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HAKit'
  1 | import Foundation
  2 | #if SWIFT_PACKAGE
  3 | import HAKit
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'HAKit'
  4 | #endif
  5 |
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:222:38: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
220 |         }
221 |
222 |         callbackQueue.async(execute: stop)
    |                                      `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
223 |         DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(5), execute: stop)
224 |
/Users/admin/builder/spi-builder-workspace/Extensions/Mocks/HAConnection+Mock.swift:223:80: warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
221 |
222 |         callbackQueue.async(execute: stop)
223 |         DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(5), execute: stop)
    |                                                                                `- warning: converting non-sendable function value to '@MainActor @Sendable @convention(block) () -> Void' may introduce data races
224 |
225 |         while hasCalled == 0 {
Build complete! (28.22s)
Fetching https://github.com/mxcl/PromiseKit
Fetching https://github.com/bgoncal/Starscream
[1/3282] Fetching starscream
[166/20524] Fetching starscream, promisekit
Fetched https://github.com/bgoncal/Starscream from cache (1.84s)
Fetched https://github.com/mxcl/PromiseKit from cache (1.84s)
Computing version for https://github.com/bgoncal/Starscream
Computed https://github.com/bgoncal/Starscream at 4.0.9 (2.43s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 8.2.0 (0.57s)
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 8.2.0
Creating working copy for https://github.com/bgoncal/Starscream
Working copy of https://github.com/bgoncal/Starscream resolved at 4.0.9
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Build complete.
{
  "dependencies" : [
    {
      "identity" : "starscream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.9",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bgoncal/Starscream"
    },
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.1.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit"
    }
  ],
  "manifest_display_name" : "HAKit",
  "name" : "HAKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "HAKit",
      "targets" : [
        "HAKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests",
      "sources" : [
        "CurrentUser.test.swift",
        "Event.test.swift",
        "FakeEngine.swift",
        "HACache.test.swift",
        "HACacheKeyStates.test.swift",
        "HACachePopulateInfo.test.swift",
        "HACacheSubscribeInfo.test.swift",
        "HACachedStates.test.swift",
        "HACachedUser.test.swift",
        "HACachesContainer.test.swift",
        "HACancellableImpl.test.swift",
        "HAConnectionConfiguration.test.swift",
        "HAConnectionImpl.test.swift",
        "HAConnectionInfo.test.swift",
        "HAData.test.swift",
        "HADataDecodable.test.swift",
        "HAEntity+CompressedEntity.test.swift",
        "HAEntity.test.swift",
        "HAError.test.swift",
        "HAKit.test.swift",
        "HAReconnectManager.test.swift",
        "HARequestController.test.swift",
        "HARequestInvocation.test.swift",
        "HARequestInvocationSingle.test.swift",
        "HARequestInvocationSubscription.test.swift",
        "HAResetLock.test.swift",
        "HAResponseController.test.swift",
        "HAResponseVoid.test.swift",
        "HAURLSessionDelegate.test.swift",
        "HAWebSocketResponse.test.swift",
        "HAWebSocketResponseFixture.swift",
        "RenderTemplate.test.swift",
        "Services.test.swift",
        "States.test.swift",
        "StubbingURLProtocol.swift",
        "TestAdditions.swift"
      ],
      "target_dependencies" : [
        "HAKit",
        "HAKit+PromiseKit",
        "HAKit+Mocks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HAKit_PromiseKit",
      "module_type" : "SwiftTarget",
      "name" : "HAKit+PromiseKit",
      "path" : "Extensions/PromiseKit",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "sources" : [
        "HACache+PromiseKit.swift",
        "HAConnection+PromiseKit.swift"
      ],
      "target_dependencies" : [
        "HAKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HAKit_Mocks",
      "module_type" : "SwiftTarget",
      "name" : "HAKit+Mocks",
      "path" : "Extensions/Mocks",
      "sources" : [
        "HAConnection+Mock.swift"
      ],
      "target_dependencies" : [
        "HAKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HAKit",
      "module_type" : "SwiftTarget",
      "name" : "HAKit",
      "path" : "Source",
      "product_dependencies" : [
        "Starscream"
      ],
      "product_memberships" : [
        "HAKit"
      ],
      "sources" : [
        "Caches/HACache.swift",
        "Caches/HACacheKeyStates.swift",
        "Caches/HACachePopulateInfo.swift",
        "Caches/HACacheSubscribeInfo.swift",
        "Caches/HACacheTransformInfo.swift",
        "Caches/HACachedStates.swift",
        "Caches/HACachedUser.swift",
        "Caches/HACachesContainer.swift",
        "Convenience/CurrentUser.swift",
        "Convenience/Event.swift",
        "Convenience/RenderTemplate.swift",
        "Convenience/Services.swift",
        "Convenience/States.swift",
        "Data/HACompressedEntity.swift",
        "Data/HAData.swift",
        "Data/HADataDecodable.swift",
        "Data/HADecodeTransformable.swift",
        "Data/HAEntity+CompressedEntity.swift",
        "Data/HAEntity.swift",
        "Data/HAService.swift",
        "HAConnection.swift",
        "HAConnectionConfiguration.swift",
        "HAConnectionInfo.swift",
        "HAError.swift",
        "HAGlobal.swift",
        "HAKit.swift",
        "HARequestToken.swift",
        "HAURLSessionDelegate.swift",
        "Internal/HACancellableImpl.swift",
        "Internal/HAConnectionImpl+Requests.swift",
        "Internal/HAConnectionImpl+Responses.swift",
        "Internal/HAConnectionImpl.swift",
        "Internal/HAProtected.swift",
        "Internal/HAReconnectManager.swift",
        "Internal/HAResetLock.swift",
        "Internal/HASchedulingTimer.swift",
        "Internal/HAStarscreamCertificatePinningImpl.swift",
        "Internal/RequestController/HARequestController.swift",
        "Internal/RequestController/HARequestIdentifier.swift",
        "Internal/RequestController/HARequestInvocation.swift",
        "Internal/RequestController/HARequestInvocationSingle.swift",
        "Internal/RequestController/HARequestInvocationSubscription.swift",
        "Internal/ResponseController/HAResponseController.swift",
        "Internal/ResponseController/HAWebSocketResponse.swift",
        "Requests/HAHTTPMethod.swift",
        "Requests/HARequest.swift",
        "Requests/HARequestType.swift",
        "Requests/HAResponseVoid.swift",
        "Requests/HASttData.swift",
        "Requests/HATypedRequest.swift",
        "Requests/HATypedSubscription.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.