Build Information
Successful build of SingleBoard, reference 1.0.0 (dc9a04
), with Swift 6.0 for Linux on 2 Nov 2024 06:45:03 UTC.
Swift 6 data race errors: 36
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kaiede/SingleBoard.git
Reference: 1.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/Kaiede/SingleBoard
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at dc9a045 Update Documentation for API Changes
Cloned https://github.com/Kaiede/SingleBoard.git
Revision (git rev-parse @):
dc9a045226c351312587f07867a0ba48fd46ce17
SUCCESS checkout https://github.com/Kaiede/SingleBoard.git at 1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/Kaiede/SingleBoard.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling SingleBoard Extensions.swift
[4/12] Compiling SingleBoard Raspberry_Registers.swift
[5/12] Compiling SingleBoard Raspberry_PWM.swift
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:65:23: warning: static property 'p12' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
| |- warning: static property 'p12' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p12' 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
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:71:23: warning: static property 'p18' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
| |- warning: static property 'p18' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p18' 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
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
[6/12] Compiling SingleBoard SingleBoard.swift
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:31:23: warning: static property 'raspberryPi' is not concurrency-safe because non-'Sendable' type 'any RaspberryCapabilities' (aka 'any HasGPIO & HasI2C & HasPWM') may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public struct SingleBoard {
31 | public static let raspberryPi: RaspberryCapabilities = { return RaspberryBoard() }()
| |- warning: static property 'raspberryPi' is not concurrency-safe because non-'Sendable' type 'any RaspberryCapabilities' (aka 'any HasGPIO & HasI2C & HasPWM') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raspberryPi' 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 | public static let pine64: PineCapabilities = { return Pine64Board() }()
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:33:23: warning: static property 'pine64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
31 | public static let raspberryPi: RaspberryCapabilities = { return RaspberryBoard() }()
32 |
33 | public static let pine64: PineCapabilities = { return Pine64Board() }()
| |- warning: static property 'pine64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pine64' 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
34 | public static let rock64: PineCapabilities = { return Rock64Board() }()
35 |
:
77 | //
78 | // More Convenience Extensions in Common/I2C.swift
79 | public protocol HasI2C: class {
| `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
80 | var i2cMainBus: BoardI2CBus { get }
81 | var i2cBus: BoardI2CBusSet { get }
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:34:23: warning: static property 'rock64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static let pine64: PineCapabilities = { return Pine64Board() }()
34 | public static let rock64: PineCapabilities = { return Rock64Board() }()
| |- warning: static property 'rock64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rock64' 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 | public static let chip: ChipCapabilities = { return ChipBoard() }()
:
77 | //
78 | // More Convenience Extensions in Common/I2C.swift
79 | public protocol HasI2C: class {
| `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
80 | var i2cMainBus: BoardI2CBus { get }
81 | var i2cBus: BoardI2CBusSet { get }
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:36:23: warning: static property 'chip' is not concurrency-safe because non-'Sendable' type 'any ChipCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let rock64: PineCapabilities = { return Rock64Board() }()
35 |
36 | public static let chip: ChipCapabilities = { return ChipBoard() }()
| |- warning: static property 'chip' is not concurrency-safe because non-'Sendable' type 'any ChipCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'chip' 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
37 | }
38 |
:
77 | //
78 | // More Convenience Extensions in Common/I2C.swift
79 | public protocol HasI2C: class {
| `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
80 | var i2cMainBus: BoardI2CBus { get }
81 | var i2cBus: BoardI2CBusSet { get }
[7/12] Compiling SingleBoard Chip_Board.swift
[8/12] Compiling SingleBoard Pine_Board.swift
[9/12] Emitting module SingleBoard
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:53:23: warning: static property 'p0' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
51 | }
52 |
53 | public static let p0: PinSet = PinSet(rawValue: 1 << 0)
| |- warning: static property 'p0' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p0' 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
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:54:23: warning: static property 'p1' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
52 |
53 | public static let p0: PinSet = PinSet(rawValue: 1 << 0)
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
| |- warning: static property 'p1' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p1' 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
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:55:23: warning: static property 'p2' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
53 | public static let p0: PinSet = PinSet(rawValue: 1 << 0)
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
| |- warning: static property 'p2' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p2' 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
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:56:23: warning: static property 'p3' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
| |- warning: static property 'p3' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p3' 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
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:57:23: warning: static property 'p4' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
| |- warning: static property 'p4' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p4' 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
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:58:23: warning: static property 'p5' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
| |- warning: static property 'p5' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p5' 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
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:59:23: warning: static property 'p6' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
| |- warning: static property 'p6' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p6' 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
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:60:23: warning: static property 'p7' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
| |- warning: static property 'p7' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p7' 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
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:61:23: warning: static property 'p8' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
| |- warning: static property 'p8' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p8' 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
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:62:23: warning: static property 'p9' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
| |- warning: static property 'p9' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p9' 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
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:63:23: warning: static property 'p10' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
| |- warning: static property 'p10' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p10' 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
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:64:23: warning: static property 'p11' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
| |- warning: static property 'p11' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p11' 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
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:65:23: warning: static property 'p12' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
| |- warning: static property 'p12' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p12' 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
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:66:23: warning: static property 'p13' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
| |- warning: static property 'p13' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p13' 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
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:67:23: warning: static property 'p14' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
| |- warning: static property 'p14' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p14' 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
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:68:23: warning: static property 'p15' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
| |- warning: static property 'p15' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p15' 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
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:69:23: warning: static property 'p16' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
| |- warning: static property 'p16' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p16' 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
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:70:23: warning: static property 'p17' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
| |- warning: static property 'p17' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p17' 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
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:71:23: warning: static property 'p18' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
| |- warning: static property 'p18' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p18' 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
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:72:23: warning: static property 'p19' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
| |- warning: static property 'p19' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p19' 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
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:73:23: warning: static property 'p20' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
| |- warning: static property 'p20' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p20' 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
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:74:23: warning: static property 'p21' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
| |- warning: static property 'p21' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p21' 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
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:75:23: warning: static property 'p22' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
| |- warning: static property 'p22' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p22' 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
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:76:23: warning: static property 'p23' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
| |- warning: static property 'p23' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p23' 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
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:77:23: warning: static property 'p24' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
| |- warning: static property 'p24' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p24' 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
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:78:23: warning: static property 'p25' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
| |- warning: static property 'p25' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p25' 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
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:79:23: warning: static property 'p26' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
| |- warning: static property 'p26' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p26' 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
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:80:23: warning: static property 'p27' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
| |- warning: static property 'p27' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p27' 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
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:81:23: warning: static property 'p28' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
| |- warning: static property 'p28' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p28' 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
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:82:23: warning: static property 'p29' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
| |- warning: static property 'p29' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p29' 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
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
84 | public static let p31: PinSet = PinSet(rawValue: 1 << 31)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:83:23: warning: static property 'p30' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
| |- warning: static property 'p30' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p30' 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
84 | public static let p31: PinSet = PinSet(rawValue: 1 << 31)
85 | }
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:84:23: warning: static property 'p31' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
84 | public static let p31: PinSet = PinSet(rawValue: 1 << 31)
| |- warning: static property 'p31' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p31' 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
85 | }
86 |
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:31:23: warning: static property 'raspberryPi' is not concurrency-safe because non-'Sendable' type 'any RaspberryCapabilities' (aka 'any HasGPIO & HasI2C & HasPWM') may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | public struct SingleBoard {
31 | public static let raspberryPi: RaspberryCapabilities = { return RaspberryBoard() }()
| |- warning: static property 'raspberryPi' is not concurrency-safe because non-'Sendable' type 'any RaspberryCapabilities' (aka 'any HasGPIO & HasI2C & HasPWM') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'raspberryPi' 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 | public static let pine64: PineCapabilities = { return Pine64Board() }()
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:33:23: warning: static property 'pine64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
31 | public static let raspberryPi: RaspberryCapabilities = { return RaspberryBoard() }()
32 |
33 | public static let pine64: PineCapabilities = { return Pine64Board() }()
| |- warning: static property 'pine64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pine64' 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
34 | public static let rock64: PineCapabilities = { return Rock64Board() }()
35 |
:
77 | //
78 | // More Convenience Extensions in Common/I2C.swift
79 | public protocol HasI2C: class {
| `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
80 | var i2cMainBus: BoardI2CBus { get }
81 | var i2cBus: BoardI2CBusSet { get }
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:34:23: warning: static property 'rock64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static let pine64: PineCapabilities = { return Pine64Board() }()
34 | public static let rock64: PineCapabilities = { return Rock64Board() }()
| |- warning: static property 'rock64' is not concurrency-safe because non-'Sendable' type 'any PineCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rock64' 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 | public static let chip: ChipCapabilities = { return ChipBoard() }()
:
77 | //
78 | // More Convenience Extensions in Common/I2C.swift
79 | public protocol HasI2C: class {
| `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
80 | var i2cMainBus: BoardI2CBus { get }
81 | var i2cBus: BoardI2CBusSet { get }
/host/spi-builder-workspace/Sources/SingleBoard/SingleBoard.swift:36:23: warning: static property 'chip' is not concurrency-safe because non-'Sendable' type 'any ChipCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let rock64: PineCapabilities = { return Rock64Board() }()
35 |
36 | public static let chip: ChipCapabilities = { return ChipBoard() }()
| |- warning: static property 'chip' is not concurrency-safe because non-'Sendable' type 'any ChipCapabilities' (aka 'any HasI2C') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'chip' 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
37 | }
38 |
:
77 | //
78 | // More Convenience Extensions in Common/I2C.swift
79 | public protocol HasI2C: class {
| `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
80 | var i2cMainBus: BoardI2CBus { get }
81 | var i2cBus: BoardI2CBusSet { get }
[10/12] Compiling SingleBoard Raspberry_Board.swift
[11/12] Compiling SingleBoard GPIO.swift
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:53:23: warning: static property 'p0' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
51 | }
52 |
53 | public static let p0: PinSet = PinSet(rawValue: 1 << 0)
| |- warning: static property 'p0' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p0' 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
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:54:23: warning: static property 'p1' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
52 |
53 | public static let p0: PinSet = PinSet(rawValue: 1 << 0)
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
| |- warning: static property 'p1' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p1' 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
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:55:23: warning: static property 'p2' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
53 | public static let p0: PinSet = PinSet(rawValue: 1 << 0)
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
| |- warning: static property 'p2' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p2' 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
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:56:23: warning: static property 'p3' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
54 | public static let p1: PinSet = PinSet(rawValue: 1 << 1)
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
| |- warning: static property 'p3' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p3' 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
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:57:23: warning: static property 'p4' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
55 | public static let p2: PinSet = PinSet(rawValue: 1 << 2)
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
| |- warning: static property 'p4' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p4' 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
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:58:23: warning: static property 'p5' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
56 | public static let p3: PinSet = PinSet(rawValue: 1 << 3)
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
| |- warning: static property 'p5' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p5' 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
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:59:23: warning: static property 'p6' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
57 | public static let p4: PinSet = PinSet(rawValue: 1 << 4)
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
| |- warning: static property 'p6' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p6' 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
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:60:23: warning: static property 'p7' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
58 | public static let p5: PinSet = PinSet(rawValue: 1 << 5)
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
| |- warning: static property 'p7' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p7' 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
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:61:23: warning: static property 'p8' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
59 | public static let p6: PinSet = PinSet(rawValue: 1 << 6)
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
| |- warning: static property 'p8' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p8' 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
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:62:23: warning: static property 'p9' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
60 | public static let p7: PinSet = PinSet(rawValue: 1 << 7)
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
| |- warning: static property 'p9' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p9' 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
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:63:23: warning: static property 'p10' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
61 | public static let p8: PinSet = PinSet(rawValue: 1 << 8)
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
| |- warning: static property 'p10' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p10' 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
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:64:23: warning: static property 'p11' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
62 | public static let p9: PinSet = PinSet(rawValue: 1 << 9)
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
| |- warning: static property 'p11' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p11' 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
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:65:23: warning: static property 'p12' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
63 | public static let p10: PinSet = PinSet(rawValue: 1 << 10)
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
| |- warning: static property 'p12' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p12' 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
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:66:23: warning: static property 'p13' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
64 | public static let p11: PinSet = PinSet(rawValue: 1 << 11)
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
| |- warning: static property 'p13' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p13' 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
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:67:23: warning: static property 'p14' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
65 | public static let p12: PinSet = PinSet(rawValue: 1 << 12)
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
| |- warning: static property 'p14' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p14' 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
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:68:23: warning: static property 'p15' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
66 | public static let p13: PinSet = PinSet(rawValue: 1 << 13)
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
| |- warning: static property 'p15' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p15' 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
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:69:23: warning: static property 'p16' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
67 | public static let p14: PinSet = PinSet(rawValue: 1 << 14)
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
| |- warning: static property 'p16' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p16' 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
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:70:23: warning: static property 'p17' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
68 | public static let p15: PinSet = PinSet(rawValue: 1 << 15)
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
| |- warning: static property 'p17' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p17' 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
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:71:23: warning: static property 'p18' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
69 | public static let p16: PinSet = PinSet(rawValue: 1 << 16)
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
| |- warning: static property 'p18' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p18' 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
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:72:23: warning: static property 'p19' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
70 | public static let p17: PinSet = PinSet(rawValue: 1 << 17)
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
| |- warning: static property 'p19' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p19' 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
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:73:23: warning: static property 'p20' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
71 | public static let p18: PinSet = PinSet(rawValue: 1 << 18)
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
| |- warning: static property 'p20' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p20' 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
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:74:23: warning: static property 'p21' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
72 | public static let p19: PinSet = PinSet(rawValue: 1 << 19)
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
| |- warning: static property 'p21' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p21' 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
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:75:23: warning: static property 'p22' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
73 | public static let p20: PinSet = PinSet(rawValue: 1 << 20)
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
| |- warning: static property 'p22' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p22' 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
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:76:23: warning: static property 'p23' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
74 | public static let p21: PinSet = PinSet(rawValue: 1 << 21)
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
| |- warning: static property 'p23' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p23' 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
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:77:23: warning: static property 'p24' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
75 | public static let p22: PinSet = PinSet(rawValue: 1 << 22)
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
| |- warning: static property 'p24' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p24' 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
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:78:23: warning: static property 'p25' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
76 | public static let p23: PinSet = PinSet(rawValue: 1 << 23)
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
| |- warning: static property 'p25' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p25' 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
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:79:23: warning: static property 'p26' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
77 | public static let p24: PinSet = PinSet(rawValue: 1 << 24)
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
| |- warning: static property 'p26' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p26' 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
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:80:23: warning: static property 'p27' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
78 | public static let p25: PinSet = PinSet(rawValue: 1 << 25)
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
| |- warning: static property 'p27' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p27' 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
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:81:23: warning: static property 'p28' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
79 | public static let p26: PinSet = PinSet(rawValue: 1 << 26)
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
| |- warning: static property 'p28' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p28' 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
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:82:23: warning: static property 'p29' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
80 | public static let p27: PinSet = PinSet(rawValue: 1 << 27)
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
| |- warning: static property 'p29' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p29' 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
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
84 | public static let p31: PinSet = PinSet(rawValue: 1 << 31)
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:83:23: warning: static property 'p30' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
81 | public static let p28: PinSet = PinSet(rawValue: 1 << 28)
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
| |- warning: static property 'p30' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p30' 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
84 | public static let p31: PinSet = PinSet(rawValue: 1 << 31)
85 | }
/host/spi-builder-workspace/Sources/SingleBoard/Common/GPIO.swift:84:23: warning: static property 'p31' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
39 | public typealias PinIndex = UInt32
40 |
41 | public struct PinSet: OptionSet {
| `- note: consider making struct 'PinSet' conform to the 'Sendable' protocol
42 | public let rawValue: UInt32
43 |
:
82 | public static let p29: PinSet = PinSet(rawValue: 1 << 29)
83 | public static let p30: PinSet = PinSet(rawValue: 1 << 30)
84 | public static let p31: PinSet = PinSet(rawValue: 1 << 31)
| |- warning: static property 'p31' is not concurrency-safe because non-'Sendable' type 'PinSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p31' 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
85 | }
86 |
[12/12] Compiling SingleBoard I2C.swift
Build complete! (10.30s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SingleBoard",
"name" : "SingleBoard",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SingleBoard",
"targets" : [
"SingleBoard"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SingleBoardTests",
"module_type" : "SwiftTarget",
"name" : "SingleBoardTests",
"path" : "Tests/SingleBoardTests",
"sources" : [
"RaspberryPi/RegisterTests.swift",
"SingleBoardTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SingleBoard"
],
"type" : "test"
},
{
"c99name" : "SingleBoard",
"module_type" : "SwiftTarget",
"name" : "SingleBoard",
"path" : "Sources/SingleBoard",
"product_memberships" : [
"SingleBoard"
],
"sources" : [
"Boards/Chip_Board.swift",
"Boards/Pine_Board.swift",
"Boards/Raspberry_Board.swift",
"Boards/Raspberry_PWM.swift",
"Boards/Raspberry_Registers.swift",
"Common/Extensions.swift",
"Common/GPIO.swift",
"Common/I2C.swift",
"SingleBoard.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.