Build Information
Failed to build BluetoothMessageProtocol with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[499/517] Compiling BluetoothMessageProtocol CharacteristicWindChill.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[500/517] Compiling BluetoothMessageProtocol CompanyIdentifier+Range1000.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[501/517] Compiling BluetoothMessageProtocol CompanyIdentifier+Range2000.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[502/517] Compiling BluetoothMessageProtocol CompanyIdentifier.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[503/517] Compiling BluetoothMessageProtocol CompanyIdentifierExtension.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[504/517] Compiling BluetoothMessageProtocol CompanyIdentifierExtensionMore.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[505/517] Compiling BluetoothMessageProtocol CompanyIdentifierNonAssigned.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[506/517] Compiling BluetoothMessageProtocol CompanyIdentifierSupportedExtension.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[507/517] Compiling BluetoothMessageProtocol Errors.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[508/517] Compiling BluetoothMessageProtocol DataExtension.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[509/517] Compiling BluetoothMessageProtocol Resolutionable.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[510/517] Compiling BluetoothMessageProtocol StringExtension.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[511/517] Compiling BluetoothMessageProtocol UInt8Extension.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[512/517] Compiling BluetoothMessageProtocol UUIDExtension.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[513/517] Compiling BluetoothMessageProtocol GapAdvertisingType.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[514/517] Compiling BluetoothMessageProtocol GapDataType.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[515/517] Compiling BluetoothMessageProtocol GapEventType.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[516/517] Compiling BluetoothMessageProtocol PeerAddress.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
[517/517] Compiling BluetoothMessageProtocol ServiceHapAccessoryInformation.swift
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:40:16: warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// 1 / 100 Resolution (0.01)
40 | static var oneHundredth = Resolution(scale: 100, offset: 0)
| |- warning: static property 'oneHundredth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneHundredth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneHundredth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 | /// 1 / 1000 Resolution (0.001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:46:16: warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | /// 1 / 5000 Resolution (0.005)
46 | static var oneFiveThousandth = Resolution(scale: 5000, offset: 0)
| |- warning: static property 'oneFiveThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneFiveThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneFiveThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /// 1 / 10000 Resolution (0.0001)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:37:16: warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// 1 / 10 Resolution (0.1)
37 | static var oneTenth = Resolution(scale: 10, offset: 0)
| |- warning: static property 'oneTenth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// 1 / 100 Resolution (0.01)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:43:16: warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
41 |
42 | /// 1 / 1000 Resolution (0.001)
43 | static var oneThousandth = Resolution(scale: 1000, offset: 0)
| |- warning: static property 'oneThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | /// 1 / 5000 Resolution (0.005)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifier.swift:27:14: warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | internal var allCompanyIdentifiers: [CompanyIdentifier] = [CompanyIdentifier]()
| |- warning: var 'allCompanyIdentifiers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCompanyIdentifiers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCompanyIdentifiers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Errors for Company Identifier
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/CompanyIdentifier/CompanyIdentifierSupportedExtension.swift:31:16: warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Array of all Supported CompanyIdentifier values
31 | static var supportedCompanyIdentifers: [CompanyIdentifier] = {
| |- warning: static property 'supportedCompanyIdentifers' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'supportedCompanyIdentifers' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'supportedCompanyIdentifers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | allCompanyIdentifiers.append(.reserved)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:42:22: error: cannot find 'CFByteOrderGetCurrent' in scope
40 | static var isLittleEndian: Bool {
41 |
42 | let endian = CFByteOrderGetCurrent()
| `- error: cannot find 'CFByteOrderGetCurrent' in scope
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:22: error: cannot find 'CFIndex' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFIndex' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/DataExtension.swift:44:34: error: cannot find 'CFByteOrderLittleEndian' in scope
42 | let endian = CFByteOrderGetCurrent()
43 |
44 | if endian == CFIndex(Int(CFByteOrderLittleEndian.rawValue)) {
| `- error: cannot find 'CFByteOrderLittleEndian' in scope
45 | return true
46 | }
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:31:16: warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// Resolution of 1
31 | static var one = Resolution(scale: 1, offset: 0)
| |- warning: static property 'one' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'one' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'one' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// Resoluton of 2 (0.5)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:34:16: warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Resoluton of 2 (0.5)
34 | static var two = Resolution(scale: 2, offset: 0)
| |- warning: static property 'two' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'two' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'two' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// 1 / 10 Resolution (0.1)
/host/spi-builder-workspace/Sources/BluetoothMessageProtocol/Extensions/Resolutionable.swift:49:16: warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// 1 / 10000 Resolution (0.0001)
49 | static var oneTenThousandth = Resolution(scale: 10000, offset: 0)
| |- warning: static property 'oneTenThousandth' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'oneTenThousandth' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'oneTenThousandth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Scale
BUILD FAILURE 6.0 linux