The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HMKit, reference 3.2.5 (398257), with Swift 6.1 for macOS (SPM) on 8 Nov 2025 21:18:12 UTC.

Swift 6 data race errors: 21

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

380 |         // Send the update to the delegate
381 |         OperationQueue.main.addOperation {
382 |             self.delegate?.localDevice(didLoseLink: link)
    |                                                     `- warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
383 |         }
384 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:39:14: note: class 'HMLink' does not conform to the 'Sendable' protocol
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:580:13: warning: sending 'hasTimedOut' risks causing data races; this is an error in the Swift 6 language mode
578 |         // Start a 'timeout timer'
579 |         DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + HMTimeouts.register.rawValue) {
580 |             hasTimedOut = true
    |             |- warning: sending 'hasTimedOut' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'hasTimedOut' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
581 |         }
582 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:480:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
478 |             // Because in Chrome there might be a race-condition between different characteristics...
479 |             DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.1) {
480 |                 self.changeState(to: .authenticated)
    |                 |- 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
481 |             }
482 |         }
[73/122] Compiling HMKit HMParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:320:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
318 |         // Send the update to the delegate
319 |         OperationQueue.main.addOperation {
320 |             self.delegate?.link(self,
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
321 |                                 authorisationRequestedBy: serial,
322 |                                 approve: approvalBlock,
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:322:42: warning: capture of 'approvalBlock' with non-sendable type '() throws -> Void' in a '@Sendable' closure
320 |             self.delegate?.link(self,
321 |                                 authorisationRequestedBy: serial,
322 |                                 approve: approvalBlock,
    |                                          |- warning: capture of 'approvalBlock' with non-sendable type '() throws -> Void' in a '@Sendable' closure
    |                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
323 |                                 timeout: HMTimeouts.register.rawValue)
324 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:343:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
341 |         // Send the update to the delegate
342 |         OperationQueue.main.addOperation {
343 |             self.delegate?.link(self, stateChanged: state, previousState: oldState)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
344 |         }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:343:53: warning: capture of 'state' with non-sendable type 'HMLinkState' in a '@Sendable' closure
341 |         // Send the update to the delegate
342 |         OperationQueue.main.addOperation {
343 |             self.delegate?.link(self, stateChanged: state, previousState: oldState)
    |                                                     `- warning: capture of 'state' with non-sendable type 'HMLinkState' in a '@Sendable' closure
344 |         }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLinkState.swift:35:13: note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLink`
35 | public enum HMLinkState {
   |             `- note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
36 |
37 |     /// Link is authenticated with the `HMLocalDevice`
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:343:75: warning: capture of 'oldState' with non-sendable type 'HMLinkState' in a '@Sendable' closure
341 |         // Send the update to the delegate
342 |         OperationQueue.main.addOperation {
343 |             self.delegate?.link(self, stateChanged: state, previousState: oldState)
    |                                                                           `- warning: capture of 'oldState' with non-sendable type 'HMLinkState' in a '@Sendable' closure
344 |         }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLinkState.swift:35:13: note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLink`
35 | public enum HMLinkState {
   |             `- note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
36 |
37 |     /// Link is authenticated with the `HMLocalDevice`
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:353:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
351 |         // Send the update to the delegate
352 |         OperationQueue.main.addOperation {
353 |             self.delegate?.link(self, commandReceived: bytes, contentType: contentType, requestID: requestID)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
354 |         }
355 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:353:76: warning: capture of 'contentType' with non-sendable type 'HMContainerContentType' in a '@Sendable' closure
351 |         // Send the update to the delegate
352 |         OperationQueue.main.addOperation {
353 |             self.delegate?.link(self, commandReceived: bytes, contentType: contentType, requestID: requestID)
    |                                                                            `- warning: capture of 'contentType' with non-sendable type 'HMContainerContentType' in a '@Sendable' closure
354 |         }
355 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMContainerContentType.swift:34:13: note: consider making enum 'HMContainerContentType' conform to the 'Sendable' protocol
32 |
33 |
34 | public enum HMContainerContentType: UInt8 {
   |             `- note: consider making enum 'HMContainerContentType' conform to the 'Sendable' protocol
35 |
36 |     /// Unknown type of content
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:360:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
358 |         // Send the update to the delegate
359 |         OperationQueue.main.addOperation {
360 |             self.delegate?.link(self, receivedError: error)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
361 |         }
362 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:367:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
365 |         // Send the update to the delegate
366 |         OperationQueue.main.addOperation {
367 |             self.delegate?.link(self, revokeCompleted: bytes)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
368 |         }
369 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:42:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMLocalDevice' may have shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
 42 |     public static let shared: HMLocalDevice = HMLocalDevice()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMLocalDevice' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:368:13: warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
    :
366 |         // Send the update to the delegate too
367 |         OperationQueue.main.addOperation {
368 |             self.delegate?.localDevice(stateChanged: state, oldState: oldState)
    |             `- warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
369 |         }
370 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:368:54: warning: capture of 'state' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
366 |         // Send the update to the delegate too
367 |         OperationQueue.main.addOperation {
368 |             self.delegate?.localDevice(stateChanged: state, oldState: oldState)
    |                                                      `- warning: capture of 'state' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
369 |         }
370 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLocalDeviceState.swift:35:13: note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLocalDevice`.
35 | public enum HMLocalDeviceState {
   |             `- note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
36 |
37 |     /// There is a problem with *bluetooth* - the `HMLocalDevice` cannot be broadcasted.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:368:71: warning: capture of 'oldState' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
366 |         // Send the update to the delegate too
367 |         OperationQueue.main.addOperation {
368 |             self.delegate?.localDevice(stateChanged: state, oldState: oldState)
    |                                                                       `- warning: capture of 'oldState' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
369 |         }
370 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLocalDeviceState.swift:35:13: note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLocalDevice`.
35 | public enum HMLocalDeviceState {
   |             `- note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
36 |
37 |     /// There is a problem with *bluetooth* - the `HMLocalDevice` cannot be broadcasted.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:375:13: warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
    :
373 |         // Send the update to the delegate
374 |         OperationQueue.main.addOperation {
375 |             self.delegate?.localDevice(didReceiveLink: link)
    |             `- warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
376 |         }
377 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:375:56: warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
373 |         // Send the update to the delegate
374 |         OperationQueue.main.addOperation {
375 |             self.delegate?.localDevice(didReceiveLink: link)
    |                                                        `- warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
376 |         }
377 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:39:14: note: class 'HMLink' does not conform to the 'Sendable' protocol
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:382:13: warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
    :
380 |         // Send the update to the delegate
381 |         OperationQueue.main.addOperation {
382 |             self.delegate?.localDevice(didLoseLink: link)
    |             `- warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
383 |         }
384 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:382:53: warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
380 |         // Send the update to the delegate
381 |         OperationQueue.main.addOperation {
382 |             self.delegate?.localDevice(didLoseLink: link)
    |                                                     `- warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
383 |         }
384 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:39:14: note: class 'HMLink' does not conform to the 'Sendable' protocol
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:580:13: warning: sending 'hasTimedOut' risks causing data races; this is an error in the Swift 6 language mode
578 |         // Start a 'timeout timer'
579 |         DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + HMTimeouts.register.rawValue) {
580 |             hasTimedOut = true
    |             |- warning: sending 'hasTimedOut' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'hasTimedOut' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
581 |         }
582 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:480:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
478 |             // Because in Chrome there might be a race-condition between different characteristics...
479 |             DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.1) {
480 |                 self.changeState(to: .authenticated)
    |                 |- 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
481 |             }
482 |         }
[74/122] Compiling HMKit HMParserDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:320:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
318 |         // Send the update to the delegate
319 |         OperationQueue.main.addOperation {
320 |             self.delegate?.link(self,
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
321 |                                 authorisationRequestedBy: serial,
322 |                                 approve: approvalBlock,
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:322:42: warning: capture of 'approvalBlock' with non-sendable type '() throws -> Void' in a '@Sendable' closure
320 |             self.delegate?.link(self,
321 |                                 authorisationRequestedBy: serial,
322 |                                 approve: approvalBlock,
    |                                          |- warning: capture of 'approvalBlock' with non-sendable type '() throws -> Void' in a '@Sendable' closure
    |                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
323 |                                 timeout: HMTimeouts.register.rawValue)
324 |         }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:343:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
341 |         // Send the update to the delegate
342 |         OperationQueue.main.addOperation {
343 |             self.delegate?.link(self, stateChanged: state, previousState: oldState)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
344 |         }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:343:53: warning: capture of 'state' with non-sendable type 'HMLinkState' in a '@Sendable' closure
341 |         // Send the update to the delegate
342 |         OperationQueue.main.addOperation {
343 |             self.delegate?.link(self, stateChanged: state, previousState: oldState)
    |                                                     `- warning: capture of 'state' with non-sendable type 'HMLinkState' in a '@Sendable' closure
344 |         }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLinkState.swift:35:13: note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLink`
35 | public enum HMLinkState {
   |             `- note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
36 |
37 |     /// Link is authenticated with the `HMLocalDevice`
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:343:75: warning: capture of 'oldState' with non-sendable type 'HMLinkState' in a '@Sendable' closure
341 |         // Send the update to the delegate
342 |         OperationQueue.main.addOperation {
343 |             self.delegate?.link(self, stateChanged: state, previousState: oldState)
    |                                                                           `- warning: capture of 'oldState' with non-sendable type 'HMLinkState' in a '@Sendable' closure
344 |         }
345 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLinkState.swift:35:13: note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLink`
35 | public enum HMLinkState {
   |             `- note: consider making enum 'HMLinkState' conform to the 'Sendable' protocol
36 |
37 |     /// Link is authenticated with the `HMLocalDevice`
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:353:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
351 |         // Send the update to the delegate
352 |         OperationQueue.main.addOperation {
353 |             self.delegate?.link(self, commandReceived: bytes, contentType: contentType, requestID: requestID)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
354 |         }
355 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:353:76: warning: capture of 'contentType' with non-sendable type 'HMContainerContentType' in a '@Sendable' closure
351 |         // Send the update to the delegate
352 |         OperationQueue.main.addOperation {
353 |             self.delegate?.link(self, commandReceived: bytes, contentType: contentType, requestID: requestID)
    |                                                                            `- warning: capture of 'contentType' with non-sendable type 'HMContainerContentType' in a '@Sendable' closure
354 |         }
355 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMContainerContentType.swift:34:13: note: consider making enum 'HMContainerContentType' conform to the 'Sendable' protocol
32 |
33 |
34 | public enum HMContainerContentType: UInt8 {
   |             `- note: consider making enum 'HMContainerContentType' conform to the 'Sendable' protocol
35 |
36 |     /// Unknown type of content
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:360:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
358 |         // Send the update to the delegate
359 |         OperationQueue.main.addOperation {
360 |             self.delegate?.link(self, receivedError: error)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
361 |         }
362 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:367:13: warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
    :
365 |         // Send the update to the delegate
366 |         OperationQueue.main.addOperation {
367 |             self.delegate?.link(self, revokeCompleted: bytes)
    |             `- warning: capture of 'self' with non-sendable type 'HMLink' in a '@Sendable' closure
368 |         }
369 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:42:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMLocalDevice' may have shared mutable state; this is an error in the Swift 6 language mode
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
 42 |     public static let shared: HMLocalDevice = HMLocalDevice()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMLocalDevice' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 43 |
 44 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:368:13: warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
    :
366 |         // Send the update to the delegate too
367 |         OperationQueue.main.addOperation {
368 |             self.delegate?.localDevice(stateChanged: state, oldState: oldState)
    |             `- warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
369 |         }
370 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:368:54: warning: capture of 'state' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
366 |         // Send the update to the delegate too
367 |         OperationQueue.main.addOperation {
368 |             self.delegate?.localDevice(stateChanged: state, oldState: oldState)
    |                                                      `- warning: capture of 'state' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
369 |         }
370 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLocalDeviceState.swift:35:13: note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLocalDevice`.
35 | public enum HMLocalDeviceState {
   |             `- note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
36 |
37 |     /// There is a problem with *bluetooth* - the `HMLocalDevice` cannot be broadcasted.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:368:71: warning: capture of 'oldState' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
366 |         // Send the update to the delegate too
367 |         OperationQueue.main.addOperation {
368 |             self.delegate?.localDevice(stateChanged: state, oldState: oldState)
    |                                                                       `- warning: capture of 'oldState' with non-sendable type 'HMLocalDeviceState' in a '@Sendable' closure
369 |         }
370 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Enums/HMLocalDeviceState.swift:35:13: note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
33 |
34 | /// The values representing the state of the `HMLocalDevice`.
35 | public enum HMLocalDeviceState {
   |             `- note: consider making enum 'HMLocalDeviceState' conform to the 'Sendable' protocol
36 |
37 |     /// There is a problem with *bluetooth* - the `HMLocalDevice` cannot be broadcasted.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:375:13: warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
    :
373 |         // Send the update to the delegate
374 |         OperationQueue.main.addOperation {
375 |             self.delegate?.localDevice(didReceiveLink: link)
    |             `- warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
376 |         }
377 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:375:56: warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
373 |         // Send the update to the delegate
374 |         OperationQueue.main.addOperation {
375 |             self.delegate?.localDevice(didReceiveLink: link)
    |                                                        `- warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
376 |         }
377 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:39:14: note: class 'HMLink' does not conform to the 'Sendable' protocol
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:382:13: warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
 37 |
 38 |
 39 | public class HMLocalDevice {
    |              `- note: class 'HMLocalDevice' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Singleton access for the `HMLocalDevice`, read-only.
    :
380 |         // Send the update to the delegate
381 |         OperationQueue.main.addOperation {
382 |             self.delegate?.localDevice(didLoseLink: link)
    |             `- warning: capture of 'self' with non-sendable type 'HMLocalDevice' in a '@Sendable' closure
383 |         }
384 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLocalDevice.swift:382:53: warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
380 |         // Send the update to the delegate
381 |         OperationQueue.main.addOperation {
382 |             self.delegate?.localDevice(didLoseLink: link)
    |                                                     `- warning: capture of 'link' with non-sendable type 'HMLink' in a '@Sendable' closure
383 |         }
384 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:39:14: note: class 'HMLink' does not conform to the 'Sendable' protocol
 37 |
 38 |
 39 | public class HMLink {
    |              `- note: class 'HMLink' does not conform to the 'Sendable' protocol
 40 |
 41 |     /// Object that conforms to `HMLinkDelegate` for callback from the `HMLink`.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:580:13: warning: sending 'hasTimedOut' risks causing data races; this is an error in the Swift 6 language mode
578 |         // Start a 'timeout timer'
579 |         DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + HMTimeouts.register.rawValue) {
580 |             hasTimedOut = true
    |             |- warning: sending 'hasTimedOut' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'hasTimedOut' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
581 |         }
582 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/HMLink.swift:480:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
478 |             // Because in Chrome there might be a race-condition between different characteristics...
479 |             DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + 0.1) {
480 |                 self.changeState(to: .authenticated)
    |                 |- 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
481 |             }
482 |         }
[75/122] Compiling HMKit HMBluetooth.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[76/122] Compiling HMKit HMCharacteristic.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[77/122] Compiling HMKit HMPeripheralRetryValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[78/122] Compiling HMKit HMService.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[79/122] Compiling HMKit HMAccessCertificate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[80/122] Compiling HMKit HMAccessCertificateVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[81/122] Compiling HMKit HMDeviceCertificate.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[82/122] Compiling HMKit HMDeviceCertificateVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[83/122] Compiling HMKit HMBytesAndVersionCodable.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[84/122] Compiling HMKit HMBytesGettable.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Bluetooth/HMBluetooth.swift:359:23: warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
 33 |
 34 |
 35 | class HMBluetooth: NSObject {
    |       `- note: class 'HMBluetooth' does not conform to the 'Sendable' protocol
 36 |
 37 |     private(set) var links: Set<HMLink>
    :
357 |             alivePingTimer = Timer.scheduledTimer(withTimeInterval: HMTimeouts.alivePing.rawValue, repeats: true) { _ in
358 |                 // Check if the ALIVE PING is activated, if not – stop the repeating timer.
359 |                 guard self.isAlivePingEnabled, self.servicesAdded else {
    |                       `- warning: capture of 'self' with non-sendable type 'HMBluetooth' in a '@Sendable' closure
360 |                     return self.stopAlivePing()
361 |                 }
[85/122] Compiling HMKit HMTelematicsRequestError.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[86/122] Compiling HMKit HMTelematicsAccessCertificateRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[87/122] Compiling HMKit HMTelematicsAccessCertificateResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[88/122] Compiling HMKit HMTelematicsCommandRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[89/122] Compiling HMKit HMTelematicsCommandResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[90/122] Compiling HMKit HMTelematicsNonceRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[91/122] Compiling HMKit HMTelematicsNonceResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[92/122] Compiling HMKit HMTelematicsRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[93/122] Compiling HMKit HMTelematicsResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Telematics/Requests-Responses/HMTelematicsRequest.swift:73:24: warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
 71 |                     types: [.error, .telematics])
 72 |
 73 |                 return completion(.failure(.misc(error)))
    |                        |- warning: capture of 'completion' with non-sendable type 'HMTelematicsResultBlock<Self.Response>' (aka '(Result<Self.Response, HMTelematicsError>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 74 |             }
 75 |
[94/122] Compiling HMKit HMAuthenticateDoneCommandResponse.swift
[95/122] Compiling HMKit HMCommandResponse.swift
[96/122] Compiling HMKit HMErrorCommandResponse.swift
[97/122] Compiling HMKit HMGetAccessCertificateCommandResponse.swift
[98/122] Compiling HMKit HMGetDeviceCertificateCommandResponse.swift
[99/122] Compiling HMKit HMGetNonceCommandResponse.swift
[100/122] Compiling HMKit HMRegisterCertificateCommandResponse.swift
[101/122] Compiling HMKit HMRevokeCommandResponse.swift
[102/122] Compiling HMKit HMSecureContainerCommandResponse.swift
[103/122] Compiling HMKit HMBluetoothError.swift
[104/122] Compiling HMKit HMAuthenticateDoneCommandRequest.swift
[105/122] Compiling HMKit HMCommandRequest.swift
[106/122] Compiling HMKit HMErrorCommandRequest.swift
[107/122] Compiling HMKit HMGetAccessCertificateCommandRequest.swift
[108/122] Compiling HMKit HMGetDeviceCertificateCommandRequest.swift
[109/122] Compiling HMKit HMGetNonceCommandRequest.swift
[110/122] Compiling HMKit HMRegisterCertificateCommandRequest.swift
[111/122] Compiling HMKit HMRevokeCommandRequest.swift
[112/122] Compiling HMKit HMSecureContainerCommandRequest.swift
[113/122] Compiling HMKit HMAuthenticateCommandResponse.swift
[114/122] Compiling HMKit HMOAuth.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[115/122] Compiling HMKit HMOAuthFailure.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[116/122] Compiling HMKit HMOAuthGrantType.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[117/122] Compiling HMKit HMOAuthOptionalValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[118/122] Compiling HMKit HMOAuthRequiredValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[119/122] Compiling HMKit HMOAuthSuccess.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[120/122] Compiling HMKit HMKeychainLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[121/122] Compiling HMKit HMLoggingOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
[122/122] Compiling HMKit HMPeriod.swift
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 |
 43 | public class HMOAuth {
    |              `- note: class 'HMOAuth' does not conform to the 'Sendable' protocol
 44 |
 45 |     /// The *singleton* access to the OAuth.
 46 |     public static let shared = HMOAuth()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'HMOAuth' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 47 |
 48 |     public private(set) var appID: String!
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuth.swift:359:24: warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
357 |                 log("token response error: \(error!)", types: [.error, .oauth])
358 |
359 |                 return handler(.failure(HMOAuthFailure(reason: .accessDenied, state: state)))
    |                        |- warning: capture of 'handler' with non-sendable type '(HMOAuthResult) -> Void' (aka '(Result<HMOAuthSuccess, HMOAuthFailure>) -> ()') in a '@Sendable' closure
    |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
360 |             }
361 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/OAuth/HMOAuthFailure.swift:54:16: warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
34 | public struct HMOAuthFailure: Error {
35 |
36 |     public enum Reason {
   |                 `- note: consider making enum 'Reason' conform to the 'Sendable' protocol
37 |
38 |         /// Access is denied, or there was an error returned.
   :
52 |     }
53 |
54 |     public let reason: Reason
   |                `- warning: stored property 'reason' of 'Sendable'-conforming struct 'HMOAuthFailure' has non-sendable type 'HMOAuthFailure.Reason'; this is an error in the Swift 6 language mode
55 |     public let state: String?
56 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMKeychainLayer.swift:38:16: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | struct HMKeychainLayer {
 37 |
 38 |     static var shared = HMKeychainLayer()
    |                |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:38:23: warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 36 | public struct HMLoggingOptions: OptionSet {
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    |                       |- warning: static property 'activeOptions' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'activeOptions' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'activeOptions' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 39 |
 40 |     public let rawValue: UInt16
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:98:23: warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 96 |
 97 |     /// Logs encountered errors.
 98 |     public static let error         = HMLoggingOptions(rawValue: 1 << 0)
    |                       |- warning: static property 'error' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'error' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 99 |
100 |     /// Logs general events.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:101:23: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
 99 |
100 |     /// Logs general events.
101 |     public static let general       = HMLoggingOptions(rawValue: 1 << 1)
    |                       |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 |     /// Logs executing commands.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:104:23: warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
102 |
103 |     /// Logs executing commands.
104 |     public static let command       = HMLoggingOptions(rawValue: 1 << 2)
    |                       |- warning: static property 'command' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'command' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 |
106 |     /// Logs bluetooth communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:107:23: warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
105 |
106 |     /// Logs bluetooth communication.
107 |     public static let bluetooth     = HMLoggingOptions(rawValue: 1 << 3)
    |                       |- warning: static property 'bluetooth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bluetooth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
108 |
109 |     /// Logs telematics communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:110:23: warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
108 |
109 |     /// Logs telematics communication.
110 |     public static let telematics    = HMLoggingOptions(rawValue: 1 << 4)
    |                       |- warning: static property 'telematics' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'telematics' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 |
112 |     /// Logs encrypted communication.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:113:23: warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
111 |
112 |     /// Logs encrypted communication.
113 |     public static let encryption    = HMLoggingOptions(rawValue: 1 << 5)
    |                       |- warning: static property 'encryption' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'encryption' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 |
115 |     /// Logs extra deep bluetooth info.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:116:23: warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
114 |
115 |     /// Logs extra deep bluetooth info.
116 |     public static let maidu         = HMLoggingOptions(rawValue: 1 << 6)
    |                       |- warning: static property 'maidu' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'maidu' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 |
118 |     /// Logs telematics requests.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:119:23: warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
117 |
118 |     /// Logs telematics requests.
119 |     public static let urlRequests   = HMLoggingOptions(rawValue: 1 << 7)
    |                       |- warning: static property 'urlRequests' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'urlRequests' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 |
121 |     /// Logs the OAuth errors.
/Users/admin/builder/spi-builder-workspace/Sources/HMKit/Others/HMLoggingOptions.swift:122:23: warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |
 35 | // TODO: This can and should be refactored to something better
 36 | public struct HMLoggingOptions: OptionSet {
    |               `- note: consider making struct 'HMLoggingOptions' conform to the 'Sendable' protocol
 37 |
 38 |     public static var activeOptions: HMLoggingOptions = []
    :
120 |
121 |     /// Logs the OAuth errors.
122 |     public static let oauth         = HMLoggingOptions(rawValue: 1 << 8)
    |                       |- warning: static property 'oauth' is not concurrency-safe because non-'Sendable' type 'HMLoggingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'oauth' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 |
Build complete! (13.61s)
Fetching https://github.com/highmobility/hmcryptokit-swift
Fetching https://github.com/highmobility/hmutilities-swift
[1/428] Fetching hmutilities-swift
[49/1209] Fetching hmutilities-swift, hmcryptokit-swift
Fetched https://github.com/highmobility/hmcryptokit-swift from cache (0.93s)
Fetched https://github.com/highmobility/hmutilities-swift from cache (0.93s)
Computing version for https://github.com/highmobility/hmutilities-swift
Computed https://github.com/highmobility/hmutilities-swift at 1.4.7 (1.55s)
Computing version for https://github.com/highmobility/hmcryptokit-swift
Computed https://github.com/highmobility/hmcryptokit-swift at 1.2.17 (0.57s)
Creating working copy for https://github.com/highmobility/hmutilities-swift
Working copy of https://github.com/highmobility/hmutilities-swift resolved at 1.4.7
Creating working copy for https://github.com/highmobility/hmcryptokit-swift
Working copy of https://github.com/highmobility/hmcryptokit-swift resolved at 1.2.17
Build complete.
{
  "dependencies" : [
    {
      "identity" : "hmcryptokit-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.17",
            "upper_bound" : "1.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/highmobility/hmcryptokit-swift"
    },
    {
      "identity" : "hmutilities-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.7",
            "upper_bound" : "1.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/highmobility/hmutilities-swift"
    }
  ],
  "manifest_display_name" : "HMKit",
  "name" : "HMKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "HMKit",
      "targets" : [
        "HMKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HMKitTests",
      "module_type" : "SwiftTarget",
      "name" : "HMKitTests",
      "path" : "Tests/HMKitTests",
      "sources" : [
        "Certificates/AccessCertificateTests.swift",
        "Certificates/DeviceCertificateTests.swift",
        "Commands/AuthenticateCommandTests.swift",
        "Commands/AuthenticateDoneCommandTests.swift",
        "Commands/GetCertificateCommandTests.swift",
        "Commands/GetDeviceCertificateCommandTests.swift",
        "Commands/NonceCommandTests.swift",
        "Commands/RegisterCertificateCommandTests.swift",
        "Commands/RevokeCommandTests.swift",
        "Commands/SecureContainerCommandTests.swift"
      ],
      "target_dependencies" : [
        "HMKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HMKit",
      "module_type" : "SwiftTarget",
      "name" : "HMKit",
      "path" : "Sources/HMKit",
      "product_dependencies" : [
        "HMCryptoKit",
        "HMUtilities"
      ],
      "product_memberships" : [
        "HMKit"
      ],
      "sources" : [
        "Bluetooth/HMBluetooth.swift",
        "Bluetooth/HMCharacteristic.swift",
        "Bluetooth/HMPeripheralRetryValues.swift",
        "Bluetooth/HMService.swift",
        "Certificates/HMAccessCertificate.swift",
        "Certificates/HMAccessCertificateVersion.swift",
        "Certificates/HMDeviceCertificate.swift",
        "Certificates/HMDeviceCertificateVersion.swift",
        "Certificates/Protocols/HMBytesAndVersionCodable.swift",
        "Certificates/Protocols/HMBytesGettable.swift",
        "Certificates/Protocols/HMSigned.swift",
        "Certificates/Protocols/HMSimilar.swift",
        "Certificates/Protocols/HMValueGettable.swift",
        "Certificates/Protocols/HMVersionVerifiable.swift",
        "Commands/HMActiveSentCommand.swift",
        "Commands/HMCommandError.swift",
        "Commands/HMCommandRequestFactory.swift",
        "Commands/HMCommandResponseFactory.swift",
        "Commands/HMVerifiableCommand.swift",
        "Commands/Requests/HMAuthenticateCommandRequest.swift",
        "Commands/Requests/HMAuthenticateDoneCommandRequest.swift",
        "Commands/Requests/HMCommandRequest.swift",
        "Commands/Requests/HMErrorCommandRequest.swift",
        "Commands/Requests/HMGetAccessCertificateCommandRequest.swift",
        "Commands/Requests/HMGetDeviceCertificateCommandRequest.swift",
        "Commands/Requests/HMGetNonceCommandRequest.swift",
        "Commands/Requests/HMRegisterCertificateCommandRequest.swift",
        "Commands/Requests/HMRevokeCommandRequest.swift",
        "Commands/Requests/HMSecureContainerCommandRequest.swift",
        "Commands/Responses/HMAuthenticateCommandResponse.swift",
        "Commands/Responses/HMAuthenticateDoneCommandResponse.swift",
        "Commands/Responses/HMCommandResponse.swift",
        "Commands/Responses/HMErrorCommandResponse.swift",
        "Commands/Responses/HMGetAccessCertificateCommandResponse.swift",
        "Commands/Responses/HMGetDeviceCertificateCommandResponse.swift",
        "Commands/Responses/HMGetNonceCommandResponse.swift",
        "Commands/Responses/HMRegisterCertificateCommandResponse.swift",
        "Commands/Responses/HMRevokeCommandResponse.swift",
        "Commands/Responses/HMSecureContainerCommandResponse.swift",
        "Enums/HMBluetoothError.swift",
        "Enums/HMCommandResponseType.swift",
        "Enums/HMContainerContentType.swift",
        "Enums/HMLinkError.swift",
        "Enums/HMLinkState.swift",
        "Enums/HMLocalDeviceError.swift",
        "Enums/HMLocalDeviceState.swift",
        "Enums/HMProtocolBytes.swift",
        "Enums/HMProtocolCommand.swift",
        "Enums/HMProtocolError.swift",
        "Enums/HMSecureContainerCommandVersion.swift",
        "Enums/HMSerialType.swift",
        "Enums/HMTimeouts.swift",
        "Extensions/Collection+Extensions.swift",
        "Extensions/Data+Extensions.swift",
        "Extensions/Date+Extensions.swift",
        "Extensions/Dictionary+Extensions.swift",
        "Extensions/Int+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "Extensions/UInt8+Extensions.swift",
        "Extensions/URLRequest+Extensions.swift",
        "HMLink.swift",
        "HMLinkDelegate.swift",
        "HMLocalDevice.swift",
        "HMLocalDeviceConfiguration.swift",
        "HMLocalDeviceDelegate.swift",
        "HMParser.swift",
        "HMParserDelegate.swift",
        "OAuth/HMOAuth.swift",
        "OAuth/HMOAuthFailure.swift",
        "OAuth/HMOAuthGrantType.swift",
        "OAuth/HMOAuthOptionalValues.swift",
        "OAuth/HMOAuthRequiredValues.swift",
        "OAuth/HMOAuthSuccess.swift",
        "Others/HMKeychainLayer.swift",
        "Others/HMLoggingOptions.swift",
        "Others/HMPeriod.swift",
        "Others/HMSessionKey.swift",
        "Others/HMStorage.swift",
        "Telematics/HMTelematics.swift",
        "Telematics/HMTelematicsAPI.swift",
        "Telematics/HMTelematicsCommandError.swift",
        "Telematics/HMTelematicsCommandStatus.swift",
        "Telematics/HMTelematicsContainer.swift",
        "Telematics/HMTelematicsContainerVersion.swift",
        "Telematics/HMTelematicsError.swift",
        "Telematics/HMTelematicsRequestError.swift",
        "Telematics/Requests-Responses/HMTelematicsAccessCertificateRequest.swift",
        "Telematics/Requests-Responses/HMTelematicsAccessCertificateResponse.swift",
        "Telematics/Requests-Responses/HMTelematicsCommandRequest.swift",
        "Telematics/Requests-Responses/HMTelematicsCommandResponse.swift",
        "Telematics/Requests-Responses/HMTelematicsNonceRequest.swift",
        "Telematics/Requests-Responses/HMTelematicsNonceResponse.swift",
        "Telematics/Requests-Responses/HMTelematicsRequest.swift",
        "Telematics/Requests-Responses/HMTelematicsResponse.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.