Build Information
Successful build of Fretboard, reference main (0803c3
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 05:34:01 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 InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/itsmeichigo/Fretboard.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/itsmeichigo/Fretboard
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 0803c34 Fix issue mapping chords for C# and F#
Cloned https://github.com/itsmeichigo/Fretboard.git
Revision (git rev-parse @):
0803c3432702c3ffbd925fd3d0a56024d9bffe22
SUCCESS checkout https://github.com/itsmeichigo/Fretboard.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "fretboard",
"name": "Fretboard",
"url": "https://github.com/itsmeichigo/Fretboard.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Fretboard",
"dependencies": [
]
}
]
}
Fetching https://github.com/itsmeichigo/Fretboard.git
[1/337] Fetching fretboard
Fetched https://github.com/itsmeichigo/Fretboard.git from cache (1.12s)
Creating working copy for https://github.com/itsmeichigo/Fretboard.git
Working copy of https://github.com/itsmeichigo/Fretboard.git resolved at main (0803c34)
warning: '.resolve-product-dependencies': dependency 'fretboard' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/itsmeichigo/Fretboard.git
https://github.com/itsmeichigo/Fretboard.git
{
"dependencies" : [
],
"manifest_display_name" : "Fretboard",
"name" : "Fretboard",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Fretboard",
"targets" : [
"Fretboard"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FretboardTests",
"module_type" : "SwiftTarget",
"name" : "FretboardTests",
"path" : "Tests/FretboardTests",
"sources" : [
"FretboardTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Fretboard"
],
"type" : "test"
},
{
"c99name" : "Fretboard",
"module_type" : "SwiftTarget",
"name" : "Fretboard",
"path" : "Sources/Fretboard",
"product_memberships" : [
"Fretboard"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Resources/guitar.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Resources/ukulele.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"FretboardView.swift",
"Models/Chord.swift",
"Models/Instrument.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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
[1/4] Copying ukulele.json
[1/4] Copying guitar.json
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/9] Compiling Fretboard Instrument.swift
/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Models/Instrument.swift:18:23: warning: static property 'guitar' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Instrument: Decodable, Hashable {
| `- note: consider making struct 'Instrument' conform to the 'Sendable' protocol
11 | public let name: String
12 | public let keys: [String]
:
16 |
17 | extension Instrument {
18 | public static let guitar = instrument(from: "guitar")
| |- warning: static property 'guitar' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guitar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let ukulele = instrument(from: "ukulele")
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Models/Instrument.swift:19:23: warning: static property 'ukulele' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Instrument: Decodable, Hashable {
| `- note: consider making struct 'Instrument' conform to the 'Sendable' protocol
11 | public let name: String
12 | public let keys: [String]
:
17 | extension Instrument {
18 | public static let guitar = instrument(from: "guitar")
19 | public static let ukulele = instrument(from: "ukulele")
| |- warning: static property 'ukulele' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ukulele' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public func findChordPositions(key: String, suffix: String) -> [Chord.Position] {
[6/9] Compiling Fretboard resource_bundle_accessor.swift
[7/9] Compiling Fretboard Chord.swift
[8/9] Emitting module Fretboard
/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Models/Instrument.swift:18:23: warning: static property 'guitar' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Instrument: Decodable, Hashable {
| `- note: consider making struct 'Instrument' conform to the 'Sendable' protocol
11 | public let name: String
12 | public let keys: [String]
:
16 |
17 | extension Instrument {
18 | public static let guitar = instrument(from: "guitar")
| |- warning: static property 'guitar' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'guitar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let ukulele = instrument(from: "ukulele")
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Models/Instrument.swift:19:23: warning: static property 'ukulele' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Instrument: Decodable, Hashable {
| `- note: consider making struct 'Instrument' conform to the 'Sendable' protocol
11 | public let name: String
12 | public let keys: [String]
:
17 | extension Instrument {
18 | public static let guitar = instrument(from: "guitar")
19 | public static let ukulele = instrument(from: "ukulele")
| |- warning: static property 'ukulele' is not concurrency-safe because non-'Sendable' type 'Instrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ukulele' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | public func findChordPositions(key: String, suffix: String) -> [Chord.Position] {
[9/9] Compiling Fretboard FretboardView.swift
Build complete! (7.56s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Fretboard",
"name" : "Fretboard",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Fretboard",
"targets" : [
"Fretboard"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FretboardTests",
"module_type" : "SwiftTarget",
"name" : "FretboardTests",
"path" : "Tests/FretboardTests",
"sources" : [
"FretboardTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Fretboard"
],
"type" : "test"
},
{
"c99name" : "Fretboard",
"module_type" : "SwiftTarget",
"name" : "Fretboard",
"path" : "Sources/Fretboard",
"product_memberships" : [
"Fretboard"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Resources/guitar.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Fretboard/Resources/ukulele.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"FretboardView.swift",
"Models/Chord.swift",
"Models/Instrument.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.