Build Information
Successful build of MusicTheory, reference master (af7d53
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 17:57:06 UTC.
Swift 6 data race errors: 210
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 | /// Augmented sixth.
183 | public static let A6 = Interval(quality: .augmented, degree: 6, semitones: 10)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:183:23: warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
181 | public static let A5 = Interval(quality: .augmented, degree: 5, semitones: 8)
182 | /// Augmented sixth.
183 | public static let A6 = Interval(quality: .augmented, degree: 6, semitones: 10)
| |- warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | /// Augmented seventh.
185 | public static let A7 = Interval(quality: .augmented, degree: 7, semitones: 12)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:185:23: warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
183 | public static let A6 = Interval(quality: .augmented, degree: 6, semitones: 10)
184 | /// Augmented seventh.
185 | public static let A7 = Interval(quality: .augmented, degree: 7, semitones: 12)
| |- warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 | /// Augmented octave.
187 | public static let A8 = Interval(quality: .augmented, degree: 8, semitones: 13)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:187:23: warning: static property 'A8' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
185 | public static let A7 = Interval(quality: .augmented, degree: 7, semitones: 12)
186 | /// Augmented octave.
187 | public static let A8 = Interval(quality: .augmented, degree: 8, semitones: 13)
| |- warning: static property 'A8' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 | /// Augmented ninth.
189 | public static let A9 = Interval(quality: .augmented, degree: 9, semitones: 15)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:189:23: warning: static property 'A9' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
187 | public static let A8 = Interval(quality: .augmented, degree: 8, semitones: 13)
188 | /// Augmented ninth.
189 | public static let A9 = Interval(quality: .augmented, degree: 9, semitones: 15)
| |- warning: static property 'A9' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | /// Augmented tenth.
191 | public static let A10 = Interval(quality: .augmented, degree: 10, semitones: 17)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:191:23: warning: static property 'A10' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
189 | public static let A9 = Interval(quality: .augmented, degree: 9, semitones: 15)
190 | /// Augmented tenth.
191 | public static let A10 = Interval(quality: .augmented, degree: 10, semitones: 17)
| |- warning: static property 'A10' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | /// Augmented eleventh.
193 | public static let A11 = Interval(quality: .augmented, degree: 11, semitones: 18)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:193:23: warning: static property 'A11' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
191 | public static let A10 = Interval(quality: .augmented, degree: 10, semitones: 17)
192 | /// Augmented eleventh.
193 | public static let A11 = Interval(quality: .augmented, degree: 11, semitones: 18)
| |- warning: static property 'A11' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A11' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | /// Augmented twelfth.
195 | public static let A12 = Interval(quality: .augmented, degree: 12, semitones: 20)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:195:23: warning: static property 'A12' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
193 | public static let A11 = Interval(quality: .augmented, degree: 11, semitones: 18)
194 | /// Augmented twelfth.
195 | public static let A12 = Interval(quality: .augmented, degree: 12, semitones: 20)
| |- warning: static property 'A12' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A12' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 | /// Augmented thirteenth.
197 | public static let A13 = Interval(quality: .augmented, degree: 13, semitones: 22)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:197:23: warning: static property 'A13' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
195 | public static let A12 = Interval(quality: .augmented, degree: 12, semitones: 20)
196 | /// Augmented thirteenth.
197 | public static let A13 = Interval(quality: .augmented, degree: 13, semitones: 22)
| |- warning: static property 'A13' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A13' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 | /// Augmented fourteenth.
199 | public static let A14 = Interval(quality: .augmented, degree: 14, semitones: 24)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:199:23: warning: static property 'A14' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
197 | public static let A13 = Interval(quality: .augmented, degree: 13, semitones: 22)
198 | /// Augmented fourteenth.
199 | public static let A14 = Interval(quality: .augmented, degree: 14, semitones: 24)
| |- warning: static property 'A14' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A14' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 | /// Augmented fifteenth.
201 | public static let A15 = Interval(quality: .augmented, degree: 15, semitones: 25)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:201:23: warning: static property 'A15' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
199 | public static let A14 = Interval(quality: .augmented, degree: 14, semitones: 24)
200 | /// Augmented fifteenth.
201 | public static let A15 = Interval(quality: .augmented, degree: 15, semitones: 25)
| |- warning: static property 'A15' is not concurrency-safe because non-'Sendable' type 'Interval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'A15' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 |
203 | /// All pre-defined intervals in a static array. You can filter it out with qualities, degrees or semitones.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Interval.swift:204:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Interval]' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | /// Defines the interval between `Pitch`es in semitones.
34 | public struct Interval: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'Interval' conform to the 'Sendable' protocol
35 | /// Quality type of the interval.
36 | public enum Quality: Int, Codable, Hashable, CaseIterable, CustomStringConvertible {
:
202 |
203 | /// All pre-defined intervals in a static array. You can filter it out with qualities, degrees or semitones.
204 | public static let all: [Interval] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Interval]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | .P1, .P4, .P5, .P8, .P11, .P12, .P15,
206 | .m2, .m3, .m6, .m7, .m9, .m10, .m13, .m14,
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Key.swift:59:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Key.KeyType]' may have shared mutable state; this is an error in the Swift 6 language mode
40 | public struct Key: Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
41 | /// Base pitch of the key without accidentals. Accidentals will take account in the parent struct, `Key`. Integer values are based on C = 0 on western chromatic scale.
42 | public enum KeyType: Int, Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'KeyType' conform to the 'Sendable' protocol
43 | /// C key.
44 | case c = 0
:
57 |
58 | /// Returns all members of the `KeyType`.
59 | public static let all: [KeyType] = [.c, .d, .e, .f, .g, .a, .b]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Key.KeyType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Returns neighbour `KeyType` at `distance` away. Works on both directions.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Key.swift:157:23: warning: static property 'keysWithSharps' is not concurrency-safe because non-'Sendable' type '[Key]' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Represents the keys that notes and pitches are based on.
40 | public struct Key: Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
41 | /// Base pitch of the key without accidentals. Accidentals will take account in the parent struct, `Key`. Integer values are based on C = 0 on western chromatic scale.
42 | public enum KeyType: Int, Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
:
155 |
156 | /// All notes in an octave with sharp notes.
157 | public static let keysWithSharps = [
| |- warning: static property 'keysWithSharps' is not concurrency-safe because non-'Sendable' type '[Key]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keysWithSharps' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | Key(type: .c, accidental: .natural),
159 | Key(type: .c, accidental: .sharp),
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Key.swift:173:23: warning: static property 'keysWithFlats' is not concurrency-safe because non-'Sendable' type '[Key]' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Represents the keys that notes and pitches are based on.
40 | public struct Key: Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
41 | /// Base pitch of the key without accidentals. Accidentals will take account in the parent struct, `Key`. Integer values are based on C = 0 on western chromatic scale.
42 | public enum KeyType: Int, Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
:
171 |
172 | /// All notes in an octave with flat notes.
173 | public static let keysWithFlats = [
| |- warning: static property 'keysWithFlats' is not concurrency-safe because non-'Sendable' type '[Key]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keysWithFlats' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
174 | Key(type: .c, accidental: .natural),
175 | Key(type: .d, accidental: .flat),
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Key.swift:189:23: warning: static property 'allKeys' is not concurrency-safe because non-'Sendable' type '[Key]' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// Represents the keys that notes and pitches are based on.
40 | public struct Key: Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
41 | /// Base pitch of the key without accidentals. Accidentals will take account in the parent struct, `Key`. Integer values are based on C = 0 on western chromatic scale.
42 | public enum KeyType: Int, Codable, Equatable, Hashable, ExpressibleByStringLiteral, CustomStringConvertible {
:
187 |
188 | /// All notes in an octave with both flat and sharp notes.
189 | public static let allKeys = [
| |- warning: static property 'allKeys' is not concurrency-safe because non-'Sendable' type '[Key]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'allKeys' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 | Key(type: .c, accidental: .natural),
191 | Key(type: .c, accidental: .sharp),
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:33:23: warning: static property 'sixteenBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
31 |
32 | /// Sixteen bar notes.
33 | public static let sixteenBars = NoteValueType(rate: 16.0, description: "16 Bars")
| |- warning: static property 'sixteenBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sixteenBars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Eigth bar notes.
35 | public static let eigthBars = NoteValueType(rate: 8.0, description: "8 Bars")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:35:23: warning: static property 'eigthBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
33 | public static let sixteenBars = NoteValueType(rate: 16.0, description: "16 Bars")
34 | /// Eigth bar notes.
35 | public static let eigthBars = NoteValueType(rate: 8.0, description: "8 Bars")
| |- warning: static property 'eigthBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eigthBars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// Four bar notes.
37 | public static let fourBars = NoteValueType(rate: 4.0, description: "4 Bars")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:37:23: warning: static property 'fourBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
35 | public static let eigthBars = NoteValueType(rate: 8.0, description: "8 Bars")
36 | /// Four bar notes.
37 | public static let fourBars = NoteValueType(rate: 4.0, description: "4 Bars")
| |- warning: static property 'fourBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fourBars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// Two bar notes.
39 | public static let twoBars = NoteValueType(rate: 2.0, description: "2 Bars")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:39:23: warning: static property 'twoBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
37 | public static let fourBars = NoteValueType(rate: 4.0, description: "4 Bars")
38 | /// Two bar notes.
39 | public static let twoBars = NoteValueType(rate: 2.0, description: "2 Bars")
| |- warning: static property 'twoBars' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'twoBars' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// One bar note.
41 | public static let oneBar = NoteValueType(rate: 1.0, description: "1 Bar")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:41:23: warning: static property 'oneBar' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
39 | public static let twoBars = NoteValueType(rate: 2.0, description: "2 Bars")
40 | /// One bar note.
41 | public static let oneBar = NoteValueType(rate: 1.0, description: "1 Bar")
| |- warning: static property 'oneBar' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oneBar' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// Two whole notes.
43 | public static let doubleWhole = NoteValueType(rate: 2.0 / 1.0, description: "2/1")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:43:23: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
41 | public static let oneBar = NoteValueType(rate: 1.0, description: "1 Bar")
42 | /// Two whole notes.
43 | public static let doubleWhole = NoteValueType(rate: 2.0 / 1.0, description: "2/1")
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doubleWhole' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// Whole note.
45 | public static let whole = NoteValueType(rate: 1.0 / 1.0, description: "1/1")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:45:23: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
43 | public static let doubleWhole = NoteValueType(rate: 2.0 / 1.0, description: "2/1")
44 | /// Whole note.
45 | public static let whole = NoteValueType(rate: 1.0 / 1.0, description: "1/1")
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whole' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// Half note.
47 | public static let half = NoteValueType(rate: 1.0 / 2.0, description: "1/2")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:47:23: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
45 | public static let whole = NoteValueType(rate: 1.0 / 1.0, description: "1/1")
46 | /// Half note.
47 | public static let half = NoteValueType(rate: 1.0 / 2.0, description: "1/2")
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'half' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// Quarter note.
49 | public static let quarter = NoteValueType(rate: 1.0 / 4.0, description: "1/4")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:49:23: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
47 | public static let half = NoteValueType(rate: 1.0 / 2.0, description: "1/2")
48 | /// Quarter note.
49 | public static let quarter = NoteValueType(rate: 1.0 / 4.0, description: "1/4")
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'quarter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// Eighth note.
51 | public static let eighth = NoteValueType(rate: 1.0 / 8.0, description: "1/8")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:51:23: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
49 | public static let quarter = NoteValueType(rate: 1.0 / 4.0, description: "1/4")
50 | /// Eighth note.
51 | public static let eighth = NoteValueType(rate: 1.0 / 8.0, description: "1/8")
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eighth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// Sixteenth note.
53 | public static let sixteenth = NoteValueType(rate: 1.0 / 16.0, description: "1/16")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:53:23: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
51 | public static let eighth = NoteValueType(rate: 1.0 / 8.0, description: "1/8")
52 | /// Sixteenth note.
53 | public static let sixteenth = NoteValueType(rate: 1.0 / 16.0, description: "1/16")
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sixteenth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// Thirtysecond note.
55 | public static let thirtysecond = NoteValueType(rate: 1.0 / 32.0, description: "1/32")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:55:23: warning: static property 'thirtysecond' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
53 | public static let sixteenth = NoteValueType(rate: 1.0 / 16.0, description: "1/16")
54 | /// Thirtysecond note.
55 | public static let thirtysecond = NoteValueType(rate: 1.0 / 32.0, description: "1/32")
| |- warning: static property 'thirtysecond' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thirtysecond' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// Sixtyfourth note.
57 | public static let sixtyfourth = NoteValueType(rate: 1.0 / 64.0, description: "1/64")
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:57:23: warning: static property 'sixtyfourth' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
55 | public static let thirtysecond = NoteValueType(rate: 1.0 / 32.0, description: "1/32")
56 | /// Sixtyfourth note.
57 | public static let sixtyfourth = NoteValueType(rate: 1.0 / 64.0, description: "1/64")
| |- warning: static property 'sixtyfourth' is not concurrency-safe because non-'Sendable' type 'NoteValueType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sixtyfourth' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | public static let all: [NoteValueType] = [
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/NoteValue.swift:59:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NoteValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | /// Defines the types of note values.
16 | public struct NoteValueType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'NoteValueType' conform to the 'Sendable' protocol
17 | /// The note value's duration in beats.
18 | public var rate: Double
:
57 | public static let sixtyfourth = NoteValueType(rate: 1.0 / 64.0, description: "1/64")
58 |
59 | public static let all: [NoteValueType] = [
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[NoteValueType]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | .sixteenBars, .eigthBars, .fourBars, .twoBars, .oneBar,
61 | .half, .quarter, .eighth, .sixteenth, .thirtysecond, .sixtyfourth
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Scale.swift:98:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Scale.HarmonicField]' may have shared mutable state; this is an error in the Swift 6 language mode
83 | extension Scale {
84 | /// Stack of notes to generate chords for each note in the scale.
85 | public enum HarmonicField: Int, Codable {
| `- note: consider making enum 'HarmonicField' conform to the 'Sendable' protocol
86 | /// First, third and fifth degree notes builds a triad chord.
87 | case triad
:
96 |
97 | /// All possible harmonic fields constructed from.
98 | public static let all: [HarmonicField] = [.triad, .tetrad, .ninth, .eleventh, .thirteenth]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[Scale.HarmonicField]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | }
100 |
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:81:23: warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
79 | extension ScaleType {
80 | /// Major scale.
81 | public static let major = ScaleType(intervals: ScaleType.ionian.intervals, description: "Major")
| |- warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'major' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// Minor scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:84:23: warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
82 |
83 | /// Minor scale.
84 | public static let minor = ScaleType(intervals: ScaleType.aeolian.intervals, description: "Minor")
| |- warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Harmonic minor scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:87:23: warning: static property 'harmonicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
85 |
86 | /// Harmonic minor scale.
87 | public static let harmonicMinor = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .m6, .M7], description: "Harmonic Minor")
| |- warning: static property 'harmonicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'harmonicMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Melodic minor scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:90:23: warning: static property 'melodicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
88 |
89 | /// Melodic minor scale.
90 | public static let melodicMinor = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .M6, .M7], description: "Melodic Minor")
| |- warning: static property 'melodicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'melodicMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// Pentatonic major scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:93:23: warning: static property 'pentatonicMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
91 |
92 | /// Pentatonic major scale.
93 | public static let pentatonicMajor = ScaleType(intervals: [.P1, .M2, .M3, .P5, .M6], description: "Pentatonic Major")
| |- warning: static property 'pentatonicMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pentatonicMajor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 |
95 | /// Pentatonic minor scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:96:23: warning: static property 'pentatonicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
94 |
95 | /// Pentatonic minor scale.
96 | public static let pentatonicMinor = ScaleType(intervals: [.P1, .m3, .P4, .P5, .m7], description: "Pentatonic Minor")
| |- warning: static property 'pentatonicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pentatonicMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
97 |
98 | /// Pentatonic blues scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:99:23: warning: static property 'pentatonicBlues' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
97 |
98 | /// Pentatonic blues scale.
99 | public static let pentatonicBlues = ScaleType(intervals: [.P1, .m3, .P4, .d5, .P5, .m7], description: "Pentatonic Blues")
| |- warning: static property 'pentatonicBlues' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pentatonicBlues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Pentatonic neutral scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:102:23: warning: static property 'pentatonicNeutral' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
100 |
101 | /// Pentatonic neutral scale.
102 | public static let pentatonicNeutral = ScaleType(intervals: [.P1, .M2, .P4, .P5, .m7], description: "Pentatonic Neutral")
| |- warning: static property 'pentatonicNeutral' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pentatonicNeutral' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 |
104 | /// Ionian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:105:23: warning: static property 'ionian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
103 |
104 | /// Ionian scale.
105 | public static let ionian = ScaleType(intervals: [.P1, .M2, .M3, .P4, .P5, .M6, .M7], description: "Ionian")
| |- warning: static property 'ionian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ionian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
106 |
107 | /// Aeolian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:108:23: warning: static property 'aeolian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
106 |
107 | /// Aeolian scale.
108 | public static let aeolian = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .m6, .m7], description: "Aeolian")
| |- warning: static property 'aeolian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aeolian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// Dorian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:111:23: warning: static property 'dorian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
109 |
110 | /// Dorian scale.
111 | public static let dorian = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .M6, .m7], description: "Dorian")
| |- warning: static property 'dorian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dorian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |
113 | /// Mixolydian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:114:23: warning: static property 'mixolydian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
112 |
113 | /// Mixolydian scale.
114 | public static let mixolydian = ScaleType(intervals: [.P1, .M2, .M3, .P4, .P5, .M6, .m7], description: "Mixolydian")
| |- warning: static property 'mixolydian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mixolydian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 |
116 | /// Phrygian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:117:23: warning: static property 'phrygian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
115 |
116 | /// Phrygian scale.
117 | public static let phrygian = ScaleType(intervals: [.P1, .m2, .m3, .P4, .P5, .m6, .m7], description: "Phrygian")
| |- warning: static property 'phrygian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'phrygian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 |
119 | /// Lydian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:120:23: warning: static property 'lydian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
118 |
119 | /// Lydian scale.
120 | public static let lydian = ScaleType(intervals: [.P1, .M2, .M3, .A4, .P5, .M6, .M7], description: "Lydian")
| |- warning: static property 'lydian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | /// Locrian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:123:23: warning: static property 'locrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
121 |
122 | /// Locrian scale.
123 | public static let locrian = ScaleType(intervals: [.P1, .m2, .m3, .P4, .d5, .m6, .m7], description: "Locrian")
| |- warning: static property 'locrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'locrian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// Half diminished scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:126:23: warning: static property 'halfDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
124 |
125 | /// Half diminished scale.
126 | public static let halfDiminished = ScaleType(intervals: [.P1, .m2, .m3, .M3, .d5, .P5, .M6, .m7], description: "Half Diminished")
| |- warning: static property 'halfDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'halfDiminished' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Whole diminished scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:129:23: warning: static property 'wholeDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
127 |
128 | /// Whole diminished scale.
129 | public static let wholeDiminished = ScaleType(intervals: [.P1, .M2, .m3, .P4, .d5, .m6, .M6, .M7], description: "Whole Diminished")
| |- warning: static property 'wholeDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'wholeDiminished' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | /// Whole scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:132:23: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
130 |
131 | /// Whole scale.
132 | public static let whole = ScaleType(intervals: [.P1, .M2, .M3, .d5, .m6, .m7], description: "Whole")
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'whole' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Augmented scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:135:23: warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
133 |
134 | /// Augmented scale.
135 | public static let augmented = ScaleType(intervals: [.m3, .M3, .P5, .m6, .M7], description: "Augmented")
| |- warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'augmented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// Chromatic scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:138:23: warning: static property 'chromatic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
136 |
137 | /// Chromatic scale.
138 | public static let chromatic = ScaleType(intervals: [.P1, .m2, .M2, .m3, .M3, .P4, .d5, .P5, .m6, .M6, .m7, .M7], description: "Chromatic")
| |- warning: static property 'chromatic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chromatic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | /// Roumanian minor scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:141:23: warning: static property 'romanianMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
139 |
140 | /// Roumanian minor scale.
141 | public static let romanianMinor = ScaleType(intervals: [.P1, .M2, .m3, .d5, .P5, .M6, .m7], description: "Romanian Minor")
| |- warning: static property 'romanianMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'romanianMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Spanish gypsy scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:144:23: warning: static property 'spanishGypsy' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
142 |
143 | /// Spanish gypsy scale.
144 | public static let spanishGypsy = ScaleType(intervals: [.P1, .m2, .M3, .P4, .P5, .m6, .m7], description: "Spanish Gypsy")
| |- warning: static property 'spanishGypsy' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'spanishGypsy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Diatonic scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:147:23: warning: static property 'diatonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
145 |
146 | /// Diatonic scale.
147 | public static let diatonic = ScaleType(intervals: [.P1, .M2, .M3, .P5, .M6], description: "Diatonic")
| |- warning: static property 'diatonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'diatonic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Dobule harmonic scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:150:23: warning: static property 'doubleHarmonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
148 |
149 | /// Dobule harmonic scale.
150 | public static let doubleHarmonic = ScaleType(intervals: [.P1, .m2, .M3, .P4, .P5, .m6, .M7], description: "Double Harmonic")
| |- warning: static property 'doubleHarmonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doubleHarmonic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Eight tone spanish scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:153:23: warning: static property 'eightToneSpanish' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
151 |
152 | /// Eight tone spanish scale.
153 | public static let eightToneSpanish = ScaleType(intervals: [.P1, .m2, .m3, .M3, .P4, .d5, .m6, .m7], description: "Eight Tone Spanish")
| |- warning: static property 'eightToneSpanish' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eightToneSpanish' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Enigmatic scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:156:23: warning: static property 'enigmatic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
154 |
155 | /// Enigmatic scale.
156 | public static let enigmatic = ScaleType(intervals: [.P1, .m2, .M3, .A4, .A5, .A6, .M7], description: "Enigmatic")
| |- warning: static property 'enigmatic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'enigmatic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Leading whole tone scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:159:23: warning: static property 'leadingWholeTone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
157 |
158 | /// Leading whole tone scale.
159 | public static let leadingWholeTone = ScaleType(intervals: [.P1, .M2, .M3, .d5, .m6, .M6, .m7], description: "Leading Whole Tone")
| |- warning: static property 'leadingWholeTone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'leadingWholeTone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | /// Lydian augmented scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:162:23: warning: static property 'lydianAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
160 |
161 | /// Lydian augmented scale.
162 | public static let lydianAugmented = ScaleType(intervals: [.P1, .M2, .M3, .A4, .A5, .M6, .M7], description: "Lydian Augmented")
| |- warning: static property 'lydianAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianAugmented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Neopolitan major scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:165:23: warning: static property 'neopolitanMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
163 |
164 | /// Neopolitan major scale.
165 | public static let neopolitanMajor = ScaleType(intervals: [.P1, .m2, .m3, .P4, .P5, .M6, .M7], description: "Neopolitan Major")
| |- warning: static property 'neopolitanMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neopolitanMajor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Neopolitan minor scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:168:23: warning: static property 'neopolitanMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
166 |
167 | /// Neopolitan minor scale.
168 | public static let neopolitanMinor = ScaleType(intervals: [.P1, .m2, .m3, .P4, .P5, .m6, .m7], description: "Neopolitan Minor")
| |- warning: static property 'neopolitanMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neopolitanMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Pelog scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:171:23: warning: static property 'pelog' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
169 |
170 | /// Pelog scale.
171 | public static let pelog = ScaleType(intervals: [.P1, .m2, .m3, .d5, .m7, .M7], description: "Pelog")
| |- warning: static property 'pelog' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pelog' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | /// Prometheus scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:174:23: warning: static property 'prometheus' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
172 |
173 | /// Prometheus scale.
174 | public static let prometheus = ScaleType(intervals: [.P1, .M2, .M3, .A4, .M6, .m7], description: "Prometheus")
| |- warning: static property 'prometheus' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prometheus' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// Prometheus neopolitan scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:177:23: warning: static property 'prometheusNeopolitan' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
175 |
176 | /// Prometheus neopolitan scale.
177 | public static let prometheusNeopolitan = ScaleType(intervals: [.P1, .m2, .M3, .d5, .M6, .m7], description: "Prometheus Neopolitan")
| |- warning: static property 'prometheusNeopolitan' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'prometheusNeopolitan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 |
179 | /// Six tone symmetrical scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:180:23: warning: static property 'sixToneSymmetrical' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
178 |
179 | /// Six tone symmetrical scale.
180 | public static let sixToneSymmetrical = ScaleType(intervals: [.P1, .m2, .M3, .P4, .m6, .M6], description: "Six Tone Symmetrical")
| |- warning: static property 'sixToneSymmetrical' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sixToneSymmetrical' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | /// Super locrian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:183:23: warning: static property 'superLocrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
181 |
182 | /// Super locrian scale.
183 | public static let superLocrian = ScaleType(intervals: [.P1, .m2, .m3, .M3, .d5, .m6, .m7], description: "Super Locrian")
| |- warning: static property 'superLocrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'superLocrian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | /// Lydian minor scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:186:23: warning: static property 'lydianMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
184 |
185 | /// Lydian minor scale.
186 | public static let lydianMinor = ScaleType(intervals: [.P1, .M2, .M3, .d5, .P5, .m6, .m7], description: "Lydian Minor")
| |- warning: static property 'lydianMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// Lydian diminished scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:189:23: warning: static property 'lydianDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
187 |
188 | /// Lydian diminished scale.
189 | public static let lydianDiminished = ScaleType(intervals: [.P1, .M2, .m3, .d5, .P5, .m6, .m7], description: "Lydian Diminished")
| |- warning: static property 'lydianDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianDiminished' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 |
191 | /// Nine tone scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:192:23: warning: static property 'nineTone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
190 |
191 | /// Nine tone scale.
192 | public static let nineTone = ScaleType(intervals: [.P1, .M2, .m3, .M3, .d5, .P5, .m6, .M6, .M7], description: "Nine Tone")
| |- warning: static property 'nineTone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'nineTone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | /// Auxiliary diminished scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:195:23: warning: static property 'auxiliaryDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
193 |
194 | /// Auxiliary diminished scale.
195 | public static let auxiliaryDiminished = ScaleType(intervals: [.P1, .M2, .m3, .P4, .d5, .m6, .M6, .M7], description: "Auxiliary Diminished")
| |- warning: static property 'auxiliaryDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'auxiliaryDiminished' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |
197 | /// Auxiliary augmaneted scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:198:23: warning: static property 'auxiliaryAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
196 |
197 | /// Auxiliary augmaneted scale.
198 | public static let auxiliaryAugmented = ScaleType(intervals: [.P1, .M2, .M3, .d5, .m6, .m7], description: "Auxiliary Augmented")
| |- warning: static property 'auxiliaryAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'auxiliaryAugmented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 |
200 | /// Auxiliary diminished blues scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:201:23: warning: static property 'auxiliaryDimBlues' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
199 |
200 | /// Auxiliary diminished blues scale.
201 | public static let auxiliaryDimBlues = ScaleType(intervals: [.P1, .m2, .m3, .M3, .d5, .P5, .M6, .m7], description: "Auxiliary Diminished Blues")
| |- warning: static property 'auxiliaryDimBlues' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'auxiliaryDimBlues' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 |
203 | /// Major locrian scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:204:23: warning: static property 'majorLocrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
202 |
203 | /// Major locrian scale.
204 | public static let majorLocrian = ScaleType(intervals: [.P1, .M2, .M3, .P4, .d5, .m6, .m7], description: "Major Locrian")
| |- warning: static property 'majorLocrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'majorLocrian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | /// Overtone scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:207:23: warning: static property 'overtone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
205 |
206 | /// Overtone scale.
207 | public static let overtone = ScaleType(intervals: [.P1, .M2, .M3, .d5, .P5, .M6, .m7], description: "Overtone")
| |- warning: static property 'overtone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'overtone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |
209 | /// Diminished whole tone scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:210:23: warning: static property 'diminishedWholeTone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
208 |
209 | /// Diminished whole tone scale.
210 | public static let diminishedWholeTone = ScaleType(intervals: [.P1, .m2, .m3, .M3, .d5, .m6, .m7], description: "Diminished Whole Tone")
| |- warning: static property 'diminishedWholeTone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'diminishedWholeTone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Dominant seventh scale.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:213:23: warning: static property 'dominant7th' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
211 |
212 | /// Dominant seventh scale.
213 | public static let dominant7th = ScaleType(intervals: [.P1, .M2, .M3, .P4, .P5, .M6, .m7], description: "Dominant 7th")
| |- warning: static property 'dominant7th' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dominant7th' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |
215 | /// Altered scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:216:23: warning: static property 'altered' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
214 |
215 | /// Altered scale
216 | public static let altered = ScaleType(intervals: [.P1, .m2, .m3, .M3, .d5, .m6, .m7], description: "Altered")
| |- warning: static property 'altered' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'altered' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Arabian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:219:23: warning: static property 'arabian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
217 |
218 | /// Arabian scale
219 | public static let arabian = ScaleType(intervals: [.P1, .M2, .M3, .P4, .d5, .m6, .m7], description: "Arabian")
| |- warning: static property 'arabian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'arabian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 | /// Ionian augmented scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:222:23: warning: static property 'ionianAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
220 |
221 | /// Ionian augmented scale
222 | public static let ionianAugmented = ScaleType(intervals: [.P1, .M2, .M3, .P4, .m6, .M6, .M7], description: "Ionian Augmented")
| |- warning: static property 'ionianAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ionianAugmented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 |
224 | /// Balinese scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:225:23: warning: static property 'balinese' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
223 |
224 | /// Balinese scale
225 | public static let balinese = ScaleType(intervals: [.P1, .m2, .m3, .P5, .m6], description: "Balinese")
| |- warning: static property 'balinese' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'balinese' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |
227 | /// Byzantine scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:228:23: warning: static property 'byzantine' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
226 |
227 | /// Byzantine scale
228 | public static let byzantine = ScaleType(intervals: [.P1, .m2, .M3, .P4, .P5, .m6, .M7], description: "Byzantine")
| |- warning: static property 'byzantine' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'byzantine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Chinese scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:231:23: warning: static property 'chinese' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
229 |
230 | /// Chinese scale
231 | public static let chinese = ScaleType(intervals: [.P1, .M3, .d5, .P5, .M7], description: "Chinese")
| |- warning: static property 'chinese' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'chinese' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |
233 | /// Dorian #4 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:234:23: warning: static property 'dorianSharp4' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
232 |
233 | /// Dorian #4 scale
234 | public static let dorianSharp4 = ScaleType(intervals: [.P1, .M2, .m3, .d5, .P5, .M6, .m7], description: "Dorian #4")
| |- warning: static property 'dorianSharp4' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dorianSharp4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Dorian b2 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:237:23: warning: static property 'dorianFlat2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
235 |
236 | /// Dorian b2 scale
237 | public static let dorianFlat2 = ScaleType(intervals: [.P1, .m2, .m3, .P4, .P5, .M6, .m7], description: "Dorian b2")
| |- warning: static property 'dorianFlat2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dorianFlat2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 |
239 | /// Hindu scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:240:23: warning: static property 'hindu' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
238 |
239 | /// Hindu scale
240 | public static let hindu = ScaleType(intervals: [.P1, .M2, .M3, .P4, .P5, .m6, .m7], description: "Hindu")
| |- warning: static property 'hindu' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hindu' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | /// Hirajoshi scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:243:23: warning: static property 'hirajoshi' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
241 |
242 | /// Hirajoshi scale
243 | public static let hirajoshi = ScaleType(intervals: [.P1, .M2, .m3, .P5, .m6], description: "Hirajoshi")
| |- warning: static property 'hirajoshi' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hirajoshi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 | /// Hungarian major scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:246:23: warning: static property 'hungarianMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
244 |
245 | /// Hungarian major scale
246 | public static let hungarianMajor = ScaleType(intervals: [.P1, .m3, .M3, .d5, .P5, .M6, .m7], description: "Hungarian Major")
| |- warning: static property 'hungarianMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hungarianMajor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// Hungarian minor scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:249:23: warning: static property 'hungarianMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
247 |
248 | /// Hungarian minor scale
249 | public static let hungarianMinor = ScaleType(intervals: [.P1, .M2, .m3, .A4, .P5, .m6, .M7], description: "Hungarian Minor")
| |- warning: static property 'hungarianMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hungarianMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | /// Ichikosucho scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:252:23: warning: static property 'ichikosucho' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
250 |
251 | /// Ichikosucho scale
252 | public static let ichikosucho = ScaleType(intervals: [.P1, .M2, .M3, .P4, .d5, .P5, .M6, .M7], description: "Ichikosucho")
| |- warning: static property 'ichikosucho' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ichikosucho' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 |
254 | /// Kumoi scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:255:23: warning: static property 'kumoi' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
253 |
254 | /// Kumoi scale
255 | public static let kumoi = ScaleType(intervals: [.P1, .M2, .m3, .P5, .M6], description: "Kumoi")
| |- warning: static property 'kumoi' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kumoi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | /// Locrian 2 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:258:23: warning: static property 'locrian2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
256 |
257 | /// Locrian 2 scale
258 | public static let locrian2 = ScaleType(intervals: [.P1, .M2, .m3, .P4, .d5, .m6, .m7], description: "Locrian 2")
| |- warning: static property 'locrian2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'locrian2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Locrian 3 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:261:23: warning: static property 'locrian3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
259 |
260 | /// Locrian 3 scale
261 | public static let locrian3 = ScaleType(intervals: [.P1, .m2, .M3, .P4, .d5, .m6, .m7], description: "Locrian 3")
| |- warning: static property 'locrian3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'locrian3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 |
263 | /// Locrian 6 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:264:23: warning: static property 'locrian6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
262 |
263 | /// Locrian 6 scale
264 | public static let locrian6 = ScaleType(intervals: [.P1, .m2, .m3, .P4, .d5, .M6, .m7], description: "Locrian 6")
| |- warning: static property 'locrian6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'locrian6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 |
266 | /// Lydian #2 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:267:23: warning: static property 'lydianSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
265 |
266 | /// Lydian #2 scale
267 | public static let lydianSharp2 = ScaleType(intervals: [.P1, .m3, .M3, .d5, .P5, .M6, .M7], description: "Lydian #2")
| |- warning: static property 'lydianSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianSharp2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 |
269 | /// Lydian b7 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:270:23: warning: static property 'lydianFlat7' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
268 |
269 | /// Lydian b7 scale
270 | public static let lydianFlat7 = ScaleType(intervals: [.P1, .M2, .M3, .d5, .P5, .M6, .m7], description: "Lydian b7")
| |- warning: static property 'lydianFlat7' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianFlat7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
271 |
272 | /// Phrygian Major scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:273:23: warning: static property 'phrygianMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
271 |
272 | /// Phrygian Major scale
273 | public static let phrygianMajor = ScaleType(intervals: [.P1, .m2, .M3, .P4, .P5, .m6, .m7], description: "Phrygian Major")
| |- warning: static property 'phrygianMajor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'phrygianMajor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
274 |
275 | /// Mixolydian b6 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:276:23: warning: static property 'mixolydianFlat6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
274 |
275 | /// Mixolydian b6 scale
276 | public static let mixolydianFlat6 = ScaleType(intervals: [.P1, .M2, .M3, .P4, .P5, .m6, .m7], description: "Mixolydian b6")
| |- warning: static property 'mixolydianFlat6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mixolydianFlat6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
277 |
278 | /// Mohammedan scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:279:23: warning: static property 'mohammedan' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
277 |
278 | /// Mohammedan scale
279 | public static let mohammedan = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .m6, .M7], description: "Mohammedan")
| |- warning: static property 'mohammedan' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mohammedan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | /// Mongolian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:282:23: warning: static property 'mongolian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
280 |
281 | /// Mongolian scale
282 | public static let mongolian = ScaleType(intervals: [.P1, .M2, .M3, .P5, .M6], description: "Mongolian")
| |- warning: static property 'mongolian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mongolian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
283 |
284 | /// Natural minor scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:285:23: warning: static property 'naturalMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
283 |
284 | /// Natural minor scale
285 | public static let naturalMinor = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .m6, .m7], description: "Natural Minor")
| |- warning: static property 'naturalMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'naturalMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
286 |
287 | /// Neopolitan scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:288:23: warning: static property 'neopolitan' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
286 |
287 | /// Neopolitan scale
288 | public static let neopolitan = ScaleType(intervals: [.P1, .m2, .m3, .P4, .P5, .m6, .M7], description: "Neopolitan")
| |- warning: static property 'neopolitan' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'neopolitan' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
289 |
290 | /// Persian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:291:23: warning: static property 'persian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
289 |
290 | /// Persian scale
291 | public static let persian = ScaleType(intervals: [.P1, .m2, .M3, .P4, .d5, .m6, .M7], description: "Persian")
| |- warning: static property 'persian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'persian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
292 |
293 | /// Purvi theta scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:294:23: warning: static property 'purviTheta' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
292 |
293 | /// Purvi theta scale
294 | public static let purviTheta = ScaleType(intervals: [.P1, .m2, .M3, .d5, .P5, .m6, .M7], description: "Purvi Theta")
| |- warning: static property 'purviTheta' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'purviTheta' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
295 |
296 | /// Todi theta scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:297:23: warning: static property 'todiTheta' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
295 |
296 | /// Todi theta scale
297 | public static let todiTheta = ScaleType(intervals: [.P1, .m2, .m3, .d5, .P5, .m6, .M7], description: "Todi Theta")
| |- warning: static property 'todiTheta' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'todiTheta' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
298 |
299 | /// Major bebop scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:300:23: warning: static property 'majorBebop' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
298 |
299 | /// Major bebop scale
300 | public static let majorBebop = ScaleType(intervals: [.P1, .M2, .M3, .P4, .P5, .m6, .M6, .M7], description: "Major Bebop")
| |- warning: static property 'majorBebop' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'majorBebop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
301 |
302 | /// Minor bebop scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:303:23: warning: static property 'minorBebop' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
301 |
302 | /// Minor bebop scale
303 | public static let minorBebop = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .M6, .m7, .M7], description: "Minor Bebop")
| |- warning: static property 'minorBebop' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minorBebop' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | /// Bebop dominant scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:306:23: warning: static property 'bebopDominant' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
304 |
305 | /// Bebop dominant scale
306 | public static let bebopDominant = ScaleType(intervals: [.P1, .M2, .M3, .P4, .P5, .M6, .m7, .M7], description: "Bebop Dominant")
| |- warning: static property 'bebopDominant' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bebopDominant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
307 |
308 | /// Tritone scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:309:23: warning: static property 'tritone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
307 |
308 | /// Tritone scale
309 | public static let tritone = ScaleType(intervals: [.P1, .m2, .M3, .d5, .P5, .m7], description: "Tritone")
| |- warning: static property 'tritone' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'tritone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
310 |
311 | /// Insen scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:312:23: warning: static property 'insen' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
310 |
311 | /// Insen scale
312 | public static let insen = ScaleType(intervals: [.P1, .m2, .P4, .P5, .m7], description: "Insen")
| |- warning: static property 'insen' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'insen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
313 |
314 | /// Istrian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:315:23: warning: static property 'istrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
313 |
314 | /// Istrian scale
315 | public static let istrian = ScaleType(intervals: [.P1, .m2, .m3, .d4, .d5, .P5], description: "Istrian")
| |- warning: static property 'istrian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'istrian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
316 |
317 | /// Gypsy scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:318:23: warning: static property 'gypsy' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
316 |
317 | /// Gypsy scale
318 | public static let gypsy = ScaleType(intervals: [.P1, .M2, .m3, .A4, .P5, .m6, .m7], description: "Gypsy")
| |- warning: static property 'gypsy' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gypsy' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
319 |
320 | /// Iwato scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:321:23: warning: static property 'iwato' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
319 |
320 | /// Iwato scale
321 | public static let iwato = ScaleType(intervals: [.P1, .m2, .P4, .d5, .m7], description: "Iwato")
| |- warning: static property 'iwato' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'iwato' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
322 |
323 | /// Pfluke scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:324:23: warning: static property 'pfluke' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
322 |
323 | /// Pfluke scale
324 | public static let pfluke = ScaleType(intervals: [.P1, .M2, .m3, .A4, .P5, .M6, .M7], description: "Pfluke")
| |- warning: static property 'pfluke' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'pfluke' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
325 |
326 | /// Ukrainian dorian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:327:23: warning: static property 'ukrainianDorian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
325 |
326 | /// Ukrainian dorian scale
327 | public static let ukrainianDorian = ScaleType(intervals: [.P1, .M2, .m3, .A4, .P5, .M6, .m7], description: "Ukrainian Dorian")
| |- warning: static property 'ukrainianDorian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ukrainianDorian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
328 |
329 | /// Yo scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:330:23: warning: static property 'yo' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
328 |
329 | /// Yo scale
330 | public static let yo = ScaleType(intervals: [.P1, .m3, .P4, .P5, .m7], description: "Yo")
| |- warning: static property 'yo' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
331 |
332 | /// Algerian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:333:23: warning: static property 'algerian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
331 |
332 | /// Algerian scale
333 | public static let algerian = ScaleType(intervals: [.P1, .M2, .m3, .A4, .P5, .m6, .M7], description: "Algerian")
| |- warning: static property 'algerian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'algerian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
334 |
335 | /// Flamenco scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:336:23: warning: static property 'flamenco' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
334 |
335 | /// Flamenco scale
336 | public static let flamenco = ScaleType(intervals: [.P1, .m2, .M3, .P4, .P5, .m6, .M7], description: "Flamenco")
| |- warning: static property 'flamenco' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'flamenco' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
337 |
338 | /// Hawaiian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:339:23: warning: static property 'hawaiian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
337 |
338 | /// Hawaiian scale
339 | public static let hawaiian = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .M6, .M7], description: "Hawaiian")
| |- warning: static property 'hawaiian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hawaiian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
340 |
341 | /// Maqam scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:342:23: warning: static property 'maqam' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
340 |
341 | /// Maqam scale
342 | public static let maqam = ScaleType(intervals: [.P1, .m2, .M3, .P4, .P5, .m6, .M7], description: "Maqam")
| |- warning: static property 'maqam' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'maqam' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
343 |
344 | /// Oriental scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:345:23: warning: static property 'oriental' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
343 |
344 | /// Oriental scale
345 | public static let oriental = ScaleType(intervals: [.P1, .m2, .M3, .P4, .d5, .M6, .m7], description: "Oriental")
| |- warning: static property 'oriental' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'oriental' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
346 |
347 | /// Jazz melodic minor scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:348:23: warning: static property 'jazzMelodicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
346 |
347 | /// Jazz melodic minor scale
348 | public static let jazzMelodicMinor = ScaleType(intervals: [.P1, .M2, .m3, .P4, .P5, .M6, .M7], description: "Jazz Melodic Minor")
| |- warning: static property 'jazzMelodicMinor' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jazzMelodicMinor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
349 |
350 | /// Lydian augmented #6 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:351:23: warning: static property 'lydianAugmentedSharp6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
349 |
350 | /// Lydian augmented #6 scale
351 | public static let lydianAugmentedSharp6 = ScaleType(intervals: [.P1, .M2, .M3, .d5, .m6, .m7, .M7], description: "Lydian Augmented #6")
| |- warning: static property 'lydianAugmentedSharp6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianAugmentedSharp6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
352 |
353 | /// Lydian augmented #2 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:354:23: warning: static property 'lydianAugmentedSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
352 |
353 | /// Lydian augmented #2 scale
354 | public static let lydianAugmentedSharp2 = ScaleType(intervals: [.P1, .m3, .M3, .d5, .m6, .M6, .M7], description: "Lydian Augmented #2")
| |- warning: static property 'lydianAugmentedSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianAugmentedSharp2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
355 |
356 | /// Dorian b5 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:357:23: warning: static property 'dorianFlat5' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
355 |
356 | /// Dorian b5 scale
357 | public static let dorianFlat5 = ScaleType(intervals: [.P1, .M2, .m3, .P4, .d5, .M6, .m7], description: "Dorian b5")
| |- warning: static property 'dorianFlat5' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dorianFlat5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
358 |
359 | /// Phrygian b4 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:360:23: warning: static property 'phrygianFlat4' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
358 |
359 | /// Phrygian b4 scale
360 | public static let phrygianFlat4 = ScaleType(intervals: [.P1, .m2, .m3, .M3, .P5, .m6, .m7], description: "Phrygian b4")
| |- warning: static property 'phrygianFlat4' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'phrygianFlat4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
361 |
362 | /// Lydian b3 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:363:23: warning: static property 'lydianFlat3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
361 |
362 | /// Lydian b3 scale
363 | public static let lydianFlat3 = ScaleType(intervals: [.P1, .M2, .m3, .d5, .P5, .M6, .M7], description: "Lydian b3")
| |- warning: static property 'lydianFlat3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianFlat3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
364 |
365 | /// Lydian b6 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:366:23: warning: static property 'lydianFlat6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
364 |
365 | /// Lydian b6 scale
366 | public static let lydianFlat6 = ScaleType(intervals: [.P1, .M2, .M3, .d5, .P5, .m6, .m7], description: "Lydian b6")
| |- warning: static property 'lydianFlat6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianFlat6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
367 |
368 | /// Lydian #6 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:369:23: warning: static property 'lydianSharp6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
367 |
368 | /// Lydian #6 scale
369 | public static let lydianSharp6 = ScaleType(intervals: [.P1, .M2, .M3, .d5, .P5, .m7, .M7], description: "Lydian #6")
| |- warning: static property 'lydianSharp6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianSharp6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 |
371 | /// Lydian #2 #6 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:372:23: warning: static property 'lydianSharp2Sharp6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
370 |
371 | /// Lydian #2 #6 scale
372 | public static let lydianSharp2Sharp6 = ScaleType(intervals: [.P1, .m3, .M3, .d5, .P5, .m7, .M7], description: "Lydian #2 #6")
| |- warning: static property 'lydianSharp2Sharp6' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'lydianSharp2Sharp6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
373 |
374 | /// Mixolydian b2 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:375:23: warning: static property 'mixolydianFlat2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
373 |
374 | /// Mixolydian b2 scale
375 | public static let mixolydianFlat2 = ScaleType(intervals: [.P1, .m2, .M3, .P4, .P5, .M6, .m7], description: "Mixolydian b2")
| |- warning: static property 'mixolydianFlat2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mixolydianFlat2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
376 |
377 | /// Mixolydian augmented scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:378:23: warning: static property 'mixolydianAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
376 |
377 | /// Mixolydian augmented scale
378 | public static let mixolydianAugmented = ScaleType(intervals: [.P1, .M2, .M3, .P4, .m6, .M6, .m7], description: "Mixolydian Augmented")
| |- warning: static property 'mixolydianAugmented' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mixolydianAugmented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
379 |
380 | /// Locrian diminished scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:381:23: warning: static property 'locrianDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
379 |
380 | /// Locrian diminished scale
381 | public static let locrianDiminished = ScaleType(intervals: [.P1, .m2, .m3, .P4, .d5, .m6, .M6], description: "Locrian Diminished")
| |- warning: static property 'locrianDiminished' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'locrianDiminished' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
382 |
383 | /// Locrian diminished bb3 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:384:23: warning: static property 'locrianDiminishedFlatFlat3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
382 |
383 | /// Locrian diminished bb3 scale
384 | public static let locrianDiminishedFlatFlat3 = ScaleType(intervals: [.P1, .m2, .P4, .d5, .m6, .M6], description: "Locrian Diminished bb3")
| |- warning: static property 'locrianDiminishedFlatFlat3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'locrianDiminishedFlatFlat3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
385 |
386 | /// Ionian #2 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:387:23: warning: static property 'ionianSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
385 |
386 | /// Ionian #2 scale
387 | public static let ionianSharp2 = ScaleType(intervals: [.P1, .m3, .M3, .P4, .P5, .M6, .M7], description: "Ionian #2")
| |- warning: static property 'ionianSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ionianSharp2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
388 |
389 | /// Super locrian Diminished bb3 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:390:23: warning: static property 'superLocrianDiminshedFlatFlat3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
388 |
389 | /// Super locrian Diminished bb3 scale
390 | public static let superLocrianDiminshedFlatFlat3 = ScaleType(intervals: [.P1, .m2, .M2, .M3, .d5, .m6, .M6], description: "Super Locrian Diminished bb3")
| |- warning: static property 'superLocrianDiminshedFlatFlat3' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'superLocrianDiminshedFlatFlat3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
391 |
392 | /// Ultraphrygian scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:393:23: warning: static property 'ultraphrygian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
391 |
392 | /// Ultraphrygian scale
393 | public static let ultraphrygian = ScaleType(intervals: [.P1, .m2, .m3, .M3, .P5, .m6, .M6], description: "Ultraphrygian")
| |- warning: static property 'ultraphrygian' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ultraphrygian' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 |
395 | /// Ionian Augmented #2 scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:396:23: warning: static property 'ionianAugmentedSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
394 |
395 | /// Ionian Augmented #2 scale
396 | public static let ionianAugmentedSharp2 = ScaleType(intervals: [.P1, .m3, .M3, .P4, .m6, .M6, .M7], description: "Ionian Augmented #2")
| |- warning: static property 'ionianAugmentedSharp2' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ionianAugmentedSharp2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
397 |
398 | /// Major blues hexatonic scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:399:23: warning: static property 'majorBluesHexatonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
397 |
398 | /// Major blues hexatonic scale
399 | public static let majorBluesHexatonic = ScaleType(intervals: [.P1, .M2, .m3, .M3, .P5, .M6], description: "Major Blues Hexatonic")
| |- warning: static property 'majorBluesHexatonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'majorBluesHexatonic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
400 |
401 | /// Minor blues hexatonic scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:402:23: warning: static property 'minorBluesHexatonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
400 |
401 | /// Minor blues hexatonic scale
402 | public static let minorBluesHexatonic = ScaleType(intervals: [.P1, .m3, .P4, .d5, .P5, .m7], description: "Minor Blues Hexatonic")
| |- warning: static property 'minorBluesHexatonic' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minorBluesHexatonic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
403 |
404 | /// Man gong scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:405:23: warning: static property 'manGong' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
403 |
404 | /// Man gong scale
405 | public static let manGong = ScaleType(intervals: [.P1, .m3, .P4, .m6, .m7], description: "Man Gong")
| |- warning: static property 'manGong' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'manGong' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
406 |
407 | /// Ritsusen scale
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/ScaleType.swift:408:23: warning: static property 'ritsusen' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Represents scale by the intervals between note sequences.
13 | public struct ScaleType: Codable, Hashable, CustomStringConvertible {
| `- note: consider making struct 'ScaleType' conform to the 'Sendable' protocol
14 | /// Intervals of the scale.
15 | public let intervals: [Interval]
:
406 |
407 | /// Ritsusen scale
408 | public static let ritsusen = ScaleType(intervals: [.P1, .M2, .P4, .P5, .M6], description: "Ritsusen")
| |- warning: static property 'ritsusen' is not concurrency-safe because non-'Sendable' type 'ScaleType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ritsusen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
409 |
410 | /// An array of all `ScaleType` values.
[12/14] Compiling MusicTheory Accidental.swift
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:112:23: warning: static property 'flat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
110 |
111 | /// Reduces the `Key` or `Pitch` value one halfstep below.
112 | public static let flat: Accidental = .flats(amount: 1)
| |- warning: static property 'flat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'flat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | /// Increases the `Key` or `Pitch` value one halfstep above.
114 | public static let sharp: Accidental = .sharps(amount: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:114:23: warning: static property 'sharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
112 | public static let flat: Accidental = .flats(amount: 1)
113 | /// Increases the `Key` or `Pitch` value one halfstep above.
114 | public static let sharp: Accidental = .sharps(amount: 1)
| |- warning: static property 'sharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | /// Reduces the `Key` or `Pitch` value amount two halfsteps below.
116 | public static let doubleFlat: Accidental = .flats(amount: 2)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:116:23: warning: static property 'doubleFlat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
114 | public static let sharp: Accidental = .sharps(amount: 1)
115 | /// Reduces the `Key` or `Pitch` value amount two halfsteps below.
116 | public static let doubleFlat: Accidental = .flats(amount: 2)
| |- warning: static property 'doubleFlat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doubleFlat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | /// Increases the `Key` or `Pitch` value two halfsteps above.
118 | public static let doubleSharp: Accidental = .sharps(amount: 2)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:118:23: warning: static property 'doubleSharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
116 | public static let doubleFlat: Accidental = .flats(amount: 2)
117 | /// Increases the `Key` or `Pitch` value two halfsteps above.
118 | public static let doubleSharp: Accidental = .sharps(amount: 2)
| |- warning: static property 'doubleSharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doubleSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// A flag for `description` function that determines if it should use double sharp and double flat symbols.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:122:23: warning: static property 'shouldUseDoubleFlatAndDoubleSharpNotation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// A flag for `description` function that determines if it should use double sharp and double flat symbols.
121 | /// It's useful to set it false where the fonts do not support that symbols. Defaults true.
122 | public static var shouldUseDoubleFlatAndDoubleSharpNotation = true
| |- warning: static property 'shouldUseDoubleFlatAndDoubleSharpNotation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shouldUseDoubleFlatAndDoubleSharpNotation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shouldUseDoubleFlatAndDoubleSharpNotation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | // MARK: RawRepresentable
[13/14] Compiling MusicTheory Chord.swift
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:112:23: warning: static property 'flat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
110 |
111 | /// Reduces the `Key` or `Pitch` value one halfstep below.
112 | public static let flat: Accidental = .flats(amount: 1)
| |- warning: static property 'flat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'flat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 | /// Increases the `Key` or `Pitch` value one halfstep above.
114 | public static let sharp: Accidental = .sharps(amount: 1)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:114:23: warning: static property 'sharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
112 | public static let flat: Accidental = .flats(amount: 1)
113 | /// Increases the `Key` or `Pitch` value one halfstep above.
114 | public static let sharp: Accidental = .sharps(amount: 1)
| |- warning: static property 'sharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | /// Reduces the `Key` or `Pitch` value amount two halfsteps below.
116 | public static let doubleFlat: Accidental = .flats(amount: 2)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:116:23: warning: static property 'doubleFlat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
114 | public static let sharp: Accidental = .sharps(amount: 1)
115 | /// Reduces the `Key` or `Pitch` value amount two halfsteps below.
116 | public static let doubleFlat: Accidental = .flats(amount: 2)
| |- warning: static property 'doubleFlat' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doubleFlat' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | /// Increases the `Key` or `Pitch` value two halfsteps above.
118 | public static let doubleSharp: Accidental = .sharps(amount: 2)
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:118:23: warning: static property 'doubleSharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | /// The enum used for calculating values of the `Key`s and `Pitche`s.
103 | public enum Accidental: Codable, Equatable, Hashable, RawRepresentable, ExpressibleByIntegerLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making enum 'Accidental' conform to the 'Sendable' protocol
104 | /// No accidental.
105 | case natural
:
116 | public static let doubleFlat: Accidental = .flats(amount: 2)
117 | /// Increases the `Key` or `Pitch` value two halfsteps above.
118 | public static let doubleSharp: Accidental = .sharps(amount: 2)
| |- warning: static property 'doubleSharp' is not concurrency-safe because non-'Sendable' type 'Accidental' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'doubleSharp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 |
120 | /// A flag for `description` function that determines if it should use double sharp and double flat symbols.
/Users/admin/builder/spi-builder-workspace/Sources/MusicTheory/Accidental.swift:122:23: warning: static property 'shouldUseDoubleFlatAndDoubleSharpNotation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
120 | /// A flag for `description` function that determines if it should use double sharp and double flat symbols.
121 | /// It's useful to set it false where the fonts do not support that symbols. Defaults true.
122 | public static var shouldUseDoubleFlatAndDoubleSharpNotation = true
| |- warning: static property 'shouldUseDoubleFlatAndDoubleSharpNotation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shouldUseDoubleFlatAndDoubleSharpNotation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'shouldUseDoubleFlatAndDoubleSharpNotation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 |
124 | // MARK: RawRepresentable
[14/14] Compiling MusicTheory Pitch.swift
[15/15] Compiling MusicTheory TimeSignature.swift
Build complete! (6.48s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "MusicTheory",
"name" : "MusicTheory",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "MusicTheory",
"targets" : [
"MusicTheory"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MusicTheoryTests",
"module_type" : "SwiftTarget",
"name" : "MusicTheoryTests",
"path" : "Tests/MusicTheoryTests",
"sources" : [
"MusicTheoryTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MusicTheory"
],
"type" : "test"
},
{
"c99name" : "MusicTheory",
"module_type" : "SwiftTarget",
"name" : "MusicTheory",
"path" : "Sources/MusicTheory",
"product_memberships" : [
"MusicTheory"
],
"sources" : [
"Accidental.swift",
"Chord.swift",
"ChordProgression.swift",
"HarmonicFunctions.swift",
"Interval.swift",
"Key.swift",
"NoteValue.swift",
"Pitch.swift",
"Scale.swift",
"ScaleType.swift",
"Tempo.swift",
"TimeSignature.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.