Build Information
Successful build of music-notation, reference v0.2.12 (ad365e
), with Swift 6.0 for Linux on 3 Nov 2024 14:59:35 UTC.
Swift 6 data race errors: 23
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[4/35] Compiling MusicNotation Stylesheet.swift
[5/35] Compiling MusicNotation Tie.swift
[6/35] Compiling MusicNotation TimeSignature.swift
[7/35] Compiling MusicNotation Tuplet.swift
[8/35] Compiling MusicNotation NoteLetter.swift
[9/35] Compiling MusicNotation NotesHolder.swift
[10/35] Compiling MusicNotation Octave.swift
[11/35] Compiling MusicNotation PageFooter.swift
[12/35] Compiling MusicNotation PageHeader.swift
[13/35] Compiling MusicNotation Part.swift
[14/35] Compiling MusicNotation RepeatedMeasure.swift
[15/35] Compiling MusicNotation Score.swift
[16/35] Compiling MusicNotation Dynamics.swift
[17/35] Compiling MusicNotation Enharmonic.swift
[18/35] Compiling MusicNotation ImmutableMeasure.swift
[19/35] Compiling MusicNotation Instrument.swift
[20/35] Compiling MusicNotation SpelledPitch.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
[21/35] Compiling MusicNotation Staff.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
[22/35] Compiling MusicNotation StaffLocation.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
[23/35] Compiling MusicNotation Striking.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
[24/35] Compiling MusicNotation Accent.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:37:20: warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:38:20: warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tenor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
40 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:39:20: warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Un-pitched (drums, percussion, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:42:20: warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
40 |
41 | /// Un-pitched (drums, percussion, etc.)
42 | public static let neutral = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'neutral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// For tablature (guitar, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:45:20: warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
43 |
44 | /// For tablature (guitar, etc.)
45 | public static let tab = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | // Less common
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:48:20: warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
46 |
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frenchViolin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:49:20: warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'soprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:50:20: warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mezzoSoprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
52 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:51:20: warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
| |- warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baritone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // TODO: Is this one correct?
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:54:20: warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
52 |
53 | // TODO: Is this one correct?
54 | public static let suboctaveTreble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave3), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suboctaveTreble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | ///
[25/35] Compiling MusicNotation Accidental.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:37:20: warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:38:20: warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tenor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
40 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:39:20: warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Un-pitched (drums, percussion, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:42:20: warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
40 |
41 | /// Un-pitched (drums, percussion, etc.)
42 | public static let neutral = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'neutral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// For tablature (guitar, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:45:20: warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
43 |
44 | /// For tablature (guitar, etc.)
45 | public static let tab = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | // Less common
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:48:20: warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
46 |
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frenchViolin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:49:20: warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'soprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:50:20: warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mezzoSoprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
52 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:51:20: warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
| |- warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baritone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // TODO: Is this one correct?
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:54:20: warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
52 |
53 | // TODO: Is this one correct?
54 | public static let suboctaveTreble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave3), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suboctaveTreble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | ///
[26/35] Compiling MusicNotation Clef.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:37:20: warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:38:20: warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tenor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
40 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:39:20: warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Un-pitched (drums, percussion, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:42:20: warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
40 |
41 | /// Un-pitched (drums, percussion, etc.)
42 | public static let neutral = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'neutral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// For tablature (guitar, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:45:20: warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
43 |
44 | /// For tablature (guitar, etc.)
45 | public static let tab = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | // Less common
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:48:20: warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
46 |
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frenchViolin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:49:20: warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'soprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:50:20: warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mezzoSoprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
52 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:51:20: warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
| |- warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baritone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // TODO: Is this one correct?
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:54:20: warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
52 |
53 | // TODO: Is this one correct?
54 | public static let suboctaveTreble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave3), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suboctaveTreble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | ///
[27/35] Compiling MusicNotation Collection+Helpers.swift
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:36:20: warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
34 | }
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'treble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'treble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:37:20: warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
35 |
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'bass' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bass' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:38:20: warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
36 | public static let treble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 1))
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
| |- warning: static property 'tenor' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tenor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
40 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:39:20: warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
37 | public static let bass = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 3))
38 | public static let tenor = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 3))
39 | public static let alto = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'alto' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'alto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Un-pitched (drums, percussion, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:42:20: warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
40 |
41 | /// Un-pitched (drums, percussion, etc.)
42 | public static let neutral = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'neutral' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'neutral' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | /// For tablature (guitar, etc.)
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:45:20: warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
43 |
44 | /// For tablature (guitar, etc.)
45 | public static let tab = Clef(pitch: nil, location: StaffLocation(type: .line, number: 2))
| |- warning: static property 'tab' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'tab' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 |
47 | // Less common
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:48:20: warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
46 |
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'frenchViolin' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'frenchViolin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:49:20: warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
47 | // Less common
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
| |- warning: static property 'soprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'soprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:50:20: warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
48 | public static let frenchViolin = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave4), location: StaffLocation(type: .line, number: 0))
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'mezzoSoprano' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mezzoSoprano' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
52 |
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:51:20: warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
49 | public static let soprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 0))
50 | public static let mezzoSoprano = Clef(pitch: SpelledPitch(noteLetter: .c, octave: .octave4), location: StaffLocation(type: .line, number: 1))
51 | public static let baritone = Clef(pitch: SpelledPitch(noteLetter: .f, octave: .octave3), location: StaffLocation(type: .line, number: 4))
| |- warning: static property 'baritone' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'baritone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | // TODO: Is this one correct?
/host/spi-builder-workspace/Sources/music-notation/Clef.swift:54:20: warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
13 | #endif
14 |
15 | public struct Clef {
| `- note: consider making struct 'Clef' conform to the 'Sendable' protocol
16 | ///
17 | /// The pitch that defines the clef. This pitch is specified to be at a
:
52 |
53 | // TODO: Is this one correct?
54 | public static let suboctaveTreble = Clef(pitch: SpelledPitch(noteLetter: .g, octave: .octave3), location: StaffLocation(type: .line, number: 1))
| |- warning: static property 'suboctaveTreble' is not concurrency-safe because non-'Sendable' type 'Clef' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'suboctaveTreble' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | ///
[28/35] Compiling MusicNotation MeasureRepeat.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[29/35] Compiling MusicNotation Note.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[30/35] Compiling MusicNotation NoteCollection.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[31/35] Compiling MusicNotation NoteDuration.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[32/35] Compiling MusicNotation Interval.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[33/35] Compiling MusicNotation Key.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[34/35] Compiling MusicNotation Measure.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
[35/35] Compiling MusicNotation MeasureDurationValidator.swift
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:153:20: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
151 | }
152 |
153 | public static let large = NoteDuration(value: .large)
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'large' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:154:20: warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
152 |
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
| |- warning: static property 'long' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'long' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:155:20: warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
153 | public static let large = NoteDuration(value: .large)
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
| |- warning: static property 'doubleWhole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'doubleWhole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:156:20: warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
154 | public static let long = NoteDuration(value: .long)
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
| |- warning: static property 'whole' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'whole' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:157:20: warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
155 | public static let doubleWhole = NoteDuration(value: .doubleWhole)
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
| |- warning: static property 'half' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'half' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:158:20: warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
156 | public static let whole = NoteDuration(value: .whole)
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
| |- warning: static property 'quarter' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'quarter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:159:20: warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
157 | public static let half = NoteDuration(value: .half)
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
| |- warning: static property 'eighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'eighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:160:20: warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
158 | public static let quarter = NoteDuration(value: .quarter)
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
| |- warning: static property 'sixteenth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixteenth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:161:20: warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
159 | public static let eighth = NoteDuration(value: .eighth)
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
| |- warning: static property 'thirtySecond' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'thirtySecond' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:162:20: warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
160 | public static let sixteenth = NoteDuration(value: .sixteenth)
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
| |- warning: static property 'sixtyFourth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sixtyFourth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:163:20: warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
161 | public static let thirtySecond = NoteDuration(value: .thirtySecond)
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
| |- warning: static property 'oneTwentyEighth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneTwentyEighth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
165 |
/host/spi-builder-workspace/Sources/music-notation/NoteDuration.swift:164:20: warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | //
8 |
9 | public struct NoteDuration: Hashable {
| `- note: consider making struct 'NoteDuration' conform to the 'Sendable' protocol
10 | public enum Value: CustomDebugStringConvertible, Hashable {
11 | case large
:
162 | public static let sixtyFourth = NoteDuration(value: .sixtyFourth)
163 | public static let oneTwentyEighth = NoteDuration(value: .oneTwentyEighth)
164 | public static let twoFiftySixth = NoteDuration(value: .twoFiftySixth)
| |- warning: static property 'twoFiftySixth' is not concurrency-safe because non-'Sendable' type 'NoteDuration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoFiftySixth' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |
166 | ///
Build complete! (8.20s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "music-notation",
"name" : "music-notation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "MusicNotation",
"targets" : [
"MusicNotation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MusicNotationTests",
"module_type" : "SwiftTarget",
"name" : "MusicNotationTests",
"path" : "Tests/MusicNotationTests",
"sources" : [
"ClefTests.swift",
"Collection+HelpersTests.swift",
"IntervalTests.swift",
"KeyTests.swift",
"MeasureDurationValidatorTests.swift",
"MeasureRepeatTests.swift",
"MeasureTests.swift",
"NoteDurationTests.swift",
"NoteTests.swift",
"PitchTests.swift",
"ScoreTests.swift",
"StaffTests.swift",
"TupletTests.swift",
"XCTestCase+Helpers.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MusicNotation"
],
"type" : "test"
},
{
"c99name" : "MusicNotation",
"module_type" : "SwiftTarget",
"name" : "MusicNotation",
"path" : "Sources",
"product_memberships" : [
"MusicNotation"
],
"sources" : [
"music-notation/Accent.swift",
"music-notation/Accidental.swift",
"music-notation/Clef.swift",
"music-notation/Collection+Helpers.swift",
"music-notation/Dynamics.swift",
"music-notation/Enharmonic.swift",
"music-notation/ImmutableMeasure.swift",
"music-notation/Instrument.swift",
"music-notation/Interval.swift",
"music-notation/Key.swift",
"music-notation/Measure.swift",
"music-notation/MeasureDurationValidator.swift",
"music-notation/MeasureRepeat.swift",
"music-notation/Note.swift",
"music-notation/NoteCollection.swift",
"music-notation/NoteDuration.swift",
"music-notation/NoteLetter.swift",
"music-notation/NotesHolder.swift",
"music-notation/Octave.swift",
"music-notation/PageFooter.swift",
"music-notation/PageHeader.swift",
"music-notation/Part.swift",
"music-notation/RepeatedMeasure.swift",
"music-notation/Score.swift",
"music-notation/SpelledPitch.swift",
"music-notation/Staff.swift",
"music-notation/StaffLocation.swift",
"music-notation/Striking.swift",
"music-notation/Stylesheet.swift",
"music-notation/Tie.swift",
"music-notation/TimeSignature.swift",
"music-notation/Tuplet.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.