Build Information
Successful build of Keyboard, reference main (3b1a7b), with Swift 6.1 for macOS (SPM) on 22 Jan 2026 04:22:11 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AudioKit/Keyboard.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/AudioKit/Keyboard
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3b1a7bf Fixed playground
Cloned https://github.com/AudioKit/Keyboard.git
Revision (git rev-parse @):
3b1a7bfd6f2e49f23ee9fb317a8fde2c3152f371
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AudioKit/Keyboard.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/AudioKit/Keyboard.git
https://github.com/AudioKit/Keyboard.git
{
"dependencies" : [
{
"identity" : "tonic",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AudioKit/Tonic.git"
}
],
"manifest_display_name" : "Keyboard",
"name" : "Keyboard",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Keyboard",
"targets" : [
"Keyboard"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KeyboardTests",
"module_type" : "SwiftTarget",
"name" : "KeyboardTests",
"path" : "Tests/KeyboardTests",
"sources" : [
"KeyboardTests.swift"
],
"target_dependencies" : [
"Keyboard"
],
"type" : "test"
},
{
"c99name" : "Keyboard",
"module_type" : "SwiftTarget",
"name" : "Keyboard",
"path" : "Sources/Keyboard",
"product_dependencies" : [
"Tonic"
],
"product_memberships" : [
"Keyboard"
],
"sources" : [
"KeyContainer.swift",
"Keyboard.swift",
"KeyboardKey.swift",
"KeyboardModel.swift",
"Layouts/Guitar.swift",
"Layouts/Isomorphic.swift",
"Layouts/KeyboardLayout.swift",
"Layouts/Piano.swift",
"Layouts/PianoSpacer.swift",
"Layouts/VerticalIsomorphic.swift",
"Layouts/VerticalPiano.swift",
"MIDIMonitorKeyboard.swift",
"MultitouchView.swift",
"PreferenceKeys.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/4] Write sources
[2/4] Copying Tonic.docc
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/25] Emitting module Tonic
[6/27] Compiling Tonic Scale.swift
[7/27] Compiling Tonic resource_bundle_accessor.swift
[8/27] Compiling Tonic Accidental.swift
[9/27] Compiling Tonic BitSet.swift
[10/27] Compiling Tonic Chord+Shortcuts.swift
[11/27] Compiling Tonic Key.swift
[12/27] Compiling Tonic Letter.swift
[13/27] Compiling Tonic Chord.swift
[14/27] Compiling Tonic ChordTable.swift
[15/27] Compiling Tonic ChordType.swift
[16/27] Compiling Tonic NoteClass.swift
[17/27] Compiling Tonic NoteSet.swift
[18/27] Compiling Tonic Note+MiddleCStandard.swift
[19/27] Compiling Tonic Note+Shortcuts.swift
[20/27] Compiling Tonic PitchColor.swift
[21/27] Compiling Tonic Scale+Shortcuts.swift
[22/27] Compiling Tonic Note.swift
[23/27] Compiling Tonic NoteClass+Shortcuts.swift
[24/27] Compiling Tonic Interval.swift
[25/27] Compiling Tonic Key+Shortcuts.swift
[26/27] Compiling Tonic Octave.swift
[27/27] Compiling Tonic Pitch.swift
[28/41] Compiling Keyboard VerticalPiano.swift
[29/41] Compiling Keyboard VerticalIsomorphic.swift
[30/41] Compiling Keyboard MIDIMonitorKeyboard.swift
/Users/admin/builder/spi-builder-workspace/Sources/Keyboard/MIDIMonitorKeyboard.swift:92:5: warning: var 'p' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | }
91 |
92 | var p = PitchSet(pitches: [Pitch(65), Pitch(68), Pitch(71), Pitch(74)])
| |- warning: var 'p' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'p' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'p' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | // Removing Preview macro until Xcode 15 is released
[31/42] Compiling Keyboard Guitar.swift
[32/42] Compiling Keyboard Isomorphic.swift
[33/42] Compiling Keyboard PianoSpacer.swift
[34/42] Compiling Keyboard KeyboardLayout.swift
[35/42] Compiling Keyboard Piano.swift
[36/42] Compiling Keyboard KeyboardKey.swift
[37/42] Compiling Keyboard KeyboardModel.swift
[38/42] Compiling Keyboard MultitouchView.swift
[39/42] Compiling Keyboard KeyContainer.swift
[40/42] Compiling Keyboard Keyboard.swift
[41/42] Emitting module Keyboard
/Users/admin/builder/spi-builder-workspace/Sources/Keyboard/MIDIMonitorKeyboard.swift:92:5: warning: var 'p' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
90 | }
91 |
92 | var p = PitchSet(pitches: [Pitch(65), Pitch(68), Pitch(71), Pitch(74)])
| |- warning: var 'p' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'p' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'p' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | // Removing Preview macro until Xcode 15 is released
/Users/admin/builder/spi-builder-workspace/Sources/Keyboard/PreferenceKeys.swift:8:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | /// For accumulating key rects.
7 | struct KeyRectsKey: PreferenceKey {
8 | static var defaultValue: [KeyRectInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | static func reduce(value: inout [KeyRectInfo], nextValue: () -> [KeyRectInfo]) {
[42/42] Compiling Keyboard PreferenceKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/Keyboard/PreferenceKeys.swift:8:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | /// For accumulating key rects.
7 | struct KeyRectsKey: PreferenceKey {
8 | static var defaultValue: [KeyRectInfo] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | static func reduce(value: inout [KeyRectInfo], nextValue: () -> [KeyRectInfo]) {
Build complete! (18.86s)
Fetching https://github.com/AudioKit/Tonic.git
[1/4012] Fetching tonic
Fetched https://github.com/AudioKit/Tonic.git from cache (1.18s)
Computing version for https://github.com/AudioKit/Tonic.git
Computed https://github.com/AudioKit/Tonic.git at 2.1.0 (4.41s)
Creating working copy for https://github.com/AudioKit/Tonic.git
Working copy of https://github.com/AudioKit/Tonic.git resolved at 2.1.0
warning: 'tonic': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Tonic/Sources/Tonic/Chord.swift.orig
Build complete.
{
"dependencies" : [
{
"identity" : "tonic",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AudioKit/Tonic.git"
}
],
"manifest_display_name" : "Keyboard",
"name" : "Keyboard",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Keyboard",
"targets" : [
"Keyboard"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KeyboardTests",
"module_type" : "SwiftTarget",
"name" : "KeyboardTests",
"path" : "Tests/KeyboardTests",
"sources" : [
"KeyboardTests.swift"
],
"target_dependencies" : [
"Keyboard"
],
"type" : "test"
},
{
"c99name" : "Keyboard",
"module_type" : "SwiftTarget",
"name" : "Keyboard",
"path" : "Sources/Keyboard",
"product_dependencies" : [
"Tonic"
],
"product_memberships" : [
"Keyboard"
],
"sources" : [
"KeyContainer.swift",
"Keyboard.swift",
"KeyboardKey.swift",
"KeyboardModel.swift",
"Layouts/Guitar.swift",
"Layouts/Isomorphic.swift",
"Layouts/KeyboardLayout.swift",
"Layouts/Piano.swift",
"Layouts/PianoSpacer.swift",
"Layouts/VerticalIsomorphic.swift",
"Layouts/VerticalPiano.swift",
"MIDIMonitorKeyboard.swift",
"MultitouchView.swift",
"PreferenceKeys.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.