Build Information
Failed to build InstrumentKit, reference 0.4.5 (797070
), with Swift 6.1 for Android on 28 May 2025 23:31:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdrelling/InstrumentKit.git
Reference: 0.4.5
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/bdrelling/InstrumentKit
* tag 0.4.5 -> FETCH_HEAD
HEAD is now at 7970702 Made midiNote extension public
Cloned https://github.com/bdrelling/InstrumentKit.git
Revision (git rev-parse @):
7970702b28989d46765d012ec542940ea9b4dac6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bdrelling/InstrumentKit.git at 0.4.5
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/bdrelling/InstrumentKit.git
https://github.com/bdrelling/InstrumentKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "tools",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-kipple/Tools"
}
],
"manifest_display_name" : "InstrumentKit",
"name" : "InstrumentKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "Frequency",
"targets" : [
"Frequency"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InstrumentKit",
"targets" : [
"InstrumentKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "NoteKit",
"targets" : [
"NoteKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NoteKitTests",
"module_type" : "SwiftTarget",
"name" : "NoteKitTests",
"path" : "Tests/NoteKitTests",
"sources" : [
"NoteComparabilityTests.swift",
"PitchClassComparabilityTests.swift",
"PitchClassTests.swift"
],
"target_dependencies" : [
"NoteKit"
],
"type" : "test"
},
{
"c99name" : "NoteKit",
"module_type" : "SwiftTarget",
"name" : "NoteKit",
"path" : "Sources/NoteKit",
"product_memberships" : [
"Frequency",
"InstrumentKit",
"NoteKit"
],
"sources" : [
"Core/Enums/NoteDisplayMode.swift",
"Core/Extensions/Note+Comparable.swift",
"Core/Extensions/Note+Convenience.swift",
"Core/Extensions/Note+MIDI.swift",
"Core/Extensions/Note+NameForDisplayMode.swift",
"Core/Extensions/Note+RawRepresentable.swift",
"Core/Extensions/Notes+Convenience.swift",
"Core/Extensions/Notes+Description.swift",
"Core/Extensions/PitchClass+NameForDisplayMode.swift",
"Core/Models/Note.swift",
"Core/Models/PitchClass.swift",
"Kipple/Extensions/BidirectionalCollection+Looping.swift",
"Kipple/Extensions/String+Match.swift",
"Mocks/Note+Mocked.swift"
],
"type" : "library"
},
{
"c99name" : "InstrumentKitTests",
"module_type" : "SwiftTarget",
"name" : "InstrumentKitTests",
"path" : "Tests/InstrumentKitTests",
"sources" : [
"Extensions/Tuning+AllCases.swift",
"Protocols/SerializationTesting.swift",
"Tests/CountryCodeTests.swift",
"Tests/HornbostelSachsTests.swift",
"Tests/StringInstrumentLocalizationTests.swift",
"Tests/StringInstrumentTests.swift",
"Tests/TuningLocalizationTests.swift",
"Tests/TuningTests.swift"
],
"target_dependencies" : [
"InstrumentKit"
],
"type" : "test"
},
{
"c99name" : "InstrumentKit",
"module_type" : "SwiftTarget",
"name" : "InstrumentKit",
"path" : "Sources/InstrumentKit",
"product_memberships" : [
"InstrumentKit"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/InstrumentKit/Resources/en.lproj/Instruments.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/InstrumentKit/Resources/en.lproj/Tunings.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/InstrumentKit/Resources/es.lproj/Instruments.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/InstrumentKit/Resources/es.lproj/Tunings.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
}
],
"sources" : [
"Core/Enums/CountryCode.swift",
"Core/Enums/SupportedLanguage.swift",
"Core/Errors/LocalizationError.swift",
"Core/Extensions/Array+AllCases.swift",
"Core/Extensions/Bundle+Localized.swift",
"Core/Extensions/StringInstrument+CaseIterable.swift",
"Core/Extensions/StringInstruments+Stats.swift",
"Core/Models/Definitions/BanjoFiveString.swift",
"Core/Models/Definitions/BanjoFourString.swift",
"Core/Models/Definitions/Bass.swift",
"Core/Models/Definitions/BouzoukiTetrachordo.swift",
"Core/Models/Definitions/BouzoukiTrichordo.swift",
"Core/Models/Definitions/Cello.swift",
"Core/Models/Definitions/DoubleBass.swift",
"Core/Models/Definitions/DoubleBassFiveString.swift",
"Core/Models/Definitions/Fiddle.swift",
"Core/Models/Definitions/Guitar.swift",
"Core/Models/Definitions/IrishBouzouki.swift",
"Core/Models/Definitions/Mandolin.swift",
"Core/Models/Definitions/PedalHarp.swift",
"Core/Models/Definitions/Ukulele.swift",
"Core/Models/Definitions/Viola.swift",
"Core/Models/Definitions/Violin.swift",
"Core/Models/StringInstrument.swift",
"Core/Models/Tuning.swift",
"Core/Protocols/Localizable.swift",
"HornbostelSachs/Models/HornbostelSachs+Aerophone.swift",
"HornbostelSachs/Models/HornbostelSachs+Chordophone.swift",
"HornbostelSachs/Models/HornbostelSachs+Electrophone.swift",
"HornbostelSachs/Models/HornbostelSachs+Idiophone.swift",
"HornbostelSachs/Models/HornbostelSachs+Membranophone.swift",
"HornbostelSachs/Models/HornbostelSachs.swift",
"HornbostelSachs/Protocols/HornbostelSachsClassifying.swift",
"Mocks/StringInstrument+Mocked.swift",
"Mocks/Tuning+Mocked.swift"
],
"target_dependencies" : [
"NoteKit"
],
"type" : "library"
},
{
"c99name" : "FrequencyTests",
"module_type" : "SwiftTarget",
"name" : "FrequencyTests",
"path" : "Tests/FrequencyTests",
"sources" : [
"NoteArrayTests.swift",
"NoteMathNoteKitTests.swift",
"NoteMathTests.swift"
],
"target_dependencies" : [
"Frequency",
"NoteKit"
],
"type" : "test"
},
{
"c99name" : "Frequency",
"module_type" : "SwiftTarget",
"name" : "Frequency",
"path" : "Sources/Frequency",
"product_memberships" : [
"Frequency"
],
"sources" : [
"Core/NoteMath.swift",
"NoteKit/Note+Frequency.swift",
"NoteKit/NoteMath+NoteKit.swift",
"NoteKit/Notes+Convenience.swift"
],
"target_dependencies" : [
"NoteKit"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swift-kipple/Tools
[1/720] Fetching tools
Fetched https://github.com/swift-kipple/Tools from cache (0.29s)
Computing version for https://github.com/swift-kipple/Tools
Computed https://github.com/swift-kipple/Tools at 0.3.8 (0.88s)
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/apple/swift-argument-parser
[1/15351] Fetching swift-argument-parser
[12436/63533] Fetching swift-argument-parser, swiftformat
Fetched https://github.com/apple/swift-argument-parser from cache (27.50s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (28.29s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (31.45s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (6.16s)
Creating working copy for https://github.com/swift-kipple/Tools
Working copy of https://github.com/swift-kipple/Tools resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/11] Copying Tunings.strings
[2/11] Write sources
[2/11] Copying Instruments.strings
[5/11] Write sources
[6/11] Copying Tunings.strings
[6/11] Copying Instruments.strings
[6/11] Copying Info.plist
[6/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/25] Emitting module NoteKit
/host/spi-builder-workspace/Sources/NoteKit/Core/Enums/NoteDisplayMode.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NoteDisplayMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Copyright © 2022 Brian Drelling. All rights reserved.
2 |
3 | public enum NoteDisplayMode: String, Codable, CaseIterable {
| `- note: consider making enum 'NoteDisplayMode' conform to the 'Sendable' protocol
4 | case sharps = "Sharps"
5 | case flats = "Flats"
:
9 |
10 | public extension NoteDisplayMode {
11 | static let `default`: Self = .sharps
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NoteDisplayMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:5:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public extension Note {
4 | // https://en.wikipedia.org/wiki/A440_(pitch_standard)
5 | static let standard: Self = .init(.a, octave: 4)
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static let lowest: Self = .init(.c, octave: 0)
7 | static let highest: Self = .init(.b, octave: 8)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:6:16: warning: static property 'lowest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
4 | // https://en.wikipedia.org/wiki/A440_(pitch_standard)
5 | static let standard: Self = .init(.a, octave: 4)
6 | static let lowest: Self = .init(.c, octave: 0)
| |- warning: static property 'lowest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let highest: Self = .init(.b, octave: 8)
8 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:7:16: warning: static property 'highest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
5 | static let standard: Self = .init(.a, octave: 4)
6 | static let lowest: Self = .init(.c, octave: 0)
7 | static let highest: Self = .init(.b, octave: 8)
| |- warning: static property 'highest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | static let middleA: Self = .standard
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:9:16: warning: static property 'middleA' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let highest: Self = .init(.b, octave: 8)
8 |
9 | static let middleA: Self = .standard
| |- warning: static property 'middleA' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | static let middleC: Self = .init(.c, octave: 4)
11 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:10:16: warning: static property 'middleC' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let middleA: Self = .standard
10 | static let middleC: Self = .init(.c, octave: 4)
| |- warning: static property 'middleC' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static let inactiveNoteSymbol = "-"
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Notes+Convenience.swift:4:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Array<Note>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Array where Element == Note {
4 | static let standard: Self = .octave(4)
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Array<Note>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func octave(_ octave: Int) -> Self {
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:104:23: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[PitchClass]' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
102 |
103 | extension PitchClass: CaseIterable {
104 | public static let allCases: [Self] = [.c, .cSharp, .d, .dSharp, .e, .f, .fSharp, .g, .gSharp, .a, .aSharp, .b]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[PitchClass]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:186:16: warning: static property 'c' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
184 | // static let intervalRatio: Float = 1.059463094359
185 |
186 | static let c: Self = .init("C", index: 0)
| |- warning: static property 'c' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'c' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:187:16: warning: static property 'cSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
185 |
186 | static let c: Self = .init("C", index: 0)
187 | static let cSharp: Self = .init("C#", index: 1)
| |- warning: static property 'cSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:188:16: warning: static property 'd' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
186 | static let c: Self = .init("C", index: 0)
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
| |- warning: static property 'd' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:189:16: warning: static property 'dSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
| |- warning: static property 'dSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:190:16: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:191:16: warning: static property 'f' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
| |- warning: static property 'f' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'f' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:192:16: warning: static property 'fSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
| |- warning: static property 'fSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:193:16: warning: static property 'g' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
| |- warning: static property 'g' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'g' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:194:16: warning: static property 'gSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
| |- warning: static property 'gSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:195:16: warning: static property 'a' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
| |- warning: static property 'a' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | static let aSharp: Self = .init("A#", index: 10)
197 | static let b: Self = .init("B", index: 11)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:196:16: warning: static property 'aSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
| |- warning: static property 'aSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | static let b: Self = .init("B", index: 11)
198 | }
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:197:16: warning: static property 'b' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
197 | static let b: Self = .init("B", index: 11)
| |- warning: static property 'b' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | }
199 |
/host/spi-builder-workspace/Sources/NoteKit/Mocks/Note+Mocked.swift:4:16: warning: static property 'mocked' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Note {
4 | static let mocked: Self = .gSharp(12)
| |- warning: static property 'mocked' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mocked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
[13/26] Compiling NoteKit Notes+Convenience.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Notes+Convenience.swift:4:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Array<Note>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Array where Element == Note {
4 | static let standard: Self = .octave(4)
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Array<Note>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func octave(_ octave: Int) -> Self {
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
[14/26] Compiling NoteKit Notes+Description.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Notes+Convenience.swift:4:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Array<Note>' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Array where Element == Note {
4 | static let standard: Self = .octave(4)
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Array<Note>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | static func octave(_ octave: Int) -> Self {
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
[15/26] Compiling NoteKit Note+Mocked.swift
/host/spi-builder-workspace/Sources/NoteKit/Mocks/Note+Mocked.swift:4:16: warning: static property 'mocked' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension Note {
4 | static let mocked: Self = .gSharp(12)
| |- warning: static property 'mocked' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mocked' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
[16/26] Compiling NoteKit String+Match.swift
[17/26] Compiling NoteKit PitchClass+NameForDisplayMode.swift
[18/26] Compiling NoteKit Note.swift
[19/26] Compiling NoteKit PitchClass.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:104:23: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[PitchClass]' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
102 |
103 | extension PitchClass: CaseIterable {
104 | public static let allCases: [Self] = [.c, .cSharp, .d, .dSharp, .e, .f, .fSharp, .g, .gSharp, .a, .aSharp, .b]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[PitchClass]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:186:16: warning: static property 'c' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
184 | // static let intervalRatio: Float = 1.059463094359
185 |
186 | static let c: Self = .init("C", index: 0)
| |- warning: static property 'c' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'c' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:187:16: warning: static property 'cSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
185 |
186 | static let c: Self = .init("C", index: 0)
187 | static let cSharp: Self = .init("C#", index: 1)
| |- warning: static property 'cSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:188:16: warning: static property 'd' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
186 | static let c: Self = .init("C", index: 0)
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
| |- warning: static property 'd' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:189:16: warning: static property 'dSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
| |- warning: static property 'dSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:190:16: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:191:16: warning: static property 'f' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
| |- warning: static property 'f' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'f' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:192:16: warning: static property 'fSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
| |- warning: static property 'fSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:193:16: warning: static property 'g' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
| |- warning: static property 'g' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'g' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:194:16: warning: static property 'gSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
| |- warning: static property 'gSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:195:16: warning: static property 'a' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
| |- warning: static property 'a' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | static let aSharp: Self = .init("A#", index: 10)
197 | static let b: Self = .init("B", index: 11)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:196:16: warning: static property 'aSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
| |- warning: static property 'aSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | static let b: Self = .init("B", index: 11)
198 | }
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:197:16: warning: static property 'b' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
197 | static let b: Self = .init("B", index: 11)
| |- warning: static property 'b' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | }
199 |
[20/26] Compiling NoteKit BidirectionalCollection+Looping.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:104:23: warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[PitchClass]' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
102 |
103 | extension PitchClass: CaseIterable {
104 | public static let allCases: [Self] = [.c, .cSharp, .d, .dSharp, .e, .f, .fSharp, .g, .gSharp, .a, .aSharp, .b]
| |- warning: static property 'allCases' is not concurrency-safe because non-'Sendable' type '[PitchClass]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:186:16: warning: static property 'c' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
184 | // static let intervalRatio: Float = 1.059463094359
185 |
186 | static let c: Self = .init("C", index: 0)
| |- warning: static property 'c' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'c' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:187:16: warning: static property 'cSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
185 |
186 | static let c: Self = .init("C", index: 0)
187 | static let cSharp: Self = .init("C#", index: 1)
| |- warning: static property 'cSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:188:16: warning: static property 'd' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
186 | static let c: Self = .init("C", index: 0)
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
| |- warning: static property 'd' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'd' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:189:16: warning: static property 'dSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
187 | static let cSharp: Self = .init("C#", index: 1)
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
| |- warning: static property 'dSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:190:16: warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
188 | static let d: Self = .init("D", index: 2)
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
| |- warning: static property 'e' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'e' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:191:16: warning: static property 'f' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
189 | static let dSharp: Self = .init("D#", index: 3)
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
| |- warning: static property 'f' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'f' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:192:16: warning: static property 'fSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
190 | static let e: Self = .init("E", index: 4)
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
| |- warning: static property 'fSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:193:16: warning: static property 'g' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
191 | static let f: Self = .init("F", index: 5)
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
| |- warning: static property 'g' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'g' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:194:16: warning: static property 'gSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
192 | static let fSharp: Self = .init("F#", index: 6)
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
| |- warning: static property 'gSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:195:16: warning: static property 'a' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
193 | static let g: Self = .init("G", index: 7)
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
| |- warning: static property 'a' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | static let aSharp: Self = .init("A#", index: 10)
197 | static let b: Self = .init("B", index: 11)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:196:16: warning: static property 'aSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
194 | static let gSharp: Self = .init("G#", index: 8)
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
| |- warning: static property 'aSharp' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 | static let b: Self = .init("B", index: 11)
198 | }
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/PitchClass.swift:197:16: warning: static property 'b' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
7 | // - https://en.wikipedia.org/wiki/Pitch_class
8 | // - https://music.stackexchange.com/questions/32087/terminology-note-and-note-class
9 | public struct PitchClass: Codable, Equatable, Hashable {
| `- note: consider making struct 'PitchClass' conform to the 'Sendable' protocol
10 | public let name: String
11 | public let index: Int
:
195 | static let a: Self = .init("A", index: 9)
196 | static let aSharp: Self = .init("A#", index: 10)
197 | static let b: Self = .init("B", index: 11)
| |- warning: static property 'b' is not concurrency-safe because non-'Sendable' type 'PitchClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | }
199 |
[21/26] Compiling NoteKit Note+Convenience.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:5:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public extension Note {
4 | // https://en.wikipedia.org/wiki/A440_(pitch_standard)
5 | static let standard: Self = .init(.a, octave: 4)
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static let lowest: Self = .init(.c, octave: 0)
7 | static let highest: Self = .init(.b, octave: 8)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:6:16: warning: static property 'lowest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
4 | // https://en.wikipedia.org/wiki/A440_(pitch_standard)
5 | static let standard: Self = .init(.a, octave: 4)
6 | static let lowest: Self = .init(.c, octave: 0)
| |- warning: static property 'lowest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let highest: Self = .init(.b, octave: 8)
8 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:7:16: warning: static property 'highest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
5 | static let standard: Self = .init(.a, octave: 4)
6 | static let lowest: Self = .init(.c, octave: 0)
7 | static let highest: Self = .init(.b, octave: 8)
| |- warning: static property 'highest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | static let middleA: Self = .standard
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:9:16: warning: static property 'middleA' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let highest: Self = .init(.b, octave: 8)
8 |
9 | static let middleA: Self = .standard
| |- warning: static property 'middleA' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | static let middleC: Self = .init(.c, octave: 4)
11 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:10:16: warning: static property 'middleC' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let middleA: Self = .standard
10 | static let middleC: Self = .init(.c, octave: 4)
| |- warning: static property 'middleC' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static let inactiveNoteSymbol = "-"
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
[22/26] Compiling NoteKit Note+MIDI.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:5:16: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
3 | public extension Note {
4 | // https://en.wikipedia.org/wiki/A440_(pitch_standard)
5 | static let standard: Self = .init(.a, octave: 4)
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static let lowest: Self = .init(.c, octave: 0)
7 | static let highest: Self = .init(.b, octave: 8)
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:6:16: warning: static property 'lowest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
4 | // https://en.wikipedia.org/wiki/A440_(pitch_standard)
5 | static let standard: Self = .init(.a, octave: 4)
6 | static let lowest: Self = .init(.c, octave: 0)
| |- warning: static property 'lowest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lowest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | static let highest: Self = .init(.b, octave: 8)
8 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:7:16: warning: static property 'highest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
5 | static let standard: Self = .init(.a, octave: 4)
6 | static let lowest: Self = .init(.c, octave: 0)
7 | static let highest: Self = .init(.b, octave: 8)
| |- warning: static property 'highest' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'highest' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | static let middleA: Self = .standard
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:9:16: warning: static property 'middleA' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
7 | static let highest: Self = .init(.b, octave: 8)
8 |
9 | static let middleA: Self = .standard
| |- warning: static property 'middleA' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleA' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | static let middleC: Self = .init(.c, octave: 4)
11 |
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
/host/spi-builder-workspace/Sources/NoteKit/Core/Extensions/Note+Convenience.swift:10:16: warning: static property 'middleC' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | static let middleA: Self = .standard
10 | static let middleC: Self = .init(.c, octave: 4)
| |- warning: static property 'middleC' is not concurrency-safe because non-'Sendable' type 'Note' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middleC' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | static let inactiveNoteSymbol = "-"
/host/spi-builder-workspace/Sources/NoteKit/Core/Models/Note.swift:5:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct Note: Codable, Equatable, Hashable {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
6 | public let pitchClass: PitchClass
7 | public let octave: Int
[23/26] Compiling NoteKit NoteDisplayMode.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Enums/NoteDisplayMode.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NoteDisplayMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Copyright © 2022 Brian Drelling. All rights reserved.
2 |
3 | public enum NoteDisplayMode: String, Codable, CaseIterable {
| `- note: consider making enum 'NoteDisplayMode' conform to the 'Sendable' protocol
4 | case sharps = "Sharps"
5 | case flats = "Flats"
:
9 |
10 | public extension NoteDisplayMode {
11 | static let `default`: Self = .sharps
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NoteDisplayMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
[24/26] Compiling NoteKit Note+Comparable.swift
/host/spi-builder-workspace/Sources/NoteKit/Core/Enums/NoteDisplayMode.swift:11:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NoteDisplayMode' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // Copyright © 2022 Brian Drelling. All rights reserved.
2 |
3 | public enum NoteDisplayMode: String, Codable, CaseIterable {
| `- note: consider making enum 'NoteDisplayMode' conform to the 'Sendable' protocol
4 | case sharps = "Sharps"
5 | case flats = "Flats"
:
9 |
10 | public extension NoteDisplayMode {
11 | static let `default`: Self = .sharps
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'NoteDisplayMode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | }
13 |
[25/26] Compiling NoteKit Note+NameForDisplayMode.swift
[26/26] Compiling NoteKit Note+RawRepresentable.swift
[28/65] Compiling Frequency Notes+Convenience.swift
[29/65] Compiling Frequency NoteMath+NoteKit.swift
[30/65] Compiling Frequency Note+Frequency.swift
[31/65] Emitting module Frequency
[32/65] Compiling Frequency NoteMath.swift
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:49:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
47 |
48 | let numberOfPitchClasss = Float(Self.semitonesPerOctave)
49 | return Int(round(numberOfPitchClasss * log2f(frequency / referenceFrequency)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
50 | }
51 |
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:67:32: error: cannot convert value of type 'Float' to expected argument type 'Double'
65 | let frequency = Self.standardNoteFrequency * powf(2, power)
66 |
67 | return round(frequency * Self.precision) / Self.precision
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
68 | }
69 |
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:67:16: error: cannot convert value of type 'Double' to expected argument type 'Float'
65 | let frequency = Self.standardNoteFrequency * powf(2, power)
66 |
67 | return round(frequency * Self.precision) / Self.precision
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
68 | }
69 |
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/Definitions/BouzoukiTetrachordo.swift:4:16: warning: static property 'bouzoukiTetrachordo' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension StringInstrument {
4 | static let bouzoukiTetrachordo: Self = .init(
| |- warning: static property 'bouzoukiTetrachordo' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bouzoukiTetrachordo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | localizationKey: "bouzouki_tetrachordo",
6 | numberOfStrings: 8,
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/StringInstrument.swift:5:15: note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct StringInstrument {
| `- note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
6 | private static let localizationTableName = "Instruments"
7 |
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/Definitions/BouzoukiTrichordo.swift:4:16: warning: static property 'bouzoukiTrichordo' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension StringInstrument {
4 | static let bouzoukiTrichordo: Self = .init(
| |- warning: static property 'bouzoukiTrichordo' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bouzoukiTrichordo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | localizationKey: "bouzouki_trichordo",
6 | numberOfStrings: 6,
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/StringInstrument.swift:5:15: note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct StringInstrument {
| `- note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
6 | private static let localizationTableName = "Instruments"
7 |
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/Definitions/Cello.swift:4:16: warning: static property 'cello' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension StringInstrument {
4 | static let cello: Self = .init(
| |- warning: static property 'cello' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cello' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | localizationKey: "cello",
6 | numberOfStrings: 4,
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/StringInstrument.swift:5:15: note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct StringInstrument {
| `- note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
6 | private static let localizationTableName = "Instruments"
7 |
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/Definitions/DoubleBass.swift:4:16: warning: static property 'doubleBass' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public extension StringInstrument {
4 | static let doubleBass: Self = .init(
| |- warning: static property 'doubleBass' is not concurrency-safe because non-'Sendable' type 'StringInstrument' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doubleBass' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | localizationKey: "double_bass",
6 | numberOfStrings: 4,
/host/spi-builder-workspace/Sources/InstrumentKit/Core/Models/StringInstrument.swift:5:15: note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
3 | import Foundation
4 |
5 | public struct StringInstrument {
| `- note: consider making struct 'StringInstrument' conform to the 'Sendable' protocol
6 | private static let localizationTableName = "Instruments"
7 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling NoteKit PitchClass+NameForDisplayMode.swift
[5/17] Compiling NoteKit Note.swift
[6/18] Emitting module NoteKit
[7/18] Compiling NoteKit String+Match.swift
[8/18] Compiling NoteKit Notes+Convenience.swift
[9/18] Compiling NoteKit Notes+Description.swift
[10/18] Compiling NoteKit Note+NameForDisplayMode.swift
[11/18] Compiling NoteKit Note+RawRepresentable.swift
[12/18] Compiling NoteKit Note+Convenience.swift
[13/18] Compiling NoteKit Note+MIDI.swift
[14/18] Compiling NoteKit NoteDisplayMode.swift
[15/18] Compiling NoteKit Note+Comparable.swift
[16/18] Compiling NoteKit Note+Mocked.swift
[17/18] Compiling NoteKit PitchClass.swift
[18/18] Compiling NoteKit BidirectionalCollection+Looping.swift
[20/57] Compiling Frequency NoteMath+NoteKit.swift
[21/57] Compiling Frequency Notes+Convenience.swift
[22/57] Emitting module Frequency
[23/57] Compiling Frequency Note+Frequency.swift
[24/57] Compiling Frequency NoteMath.swift
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:49:46: error: cannot convert value of type 'Float' to expected argument type 'Double'
47 |
48 | let numberOfPitchClasss = Float(Self.semitonesPerOctave)
49 | return Int(round(numberOfPitchClasss * log2f(frequency / referenceFrequency)))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
50 | }
51 |
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:67:32: error: cannot convert value of type 'Float' to expected argument type 'Double'
65 | let frequency = Self.standardNoteFrequency * powf(2, power)
66 |
67 | return round(frequency * Self.precision) / Self.precision
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
68 | }
69 |
/host/spi-builder-workspace/Sources/Frequency/Core/NoteMath.swift:67:16: error: cannot convert value of type 'Double' to expected argument type 'Float'
65 | let frequency = Self.standardNoteFrequency * powf(2, power)
66 |
67 | return round(frequency * Self.precision) / Self.precision
| `- error: cannot convert value of type 'Double' to expected argument type 'Float'
68 | }
69 |
BUILD FAILURE 6.1 android