The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SingleBoard, reference main (6866fb), with Swift 6.0 for Linux on 2 Nov 2024 06:44:55 UTC.

Swift 6 data race errors: 38

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6866fb3 Update README.md
Cloned https://github.com/Kaiede/SingleBoard.git
Revision (git rev-parse @):
6866fb3ddc9c76c1875279c7981ba489c98f7ff1
SUCCESS checkout https://github.com/Kaiede/SingleBoard.git at main
========================================
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-4609320-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/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/13] Compiling SingleBoard Extensions.swift
[6/13] Compiling SingleBoard Raspberry_Registers.swift
[7/14] 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)
/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: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)
[8/14] 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: AnyObject {
    |                 `- 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: AnyObject {
    |                 `- 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: AnyObject {
    |                 `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
 80 |     var i2cMainBus: BoardI2CBus { get }
 81 |     var i2cBus: BoardI2CBusSet { get }
[9/14] 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 |
[10/14] Compiling SingleBoard I2C.swift
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:219:28: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
217 |     fileprivate func readData(at address: UInt8, length: Int) -> Data? {
218 |         var data = Data(count: length)
219 |         let success = data.withUnsafeMutableBytes {
    |                            `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
220 |             (dataBuffer) in
221 |             return i2cIoctl(.read, address: address, length: UInt16(length), data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:243:30: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
241 |     fileprivate func writeData(at address: UInt8, value: Data) -> Bool {
242 |         var internalValue = value
243 |         return internalValue.withUnsafeMutableBytes {
    |                              `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
244 |             (dataBuffer) in
245 |             return i2cIoctl(.write, address: address, length: UInt16(value.count), data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:297:28: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
295 |     fileprivate func readData(command: UInt8) -> Data? {
296 |         var data = Data(count: SysI2CBus.I2C_MAX_LENGTH+1)
297 |         let success = data.withUnsafeMutableBytes {
    |                            `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
298 |             (dataBuffer) in
299 |             return smbusIoctl(.read, command: command, dataKind: .blockData, data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:323:21: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
321 |         data[0] = value
322 |
323 |         return data.withUnsafeMutableBytes {
    |                     `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
324 |             (dataBuffer) in
325 |             return smbusIoctl(.write, command: command, dataKind: .byteData, data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:334:21: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
332 |         data[1] = UInt8(value >> 8)
333 |
334 |         return data.withUnsafeMutableBytes {
    |                     `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
335 |             (dataBuffer) in
336 |             return smbusIoctl(.write, command: command, dataKind: .wordData, data: dataBuffer)
/host/spi-builder-workspace/Sources/SingleBoard/Common/I2C.swift:345:21: warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
343 |         data.append(UInt8(value.count))
344 |         data.append(data)
345 |         return data.withUnsafeMutableBytes {
    |                     `- warning: 'withUnsafeMutableBytes' is deprecated: use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead
346 |             (dataBuffer) in
347 |             return smbusIoctl(.write, command: command, dataKind: .blockData, data: dataBuffer)
[11/14] 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: AnyObject {
    |                 `- 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: AnyObject {
    |                 `- 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: AnyObject {
    |                 `- note: protocol 'HasI2C' does not conform to the 'Sendable' protocol
 80 |     var i2cMainBus: BoardI2CBus { get }
 81 |     var i2cBus: BoardI2CBusSet { get }
[12/14] Compiling SingleBoard Raspberry_Board.swift
[13/14] Compiling SingleBoard Chip_Board.swift
[14/14] Compiling SingleBoard Pine_Board.swift
[16/19] Compiling PCA9685 PCA9685.swift
[17/19] Emitting module PCA9685
[19/20] Emitting module MCP4725
/host/spi-builder-workspace/Sources/MCP4725/MCP4725.swift:48:20: warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     internal struct FastModeData: I2CWritable {
 48 |         static var dataLength: Int = MemoryLayout<UInt16>.size
    |                    |- warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'dataLength' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'dataLength' 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
 49 |         var mode: PowerDownMode
 50 |         var voltage: UInt16
/host/spi-builder-workspace/Sources/MCP4725/MCP4725.swift:71:20: warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |
 70 |     internal struct FullData: I2CReadWritable {
 71 |         static var dataLength: Int = MemoryLayout<UInt8>.size * 3
    |                    |- warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'dataLength' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'dataLength' 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 |
 73 |         var command: WriteCommand
[20/20] Compiling MCP4725 MCP4725.swift
/host/spi-builder-workspace/Sources/MCP4725/MCP4725.swift:48:20: warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 46 |
 47 |     internal struct FastModeData: I2CWritable {
 48 |         static var dataLength: Int = MemoryLayout<UInt16>.size
    |                    |- warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'dataLength' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'dataLength' 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
 49 |         var mode: PowerDownMode
 50 |         var voltage: UInt16
/host/spi-builder-workspace/Sources/MCP4725/MCP4725.swift:71:20: warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |
 70 |     internal struct FullData: I2CReadWritable {
 71 |         static var dataLength: Int = MemoryLayout<UInt8>.size * 3
    |                    |- warning: static property 'dataLength' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'dataLength' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'dataLength' 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 |
 73 |         var command: WriteCommand
Build complete! (9.29s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SingleBoard",
  "name" : "SingleBoard",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SingleBoard",
      "targets" : [
        "SingleBoard"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "PCA9685",
      "targets" : [
        "PCA9685"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "MCP4725",
      "targets" : [
        "MCP4725"
      ],
      "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",
        "PCA9685",
        "MCP4725"
      ],
      "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"
    },
    {
      "c99name" : "PCA9685",
      "module_type" : "SwiftTarget",
      "name" : "PCA9685",
      "path" : "Sources/PCA9685",
      "product_memberships" : [
        "PCA9685"
      ],
      "sources" : [
        "PCA9685.swift"
      ],
      "target_dependencies" : [
        "SingleBoard"
      ],
      "type" : "library"
    },
    {
      "c99name" : "MCP4725",
      "module_type" : "SwiftTarget",
      "name" : "MCP4725",
      "path" : "Sources/MCP4725",
      "product_memberships" : [
        "MCP4725"
      ],
      "sources" : [
        "MCP4725.swift"
      ],
      "target_dependencies" : [
        "SingleBoard"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.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
Done.