The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HAKit, reference 0.4.21 (c24be0), with Swift 6.1 for macOS (SPM) on 7 Nov 2026 16:09:36 UTC.

Swift 6 data race errors: 45

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

462 |             DispatchQueue.main.async {
463 |                 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
464 |             }
465 |         }
[54/79] Compiling HAKit HAWebSocketResponse.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:22:14: warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
   |              `- warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |         case unknownId(Any)
24 |     }
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:23:14: warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
23 |         case unknownId(Any)
   |              `- warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:12:23: warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |     }
11 |
12 |     public static var get: Self = "GET"
   |                       |- warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'get' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:13:23: warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
   |                       |- warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'post' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:14:23: warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
   |                       |- warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'delete' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:15:23: warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
   |                       |- warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'put' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:16:23: warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
   |                       |- warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'patch' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:17:23: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
   |                       |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public static var options: Self = "OPTIONS"
19 | }
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:18:23: warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
   |                       |- warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'options' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/WebSocket/HAWebSocket.swift:67:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
65 |         // before forwarding.
66 |         DispatchQueue.main.async { [weak self] in
67 |             self?.delegate?.didReceive(event: event)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 |         }
69 |     }
[55/79] Compiling HAKit HAWebSocket.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:22:14: warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
   |              `- warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |         case unknownId(Any)
24 |     }
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:23:14: warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
23 |         case unknownId(Any)
   |              `- warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:12:23: warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |     }
11 |
12 |     public static var get: Self = "GET"
   |                       |- warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'get' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:13:23: warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
   |                       |- warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'post' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:14:23: warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
   |                       |- warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'delete' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:15:23: warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
   |                       |- warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'put' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:16:23: warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
   |                       |- warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'patch' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:17:23: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
   |                       |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public static var options: Self = "OPTIONS"
19 | }
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:18:23: warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
   |                       |- warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'options' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/WebSocket/HAWebSocket.swift:67:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
65 |         // before forwarding.
66 |         DispatchQueue.main.async { [weak self] in
67 |             self?.delegate?.didReceive(event: event)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 |         }
69 |     }
[56/79] Compiling HAKit HAWebSocketEngine.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:22:14: warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
   |              `- warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |         case unknownId(Any)
24 |     }
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:23:14: warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
23 |         case unknownId(Any)
   |              `- warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:12:23: warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |     }
11 |
12 |     public static var get: Self = "GET"
   |                       |- warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'get' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:13:23: warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
   |                       |- warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'post' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:14:23: warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
   |                       |- warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'delete' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:15:23: warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
   |                       |- warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'put' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:16:23: warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
   |                       |- warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'patch' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:17:23: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
   |                       |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public static var options: Self = "OPTIONS"
19 | }
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:18:23: warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
   |                       |- warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'options' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/WebSocket/HAWebSocket.swift:67:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
65 |         // before forwarding.
66 |         DispatchQueue.main.async { [weak self] in
67 |             self?.delegate?.didReceive(event: event)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 |         }
69 |     }
[57/79] Compiling HAKit HAHTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:22:14: warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
   |              `- warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |         case unknownId(Any)
24 |     }
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:23:14: warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
23 |         case unknownId(Any)
   |              `- warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:12:23: warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |     }
11 |
12 |     public static var get: Self = "GET"
   |                       |- warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'get' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:13:23: warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
   |                       |- warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'post' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:14:23: warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
   |                       |- warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'delete' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:15:23: warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
   |                       |- warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'put' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:16:23: warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
   |                       |- warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'patch' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:17:23: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
   |                       |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public static var options: Self = "OPTIONS"
19 | }
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:18:23: warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
   |                       |- warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'options' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/WebSocket/HAWebSocket.swift:67:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
65 |         // before forwarding.
66 |         DispatchQueue.main.async { [weak self] in
67 |             self?.delegate?.didReceive(event: event)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 |         }
69 |     }
[58/79] Compiling HAKit HARequest.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:22:14: warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
20 |
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
   |              `- warning: associated value 'unknownType' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
23 |         case unknownId(Any)
24 |     }
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAWebSocketResponse.swift:23:14: warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
21 |     enum ParseError: Error {
22 |         case unknownType(Any)
23 |         case unknownId(Any)
   |              `- warning: associated value 'unknownId' of 'Sendable'-conforming enum 'ParseError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
24 |     }
25 |
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:12:23: warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 |     }
11 |
12 |     public static var get: Self = "GET"
   |                       |- warning: static property 'get' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'get' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'get' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:13:23: warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
   |                       |- warning: static property 'post' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'post' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'post' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:14:23: warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |     public static var get: Self = "GET"
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
   |                       |- warning: static property 'delete' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'delete' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'delete' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:15:23: warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |     public static var post: Self = "POST"
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
   |                       |- warning: static property 'put' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'put' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'put' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:16:23: warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var delete: Self = "DELETE"
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
   |                       |- warning: static property 'patch' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'patch' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'patch' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:17:23: warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 |     public static var put: Self = "PUT"
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
   |                       |- warning: static property 'head' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'head' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'head' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |     public static var options: Self = "OPTIONS"
19 | }
/Users/admin/builder/spi-builder-workspace/Source/Requests/HAHTTPMethod.swift:18:23: warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |     public static var patch: Self = "PATCH"
17 |     public static var head: Self = "HEAD"
18 |     public static var options: Self = "OPTIONS"
   |                       |- warning: static property 'options' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'options' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'options' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/WebSocket/HAWebSocket.swift:67:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
65 |         // before forwarding.
66 |         DispatchQueue.main.async { [weak self] in
67 |             self?.delegate?.didReceive(event: event)
   |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
68 |         }
69 |     }
[59/79] Compiling HAKit HARequestIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:103:45: warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
 44 | }
 45 |
 46 | internal class HAResponseControllerImpl: HAResponseController {
    |                `- note: class 'HAResponseControllerImpl' does not conform to the 'Sendable' protocol
 47 |     weak var delegate: HAResponseControllerDelegate?
 48 |     var workQueue: DispatchQueue = .global()
    :
101 |                 }
102 |
103 |                 DispatchQueue.main.async { [self] in
    |                                             `- warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
104 |                     if case let .auth(.ok(version)) = response {
105 |                         phase = .command(version: version)
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:187:25: warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
185 |                         }
186 |
187 |                         didReceive.pop()?(.success(result))
    |                         `- warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
188 |                     } catch {
189 |                         didReceive.pop()?(.failure(.underlying(error as NSError)))
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAResetLock.swift:3:16: note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 1 | import Dispatch
 2 |
 3 | internal class HAResetLock<Value> {
   |                `- note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 4 |     private var value: HAProtected<Value?>
 5 |
[60/79] Compiling HAKit HARequestInvocation.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:103:45: warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
 44 | }
 45 |
 46 | internal class HAResponseControllerImpl: HAResponseController {
    |                `- note: class 'HAResponseControllerImpl' does not conform to the 'Sendable' protocol
 47 |     weak var delegate: HAResponseControllerDelegate?
 48 |     var workQueue: DispatchQueue = .global()
    :
101 |                 }
102 |
103 |                 DispatchQueue.main.async { [self] in
    |                                             `- warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
104 |                     if case let .auth(.ok(version)) = response {
105 |                         phase = .command(version: version)
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:187:25: warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
185 |                         }
186 |
187 |                         didReceive.pop()?(.success(result))
    |                         `- warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
188 |                     } catch {
189 |                         didReceive.pop()?(.failure(.underlying(error as NSError)))
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAResetLock.swift:3:16: note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 1 | import Dispatch
 2 |
 3 | internal class HAResetLock<Value> {
   |                `- note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 4 |     private var value: HAProtected<Value?>
 5 |
[61/79] Compiling HAKit HARequestInvocationSingle.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:103:45: warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
 44 | }
 45 |
 46 | internal class HAResponseControllerImpl: HAResponseController {
    |                `- note: class 'HAResponseControllerImpl' does not conform to the 'Sendable' protocol
 47 |     weak var delegate: HAResponseControllerDelegate?
 48 |     var workQueue: DispatchQueue = .global()
    :
101 |                 }
102 |
103 |                 DispatchQueue.main.async { [self] in
    |                                             `- warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
104 |                     if case let .auth(.ok(version)) = response {
105 |                         phase = .command(version: version)
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:187:25: warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
185 |                         }
186 |
187 |                         didReceive.pop()?(.success(result))
    |                         `- warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
188 |                     } catch {
189 |                         didReceive.pop()?(.failure(.underlying(error as NSError)))
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAResetLock.swift:3:16: note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 1 | import Dispatch
 2 |
 3 | internal class HAResetLock<Value> {
   |                `- note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 4 |     private var value: HAProtected<Value?>
 5 |
[62/79] Compiling HAKit HARequestInvocationSubscription.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:103:45: warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
 44 | }
 45 |
 46 | internal class HAResponseControllerImpl: HAResponseController {
    |                `- note: class 'HAResponseControllerImpl' does not conform to the 'Sendable' protocol
 47 |     weak var delegate: HAResponseControllerDelegate?
 48 |     var workQueue: DispatchQueue = .global()
    :
101 |                 }
102 |
103 |                 DispatchQueue.main.async { [self] in
    |                                             `- warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
104 |                     if case let .auth(.ok(version)) = response {
105 |                         phase = .command(version: version)
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:187:25: warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
185 |                         }
186 |
187 |                         didReceive.pop()?(.success(result))
    |                         `- warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
188 |                     } catch {
189 |                         didReceive.pop()?(.failure(.underlying(error as NSError)))
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAResetLock.swift:3:16: note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 1 | import Dispatch
 2 |
 3 | internal class HAResetLock<Value> {
   |                `- note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 4 |     private var value: HAProtected<Value?>
 5 |
[63/79] Compiling HAKit HAResponseController.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:103:45: warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
 44 | }
 45 |
 46 | internal class HAResponseControllerImpl: HAResponseController {
    |                `- note: class 'HAResponseControllerImpl' does not conform to the 'Sendable' protocol
 47 |     weak var delegate: HAResponseControllerDelegate?
 48 |     var workQueue: DispatchQueue = .global()
    :
101 |                 }
102 |
103 |                 DispatchQueue.main.async { [self] in
    |                                             `- warning: capture of 'self' with non-sendable type 'HAResponseControllerImpl' in a '@Sendable' closure
104 |                     if case let .auth(.ok(version)) = response {
105 |                         phase = .command(version: version)
/Users/admin/builder/spi-builder-workspace/Source/Internal/ResponseController/HAResponseController.swift:187:25: warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
185 |                         }
186 |
187 |                         didReceive.pop()?(.success(result))
    |                         `- warning: capture of 'didReceive' with non-sendable type 'HAResetLock<(Result<HAData, HAError>) -> ()>' in a '@Sendable' closure
188 |                     } catch {
189 |                         didReceive.pop()?(.failure(.underlying(error as NSError)))
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAResetLock.swift:3:16: note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 1 | import Dispatch
 2 |
 3 | internal class HAResetLock<Value> {
   |                `- note: generic class 'HAResetLock' does not conform to the 'Sendable' protocol
 4 |     private var value: HAProtected<Value?>
 5 |
[64/79] Compiling HAKit HAError.swift
/Users/admin/builder/spi-builder-workspace/Source/HAError.swift:10:10: warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
 8 |     case underlying(NSError)
 9 |     /// An error response from the server indicating a request problem
10 |     case external(ExternalError)
   |          `- warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
11 |
12 |     /// A description of the error, see `LocalizedError` or access via `localizedDescription`
   :
20 |
21 |     /// Description of a server-delivered error
22 |     public struct ExternalError: Equatable {
   |                   `- note: consider making struct 'ExternalError' conform to the 'Sendable' protocol
23 |         /// The code provided with the error
24 |         public var code: String
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:14:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// Verbose logging from the library; defaults to not doing anything
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
   |                       |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:16:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
   |                       |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/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
[65/79] Compiling HAKit HAGlobal.swift
/Users/admin/builder/spi-builder-workspace/Source/HAError.swift:10:10: warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
 8 |     case underlying(NSError)
 9 |     /// An error response from the server indicating a request problem
10 |     case external(ExternalError)
   |          `- warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
11 |
12 |     /// A description of the error, see `LocalizedError` or access via `localizedDescription`
   :
20 |
21 |     /// Description of a server-delivered error
22 |     public struct ExternalError: Equatable {
   |                   `- note: consider making struct 'ExternalError' conform to the 'Sendable' protocol
23 |         /// The code provided with the error
24 |         public var code: String
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:14:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// Verbose logging from the library; defaults to not doing anything
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
   |                       |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:16:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
   |                       |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/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
[66/79] Compiling HAKit HAKit.swift
/Users/admin/builder/spi-builder-workspace/Source/HAError.swift:10:10: warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
 8 |     case underlying(NSError)
 9 |     /// An error response from the server indicating a request problem
10 |     case external(ExternalError)
   |          `- warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
11 |
12 |     /// A description of the error, see `LocalizedError` or access via `localizedDescription`
   :
20 |
21 |     /// Description of a server-delivered error
22 |     public struct ExternalError: Equatable {
   |                   `- note: consider making struct 'ExternalError' conform to the 'Sendable' protocol
23 |         /// The code provided with the error
24 |         public var code: String
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:14:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// Verbose logging from the library; defaults to not doing anything
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
   |                       |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:16:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
   |                       |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/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
[67/79] Compiling HAKit HARequestToken.swift
/Users/admin/builder/spi-builder-workspace/Source/HAError.swift:10:10: warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
 8 |     case underlying(NSError)
 9 |     /// An error response from the server indicating a request problem
10 |     case external(ExternalError)
   |          `- warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
11 |
12 |     /// A description of the error, see `LocalizedError` or access via `localizedDescription`
   :
20 |
21 |     /// Description of a server-delivered error
22 |     public struct ExternalError: Equatable {
   |                   `- note: consider making struct 'ExternalError' conform to the 'Sendable' protocol
23 |         /// The code provided with the error
24 |         public var code: String
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:14:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// Verbose logging from the library; defaults to not doing anything
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
   |                       |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:16:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
   |                       |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/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
[68/79] Compiling HAKit HAURLSessionDelegate.swift
/Users/admin/builder/spi-builder-workspace/Source/HAError.swift:10:10: warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
 8 |     case underlying(NSError)
 9 |     /// An error response from the server indicating a request problem
10 |     case external(ExternalError)
   |          `- warning: associated value 'external' of 'Sendable'-conforming enum 'HAError' has non-sendable type 'HAError.ExternalError'; this is an error in the Swift 6 language mode
11 |
12 |     /// A description of the error, see `LocalizedError` or access via `localizedDescription`
   :
20 |
21 |     /// Description of a server-delivered error
22 |     public struct ExternalError: Equatable {
   |                   `- note: consider making struct 'ExternalError' conform to the 'Sendable' protocol
23 |         /// The code provided with the error
24 |         public var code: String
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:14:23: warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     /// Verbose logging from the library; defaults to not doing anything
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
   |                       |- warning: static property 'log' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'log' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'log' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
/Users/admin/builder/spi-builder-workspace/Source/HAGlobal.swift:16:23: warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 |     public static var log: (LogLevel, String) -> Void = { _, _ in }
15 |     /// Used to mutate date handling for reconnect retrying
16 |     public static var date: () -> Date = Date.init
   |                       |- warning: static property 'date' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'date' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'date' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/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
[69/79] Compiling HAKit HAReconnectManager.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:121:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
119 |         pathMonitor.pathUpdateHandler = { [weak self] _ in
120 |             // if we're waiting to reconnect, try now!
121 |             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
122 |         }
123 |         pathMonitor.start(queue: .main)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:168:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
166 |             repeats: false
167 |         ) { [weak self] _ in
168 |             self?.connectTimerFired()
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
169 |         }
170 |         timer.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:234:17: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
232 |                 // Ping timer fired very far after our expected fire date, indicating we were probably suspended
233 |                 // The WebSocket connection is going to fail after such a long interval; force a faster reconnect.
234 |                 self?.handle(pingResult: .failure(HAReconnectManagerError.lateFireReset))
    |                 `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
235 |                 return
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/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:268:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
269 |         }
270 |         timeoutTimer?.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: reference to captured var 'pingToken' in concurrently-executing code
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: reference to captured var 'pingToken' in concurrently-executing code
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:23:17: warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 21 |     /// `URLSession` delegate queue, and mutated on the main queue by `start`/`stop`, so all access goes
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
    |                 `- warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
 25 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAProtected.swift:6:14: note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 4 | ///
 5 | /// Provided publicly as a convenience in case the library uses it anywhere.
 6 | public class HAProtected<ValueType> {
   |              `- note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 7 |     private var value: ValueType
 8 |     private let lock: os_unfair_lock_t = {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:24:22: warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
    |                      `- warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 25 |
 26 |     private let clientIdentity: HAConnectionInfo.ClientIdentityProvider?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:80:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 78 |     func write(string: String, completion: (() -> Void)?) {
 79 |         let task = state.read { $0.task }
 80 |         task?.send(.string(string), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 81 |     }
 82 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:87:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 85 |         case .binaryFrame:
 86 |             let task = state.read { $0.task }
 87 |             task?.send(.data(data), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 88 |         case .textFrame:
 89 |             write(string: String(decoding: data, as: UTF8.self), completion: completion)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:92:48: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 90 |         case .ping:
 91 |             let task = state.read { $0.task }
 92 |             task?.sendPing(pongReceiveHandler: sendCompletion(completion))
    |                                                `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 93 |         default:
 94 |             break
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestController.swift:178:21: warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
 50 | }
 51 |
 52 | internal class HARequestControllerImpl: HARequestController {
    |                `- note: class 'HARequestControllerImpl' does not conform to the 'Sendable' protocol
 53 |     private struct State {
 54 |         @HASchedulingTimer var retrySubscriptionsTimer: Timer?
    :
176 |             } else {
177 |                 let timer = Timer(fire: fireDate, interval: 0, repeats: false, block: { [weak self] _ in
178 |                     self?.delayedRetrySubscriptions()
    |                     `- warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
179 |                 })
180 |                 timer.tolerance = 5.0
[70/79] Compiling HAKit HAResetLock.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:121:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
119 |         pathMonitor.pathUpdateHandler = { [weak self] _ in
120 |             // if we're waiting to reconnect, try now!
121 |             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
122 |         }
123 |         pathMonitor.start(queue: .main)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:168:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
166 |             repeats: false
167 |         ) { [weak self] _ in
168 |             self?.connectTimerFired()
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
169 |         }
170 |         timer.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:234:17: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
232 |                 // Ping timer fired very far after our expected fire date, indicating we were probably suspended
233 |                 // The WebSocket connection is going to fail after such a long interval; force a faster reconnect.
234 |                 self?.handle(pingResult: .failure(HAReconnectManagerError.lateFireReset))
    |                 `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
235 |                 return
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/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:268:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
269 |         }
270 |         timeoutTimer?.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: reference to captured var 'pingToken' in concurrently-executing code
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: reference to captured var 'pingToken' in concurrently-executing code
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:23:17: warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 21 |     /// `URLSession` delegate queue, and mutated on the main queue by `start`/`stop`, so all access goes
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
    |                 `- warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
 25 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAProtected.swift:6:14: note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 4 | ///
 5 | /// Provided publicly as a convenience in case the library uses it anywhere.
 6 | public class HAProtected<ValueType> {
   |              `- note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 7 |     private var value: ValueType
 8 |     private let lock: os_unfair_lock_t = {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:24:22: warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
    |                      `- warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 25 |
 26 |     private let clientIdentity: HAConnectionInfo.ClientIdentityProvider?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:80:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 78 |     func write(string: String, completion: (() -> Void)?) {
 79 |         let task = state.read { $0.task }
 80 |         task?.send(.string(string), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 81 |     }
 82 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:87:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 85 |         case .binaryFrame:
 86 |             let task = state.read { $0.task }
 87 |             task?.send(.data(data), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 88 |         case .textFrame:
 89 |             write(string: String(decoding: data, as: UTF8.self), completion: completion)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:92:48: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 90 |         case .ping:
 91 |             let task = state.read { $0.task }
 92 |             task?.sendPing(pongReceiveHandler: sendCompletion(completion))
    |                                                `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 93 |         default:
 94 |             break
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestController.swift:178:21: warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
 50 | }
 51 |
 52 | internal class HARequestControllerImpl: HARequestController {
    |                `- note: class 'HARequestControllerImpl' does not conform to the 'Sendable' protocol
 53 |     private struct State {
 54 |         @HASchedulingTimer var retrySubscriptionsTimer: Timer?
    :
176 |             } else {
177 |                 let timer = Timer(fire: fireDate, interval: 0, repeats: false, block: { [weak self] _ in
178 |                     self?.delayedRetrySubscriptions()
    |                     `- warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
179 |                 })
180 |                 timer.tolerance = 5.0
[71/79] Compiling HAKit HASchedulingTimer.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:121:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
119 |         pathMonitor.pathUpdateHandler = { [weak self] _ in
120 |             // if we're waiting to reconnect, try now!
121 |             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
122 |         }
123 |         pathMonitor.start(queue: .main)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:168:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
166 |             repeats: false
167 |         ) { [weak self] _ in
168 |             self?.connectTimerFired()
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
169 |         }
170 |         timer.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:234:17: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
232 |                 // Ping timer fired very far after our expected fire date, indicating we were probably suspended
233 |                 // The WebSocket connection is going to fail after such a long interval; force a faster reconnect.
234 |                 self?.handle(pingResult: .failure(HAReconnectManagerError.lateFireReset))
    |                 `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
235 |                 return
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/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:268:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
269 |         }
270 |         timeoutTimer?.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: reference to captured var 'pingToken' in concurrently-executing code
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: reference to captured var 'pingToken' in concurrently-executing code
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:23:17: warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 21 |     /// `URLSession` delegate queue, and mutated on the main queue by `start`/`stop`, so all access goes
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
    |                 `- warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
 25 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAProtected.swift:6:14: note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 4 | ///
 5 | /// Provided publicly as a convenience in case the library uses it anywhere.
 6 | public class HAProtected<ValueType> {
   |              `- note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 7 |     private var value: ValueType
 8 |     private let lock: os_unfair_lock_t = {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:24:22: warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
    |                      `- warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 25 |
 26 |     private let clientIdentity: HAConnectionInfo.ClientIdentityProvider?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:80:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 78 |     func write(string: String, completion: (() -> Void)?) {
 79 |         let task = state.read { $0.task }
 80 |         task?.send(.string(string), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 81 |     }
 82 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:87:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 85 |         case .binaryFrame:
 86 |             let task = state.read { $0.task }
 87 |             task?.send(.data(data), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 88 |         case .textFrame:
 89 |             write(string: String(decoding: data, as: UTF8.self), completion: completion)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:92:48: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 90 |         case .ping:
 91 |             let task = state.read { $0.task }
 92 |             task?.sendPing(pongReceiveHandler: sendCompletion(completion))
    |                                                `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 93 |         default:
 94 |             break
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestController.swift:178:21: warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
 50 | }
 51 |
 52 | internal class HARequestControllerImpl: HARequestController {
    |                `- note: class 'HARequestControllerImpl' does not conform to the 'Sendable' protocol
 53 |     private struct State {
 54 |         @HASchedulingTimer var retrySubscriptionsTimer: Timer?
    :
176 |             } else {
177 |                 let timer = Timer(fire: fireDate, interval: 0, repeats: false, block: { [weak self] _ in
178 |                     self?.delayedRetrySubscriptions()
    |                     `- warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
179 |                 })
180 |                 timer.tolerance = 5.0
[72/79] Compiling HAKit HAURLSessionWebSocketEngine.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:121:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
119 |         pathMonitor.pathUpdateHandler = { [weak self] _ in
120 |             // if we're waiting to reconnect, try now!
121 |             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
122 |         }
123 |         pathMonitor.start(queue: .main)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:168:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
166 |             repeats: false
167 |         ) { [weak self] _ in
168 |             self?.connectTimerFired()
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
169 |         }
170 |         timer.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:234:17: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
232 |                 // Ping timer fired very far after our expected fire date, indicating we were probably suspended
233 |                 // The WebSocket connection is going to fail after such a long interval; force a faster reconnect.
234 |                 self?.handle(pingResult: .failure(HAReconnectManagerError.lateFireReset))
    |                 `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
235 |                 return
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/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:268:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
269 |         }
270 |         timeoutTimer?.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: reference to captured var 'pingToken' in concurrently-executing code
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: reference to captured var 'pingToken' in concurrently-executing code
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:23:17: warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 21 |     /// `URLSession` delegate queue, and mutated on the main queue by `start`/`stop`, so all access goes
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
    |                 `- warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
 25 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAProtected.swift:6:14: note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 4 | ///
 5 | /// Provided publicly as a convenience in case the library uses it anywhere.
 6 | public class HAProtected<ValueType> {
   |              `- note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 7 |     private var value: ValueType
 8 |     private let lock: os_unfair_lock_t = {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:24:22: warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
    |                      `- warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 25 |
 26 |     private let clientIdentity: HAConnectionInfo.ClientIdentityProvider?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:80:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 78 |     func write(string: String, completion: (() -> Void)?) {
 79 |         let task = state.read { $0.task }
 80 |         task?.send(.string(string), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 81 |     }
 82 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:87:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 85 |         case .binaryFrame:
 86 |             let task = state.read { $0.task }
 87 |             task?.send(.data(data), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 88 |         case .textFrame:
 89 |             write(string: String(decoding: data, as: UTF8.self), completion: completion)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:92:48: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 90 |         case .ping:
 91 |             let task = state.read { $0.task }
 92 |             task?.sendPing(pongReceiveHandler: sendCompletion(completion))
    |                                                `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 93 |         default:
 94 |             break
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestController.swift:178:21: warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
 50 | }
 51 |
 52 | internal class HARequestControllerImpl: HARequestController {
    |                `- note: class 'HARequestControllerImpl' does not conform to the 'Sendable' protocol
 53 |     private struct State {
 54 |         @HASchedulingTimer var retrySubscriptionsTimer: Timer?
    :
176 |             } else {
177 |                 let timer = Timer(fire: fireDate, interval: 0, repeats: false, block: { [weak self] _ in
178 |                     self?.delayedRetrySubscriptions()
    |                     `- warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
179 |                 })
180 |                 timer.tolerance = 5.0
[73/79] Compiling HAKit HARequestController.swift
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:121:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
119 |         pathMonitor.pathUpdateHandler = { [weak self] _ in
120 |             // if we're waiting to reconnect, try now!
121 |             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
122 |         }
123 |         pathMonitor.start(queue: .main)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:168:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
166 |             repeats: false
167 |         ) { [weak self] _ in
168 |             self?.connectTimerFired()
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
169 |         }
170 |         timer.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:234:17: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
232 |                 // Ping timer fired very far after our expected fire date, indicating we were probably suspended
233 |                 // The WebSocket connection is going to fail after such a long interval; force a faster reconnect.
234 |                 self?.handle(pingResult: .failure(HAReconnectManagerError.lateFireReset))
    |                 `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
235 |                 return
236 |             }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: capture of 'pingToken' with non-sendable type '(any HACancellable)?' in a '@Sendable' closure
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/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:268:13: warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
 36 | }
 37 |
 38 | internal class HAReconnectManagerImpl: HAReconnectManager {
    |                `- note: class 'HAReconnectManagerImpl' does not conform to the 'Sendable' protocol
 39 |     struct PingConfig {
 40 |         let interval: Measurement<UnitDuration>
    :
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
    |             `- warning: capture of 'self' with non-sendable type 'HAReconnectManagerImpl?' in a '@Sendable' closure
269 |         }
270 |         timeoutTimer?.tolerance = 5.0
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAReconnectManager.swift:267:13: warning: reference to captured var 'pingToken' in concurrently-executing code
265 |             repeats: false
266 |         ) { [weak self] _ in
267 |             pingToken?.cancel()
    |             `- warning: reference to captured var 'pingToken' in concurrently-executing code
268 |             self?.handle(pingResult: .failure(HAReconnectManagerError.timeout))
269 |         }
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:23:17: warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 21 |     /// `URLSession` delegate queue, and mutated on the main queue by `start`/`stop`, so all access goes
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
    |                 `- warning: stored property 'state' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' has non-sendable type 'HAProtected<HAURLSessionWebSocketEngine.State>'; this is an error in the Swift 6 language mode
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
 25 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAProtected.swift:6:14: note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 4 | ///
 5 | /// Provided publicly as a convenience in case the library uses it anywhere.
 6 | public class HAProtected<ValueType> {
   |              `- note: generic class 'HAProtected' does not conform to the 'Sendable' protocol
 7 |     private var value: ValueType
 8 |     private let lock: os_unfair_lock_t = {
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:24:22: warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 22 |     /// through this lock.
 23 |     private let state = HAProtected<State>(value: .init())
 24 |     private weak var delegate: HAWebSocketEngineDelegate?
    |                      `- warning: stored property 'delegate' of 'Sendable'-conforming class 'HAURLSessionWebSocketEngine' is mutable; this is an error in the Swift 6 language mode
 25 |
 26 |     private let clientIdentity: HAConnectionInfo.ClientIdentityProvider?
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:80:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 78 |     func write(string: String, completion: (() -> Void)?) {
 79 |         let task = state.read { $0.task }
 80 |         task?.send(.string(string), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 81 |     }
 82 |
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:87:56: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 85 |         case .binaryFrame:
 86 |             let task = state.read { $0.task }
 87 |             task?.send(.data(data), completionHandler: sendCompletion(completion))
    |                                                        `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 88 |         case .textFrame:
 89 |             write(string: String(decoding: data, as: UTF8.self), completion: completion)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAURLSessionWebSocketEngine.swift:92:48: warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 90 |         case .ping:
 91 |             let task = state.read { $0.task }
 92 |             task?.sendPing(pongReceiveHandler: sendCompletion(completion))
    |                                                `- warning: converting non-sendable function value to '@Sendable ((any Error)?) -> Void' may introduce data races
 93 |         default:
 94 |             break
/Users/admin/builder/spi-builder-workspace/Source/Internal/RequestController/HARequestController.swift:178:21: warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
 50 | }
 51 |
 52 | internal class HARequestControllerImpl: HARequestController {
    |                `- note: class 'HARequestControllerImpl' does not conform to the 'Sendable' protocol
 53 |     private struct State {
 54 |         @HASchedulingTimer var retrySubscriptionsTimer: Timer?
    :
176 |             } else {
177 |                 let timer = Timer(fire: fireDate, interval: 0, repeats: false, block: { [weak self] _ in
178 |                     self?.delayedRetrySubscriptions()
    |                     `- warning: capture of 'self' with non-sendable type 'HARequestControllerImpl?' in a '@Sendable' closure
179 |                 })
180 |                 timer.tolerance = 5.0
[74/79] Compiling PromiseKit resource_bundle_accessor.swift
[75/79] 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 |
[76/79] 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 |
[77/79] 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 |
[78/79] 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 |
[79/79] 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 |
[80/84] Compiling HAKit_PromiseKit HACache+PromiseKit.swift
[81/84] Emitting module HAKit_PromiseKit
[82/84] Compiling HAKit_PromiseKit HAConnection+PromiseKit.swift
[83/84] 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 {
[84/84] 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 |
Build complete! (29.61s)
Fetching https://github.com/mxcl/PromiseKit
[1/17244] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit from cache (2.49s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 8.2.0 (3.19s)
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 8.2.0
Build complete.
{
  "dependencies" : [
    {
      "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" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "HAKit",
      "targets" : [
        "HAKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HAKit+PromiseKit",
      "targets" : [
        "HAKit+PromiseKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HAKit+Mocks",
      "targets" : [
        "HAKit+Mocks"
      ],
      "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",
        "HAURLSessionWebSocketEngine.test.swift",
        "HAWebSocket.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"
      ],
      "product_memberships" : [
        "HAKit+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",
      "product_memberships" : [
        "HAKit+Mocks"
      ],
      "sources" : [
        "HAConnection+Mock.swift"
      ],
      "target_dependencies" : [
        "HAKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HAKit",
      "module_type" : "SwiftTarget",
      "name" : "HAKit",
      "path" : "Source",
      "product_memberships" : [
        "HAKit",
        "HAKit+PromiseKit",
        "HAKit+Mocks"
      ],
      "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/HAURLSessionWebSocketEngine.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",
        "Internal/WebSocket/HAWebSocket.swift",
        "Internal/WebSocket/HAWebSocketEngine.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.