Build Information
Failed to build Notus, reference master (26f700), with Swift 6.1 for Android on 27 May 2025 15:13:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
| |- warning: let 'bassSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassSolo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | B.stack(.wn) ++ B.stack(.wn) ++ Cs.stack(.hn) ++ G.stack(.hn) ++ Fs.stack(.wn) ++
12 | B.stack(.hn) ++ A.stack(.hn) ++ Gs.stack(.wn) ++ Cs.stack(.hn) ++ B.stack(.hn) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:4:13: warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
| |- warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme1Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:5:13: warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
| |- warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme2Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:7:5: warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
| |- warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'chordsTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // bass
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:10:13: warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
| |- warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:11:13: warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
| |- warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:12:13: warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
| |- warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:14:5: warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
| |- warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
[35/37] Compiling Notus Solo.swift
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:4:5: warning: let 'B7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // chords
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
| |- warning: let 'B7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'B7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:5:5: warning: let 'D7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
3 | // chords
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
| |- warning: let 'D7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'D7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:6:5: warning: let 'A7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
| |- warning: let 'A7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'A7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
8 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:7:5: warning: let 'E7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
| |- warning: let 'E7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'E7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:9:5: warning: let 'Csm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
8 |
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
| |- warning: let 'Csm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Csm7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:11:5: warning: let 'F7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
| |- warning: let 'F7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'F7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:12:5: warning: let 'Fs7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
| |- warning: let 'Fs7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs7sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
14 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:13:5: warning: let 'Fs7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
| |- warning: let 'Fs7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:15:5: warning: let 'G7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
| |- warning: let 'G7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'G7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:16:5: warning: let 'Gs7_sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
| |- warning: let 'Gs7_sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gs7_sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:17:5: warning: let 'Gsm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
| |- warning: let 'Gsm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gsm7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
19 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:18:5: warning: let 'GsTriad' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
| |- warning: let 'GsTriad' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GsTriad' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:20:5: warning: let 'Asm7b5' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
| |- warning: let 'Asm7b5' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Asm7b5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let Ds7sharp9 = notes((.ds, 3), (.g, 4), (.cs, 4), (.fs, 4))
22 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:21:5: warning: let 'Ds7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
21 | let Ds7sharp9 = notes((.ds, 3), (.g, 4), (.cs, 4), (.fs, 4))
| |- warning: let 'Ds7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Ds7sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | // bass
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:25:5: warning: let 'B' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
23 | // bass
24 | let oBass: Octave = 2
25 | let B = notes((.b, 1))
| |- warning: let 'B' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:26:5: warning: let 'D' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
24 | let oBass: Octave = 2
25 | let B = notes((.b, 1))
26 | let D = notes((.d, oBass))
| |- warning: let 'D' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'D' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:27:5: warning: let 'Ds' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | let B = notes((.b, 1))
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
| |- warning: let 'Ds' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Ds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:28:5: warning: let 'A' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
| |- warning: let 'A' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'A' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:29:5: warning: let 'E' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
| |- warning: let 'E' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:30:5: warning: let 'Cs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
| |- warning: let 'Cs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Cs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:31:5: warning: let 'F' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
| |- warning: let 'F' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'F' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:32:5: warning: let 'Fs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
| |- warning: let 'Fs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:33:5: warning: let 'As' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
| |- warning: let 'As' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'As' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | let G = notes((.g, oBass))
35 | let Gs = notes((.gs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:34:5: warning: let 'G' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
| |- warning: let 'G' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'G' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | let Gs = notes((.gs, oBass))
36 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:35:5: warning: let 'Gs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
35 | let Gs = notes((.gs, oBass))
| |- warning: let 'Gs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:7:13: warning: let 'phrase2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
5 | //
6 |
7 | private let phrase2: Music = O(.en, (.ds, 6)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.gs, 5)) ++
| |- warning: let 'phrase2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | O(.sn, (.a, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.a, 5)) ++
9 | O(.en, (.b, 5)) ++ O(.en, (.a, 5)) ++ O(.qn, (.fs, 5))
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:11:13: warning: let 'phrase3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
9 | O(.en, (.b, 5)) ++ O(.en, (.a, 5)) ++ O(.qn, (.fs, 5))
10 |
11 | private let phrase3: Music = R(.en) ++ O(.sn, (.d, 6)) ++ O(.sn, (.gf, 5)) ++
| |- warning: let 'phrase3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | O(.tsn, (.b, 5)) ++ O(.tsn, (.a, 5)) ++ O(.tsn, (.fs, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.fs, 5)) ++
13 | O(.sn, (.b, 5)) ++ O(.sn, (.fs, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.fs, 5)) ++ //todo bend
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:21:13: warning: let 'phrase4' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
19 | O(.en, (.e, 5)) ++ O(.sn, (.d, 5)) ++ O(.sn, (.fs, 5))
20 |
21 | private let phrase4: Music = R(.tsn) ++ R(.tsn) ++
| |- warning: let 'phrase4' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | O(.tsn, (.a, 4)) ++ O(.tsn, (.b, 4)) ++ O(.tsn, (.d, 5)) ++ O(.tsn, (.f, 5)) ++
23 | O(.tsn, (.a, 5)) ++ R(.tsn) ++ O(.tsn, (.e, 5)) ++ O(.tsn, (.f, 5)) ++ O(.tsn, (.a, 5)) ++ O(.tsn, (.b, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:26:13: warning: let 'phrase5' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
24 | O(.ten, (.e, 6)) ++ O(.ten, (.d, 6)) ++ O(.ten, (.ds, 6))
25 |
26 | private let phrase5: Music = R(.qn) ++ O(.en, (.fs, 5)) ++ O(.en, (.fs, 5)) ++
| |- warning: let 'phrase5' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | O(.sn, (.fs, 5)) ++ O(.sn, (.gs, 5)) ++ R(.en) ++ R(.en) ++ R(.sn) ++ O(.sn, (.b, 5)) ++
28 | R(.sn) ++ O(.sn, (.b, 5)) ++ R(.en) ++ O(.en, (.b, 5)) ++ O(.sn, (.bf, 5)) ++ O(.sn, (.a, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:31:13: warning: let 'phrase6' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
29 | R(.qn) ++ R(.qn)
30 |
31 | private let phrase6: Music = R(.sn) ++ O(.sn, (.gs, 5)) ++ O(.sn, (.ds, 6)) ++ R(.sn) ++
| |- warning: let 'phrase6' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | O(.sn, (.d, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.gs, 5)) ++
33 | O(.sn, (.aas, 5)) ++ O(.sn, (.ds, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.a, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:41:13: warning: let 'phrase7' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
39 | O(.sn, (.e, 5)) ++ O(.sn, (.g, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.g, 5))
40 |
41 | private let phrase7 = O(.sn, (.fs, 5)) ++ O(.sn, (.ds, 5)) ++ O(.en, (.b, 4)) ++
| |- warning: let 'phrase7' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | O(.sn, (.a, 4)) ++ O(.sn, (.b, 4)) ++ O(.sn, (.cs, 5)) ++ O(.sn, (.a, 4)) ++
43 | O(.en, (.b, 4)) ++ O(.sn, (.a, 4)) ++ O(.sn, (.fs, 4)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:52:13: warning: let 'phrase8' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
50 | O(.ten, (.e, 5)) ++ O(.ten, (.gs, 5)) ++ O(.ten, (.c, 6))
51 |
52 | private let phrase8 = R(.qn) ++ R(.sn) ++ O(.sn, (.ds, 6)) ++ O(.sn, (.c, 6)) ++ O(.sn, (.ds, 6)) ++
| |- warning: let 'phrase8' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | O(.sn, (.c, 6)) ++ O(.sn, (.gs, 5)) ++ R(.sn) ++ O(.sn, (.c, 6)) ++
54 | O(.sn, (.gs, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.ds, 5)) ++ O(.sn, (.cs, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:57:13: warning: let 'phrase9' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
55 | O(.en, (.ds, 5)) ++ O(.sn, (.g, 5)) ++ O(.sn, (.aas, 5))
56 |
57 | private let phrase9 = O(.sn, (.gs, 5)) ++ O(.sn, (.aas, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++
| |- warning: let 'phrase9' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | O(.en, (.ds, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.g, 6)) ++
59 | R(.en) ++ R(.sn) ++ O(.tn, (.g, 6)) ++ O(.tn, (.f, 6)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:64:13: warning: let 'phrase10' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
62 | O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++ O(.en, (.ds, 6))
63 |
64 | private let phrase10 = O(.sn, (.cs, 6)) ++ O(.tn, (.b, 5)) ++ O(.tn, (.bf, 5)) ++ O(.sn, (.a, 5)) ++ O(.sn, (.af, 5)) ++
| |- warning: let 'phrase10' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | O(.sn, (.g, 5)) ++ O(.sn, (.gf, 5)) ++ O(.sn, (.f, 5)) ++ O(.sn, (.ef, 5)) ++
66 | O(.qn, (.e, 5)) ++ O(.qn, (.g, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:71:5: warning: let 'solo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
69 | O(.en, (.g, 5)) ++ O(.en, (.g, 5)) ++ O(.en, (.g, 5)) ++ O(.sn, (.fs, 5)) ++ O(.sn, (.e, 5))
70 |
71 | let solo = phrase2 ++ phrase3 ++ phrase4 ++ phrase5 ++ phrase6 ++ phrase7 ++ phrase8 ++ phrase9 ++ phrase10
| |- warning: let 'solo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'solo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/SoloChordsAndBass.swift:4:5: warning: let 'chordsSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // solo chords
4 | let chordsSolo = B7.stack(.wn) ++ B7.stack(.wn) ++ D7.stack(.wn) ++ D7.stack(.wn) ++
| |- warning: let 'chordsSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'chordsSolo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | B7.stack(.wn) ++ B7.stack(.wn) ++ Csm7.stack(.hn) ++ G7.stack(.hn) ++ Fs7sharp9.stack(.wn) ++
6 | B7.stack(.hn) ++ A7.stack(.hn) ++ Gs7_sharp9.stack(.wn) ++ Csm7.stack(.hn) ++ B7.stack(.hn) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/SoloChordsAndBass.swift:10:5: warning: let 'bassSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
8 | Gsm7.stack(.wn) ++ F7.stack(.wn) ++ E7.stack(.wn) ++ D7.stack(.wn) ++ B7.stack(.wn)
9 |
10 | let bassSolo = B.stack(.wn) ++ B.stack(.wn) ++ D.stack(.wn) ++ D.stack(.wn) ++
| |- warning: let 'bassSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassSolo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | B.stack(.wn) ++ B.stack(.wn) ++ Cs.stack(.hn) ++ G.stack(.hn) ++ Fs.stack(.wn) ++
12 | B.stack(.hn) ++ A.stack(.hn) ++ Gs.stack(.wn) ++ Cs.stack(.hn) ++ B.stack(.hn) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:4:13: warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
| |- warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme1Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:5:13: warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
| |- warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme2Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:7:5: warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
| |- warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'chordsTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // bass
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:10:13: warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
| |- warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:11:13: warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
| |- warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:12:13: warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
| |- warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:14:5: warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
| |- warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
[36/37] Compiling Notus SoloChordsAndBass.swift
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:4:5: warning: let 'B7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // chords
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
| |- warning: let 'B7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'B7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:5:5: warning: let 'D7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
3 | // chords
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
| |- warning: let 'D7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'D7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:6:5: warning: let 'A7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
| |- warning: let 'A7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'A7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
8 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:7:5: warning: let 'E7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
| |- warning: let 'E7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'E7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:9:5: warning: let 'Csm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
8 |
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
| |- warning: let 'Csm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Csm7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:11:5: warning: let 'F7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
| |- warning: let 'F7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'F7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:12:5: warning: let 'Fs7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
| |- warning: let 'Fs7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs7sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
14 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:13:5: warning: let 'Fs7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
| |- warning: let 'Fs7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:15:5: warning: let 'G7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
| |- warning: let 'G7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'G7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:16:5: warning: let 'Gs7_sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
| |- warning: let 'Gs7_sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gs7_sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:17:5: warning: let 'Gsm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
| |- warning: let 'Gsm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gsm7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
19 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:18:5: warning: let 'GsTriad' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
| |- warning: let 'GsTriad' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GsTriad' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:20:5: warning: let 'Asm7b5' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
| |- warning: let 'Asm7b5' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Asm7b5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let Ds7sharp9 = notes((.ds, 3), (.g, 4), (.cs, 4), (.fs, 4))
22 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:21:5: warning: let 'Ds7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
21 | let Ds7sharp9 = notes((.ds, 3), (.g, 4), (.cs, 4), (.fs, 4))
| |- warning: let 'Ds7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Ds7sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | // bass
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:25:5: warning: let 'B' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
23 | // bass
24 | let oBass: Octave = 2
25 | let B = notes((.b, 1))
| |- warning: let 'B' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:26:5: warning: let 'D' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
24 | let oBass: Octave = 2
25 | let B = notes((.b, 1))
26 | let D = notes((.d, oBass))
| |- warning: let 'D' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'D' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:27:5: warning: let 'Ds' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | let B = notes((.b, 1))
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
| |- warning: let 'Ds' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Ds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:28:5: warning: let 'A' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
| |- warning: let 'A' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'A' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:29:5: warning: let 'E' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
| |- warning: let 'E' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:30:5: warning: let 'Cs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
| |- warning: let 'Cs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Cs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:31:5: warning: let 'F' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
| |- warning: let 'F' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'F' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:32:5: warning: let 'Fs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
| |- warning: let 'Fs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:33:5: warning: let 'As' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
| |- warning: let 'As' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'As' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | let G = notes((.g, oBass))
35 | let Gs = notes((.gs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:34:5: warning: let 'G' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
| |- warning: let 'G' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'G' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | let Gs = notes((.gs, oBass))
36 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:35:5: warning: let 'Gs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
35 | let Gs = notes((.gs, oBass))
| |- warning: let 'Gs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:7:13: warning: let 'phrase2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
5 | //
6 |
7 | private let phrase2: Music = O(.en, (.ds, 6)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.gs, 5)) ++
| |- warning: let 'phrase2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | O(.sn, (.a, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.a, 5)) ++
9 | O(.en, (.b, 5)) ++ O(.en, (.a, 5)) ++ O(.qn, (.fs, 5))
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:11:13: warning: let 'phrase3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
9 | O(.en, (.b, 5)) ++ O(.en, (.a, 5)) ++ O(.qn, (.fs, 5))
10 |
11 | private let phrase3: Music = R(.en) ++ O(.sn, (.d, 6)) ++ O(.sn, (.gf, 5)) ++
| |- warning: let 'phrase3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | O(.tsn, (.b, 5)) ++ O(.tsn, (.a, 5)) ++ O(.tsn, (.fs, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.fs, 5)) ++
13 | O(.sn, (.b, 5)) ++ O(.sn, (.fs, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.fs, 5)) ++ //todo bend
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:21:13: warning: let 'phrase4' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
19 | O(.en, (.e, 5)) ++ O(.sn, (.d, 5)) ++ O(.sn, (.fs, 5))
20 |
21 | private let phrase4: Music = R(.tsn) ++ R(.tsn) ++
| |- warning: let 'phrase4' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | O(.tsn, (.a, 4)) ++ O(.tsn, (.b, 4)) ++ O(.tsn, (.d, 5)) ++ O(.tsn, (.f, 5)) ++
23 | O(.tsn, (.a, 5)) ++ R(.tsn) ++ O(.tsn, (.e, 5)) ++ O(.tsn, (.f, 5)) ++ O(.tsn, (.a, 5)) ++ O(.tsn, (.b, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:26:13: warning: let 'phrase5' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
24 | O(.ten, (.e, 6)) ++ O(.ten, (.d, 6)) ++ O(.ten, (.ds, 6))
25 |
26 | private let phrase5: Music = R(.qn) ++ O(.en, (.fs, 5)) ++ O(.en, (.fs, 5)) ++
| |- warning: let 'phrase5' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | O(.sn, (.fs, 5)) ++ O(.sn, (.gs, 5)) ++ R(.en) ++ R(.en) ++ R(.sn) ++ O(.sn, (.b, 5)) ++
28 | R(.sn) ++ O(.sn, (.b, 5)) ++ R(.en) ++ O(.en, (.b, 5)) ++ O(.sn, (.bf, 5)) ++ O(.sn, (.a, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:31:13: warning: let 'phrase6' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
29 | R(.qn) ++ R(.qn)
30 |
31 | private let phrase6: Music = R(.sn) ++ O(.sn, (.gs, 5)) ++ O(.sn, (.ds, 6)) ++ R(.sn) ++
| |- warning: let 'phrase6' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | O(.sn, (.d, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.gs, 5)) ++
33 | O(.sn, (.aas, 5)) ++ O(.sn, (.ds, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.a, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:41:13: warning: let 'phrase7' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
39 | O(.sn, (.e, 5)) ++ O(.sn, (.g, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.g, 5))
40 |
41 | private let phrase7 = O(.sn, (.fs, 5)) ++ O(.sn, (.ds, 5)) ++ O(.en, (.b, 4)) ++
| |- warning: let 'phrase7' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | O(.sn, (.a, 4)) ++ O(.sn, (.b, 4)) ++ O(.sn, (.cs, 5)) ++ O(.sn, (.a, 4)) ++
43 | O(.en, (.b, 4)) ++ O(.sn, (.a, 4)) ++ O(.sn, (.fs, 4)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:52:13: warning: let 'phrase8' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
50 | O(.ten, (.e, 5)) ++ O(.ten, (.gs, 5)) ++ O(.ten, (.c, 6))
51 |
52 | private let phrase8 = R(.qn) ++ R(.sn) ++ O(.sn, (.ds, 6)) ++ O(.sn, (.c, 6)) ++ O(.sn, (.ds, 6)) ++
| |- warning: let 'phrase8' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | O(.sn, (.c, 6)) ++ O(.sn, (.gs, 5)) ++ R(.sn) ++ O(.sn, (.c, 6)) ++
54 | O(.sn, (.gs, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.ds, 5)) ++ O(.sn, (.cs, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:57:13: warning: let 'phrase9' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
55 | O(.en, (.ds, 5)) ++ O(.sn, (.g, 5)) ++ O(.sn, (.aas, 5))
56 |
57 | private let phrase9 = O(.sn, (.gs, 5)) ++ O(.sn, (.aas, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++
| |- warning: let 'phrase9' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | O(.en, (.ds, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.g, 6)) ++
59 | R(.en) ++ R(.sn) ++ O(.tn, (.g, 6)) ++ O(.tn, (.f, 6)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:64:13: warning: let 'phrase10' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
62 | O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++ O(.en, (.ds, 6))
63 |
64 | private let phrase10 = O(.sn, (.cs, 6)) ++ O(.tn, (.b, 5)) ++ O(.tn, (.bf, 5)) ++ O(.sn, (.a, 5)) ++ O(.sn, (.af, 5)) ++
| |- warning: let 'phrase10' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | O(.sn, (.g, 5)) ++ O(.sn, (.gf, 5)) ++ O(.sn, (.f, 5)) ++ O(.sn, (.ef, 5)) ++
66 | O(.qn, (.e, 5)) ++ O(.qn, (.g, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:71:5: warning: let 'solo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
69 | O(.en, (.g, 5)) ++ O(.en, (.g, 5)) ++ O(.en, (.g, 5)) ++ O(.sn, (.fs, 5)) ++ O(.sn, (.e, 5))
70 |
71 | let solo = phrase2 ++ phrase3 ++ phrase4 ++ phrase5 ++ phrase6 ++ phrase7 ++ phrase8 ++ phrase9 ++ phrase10
| |- warning: let 'solo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'solo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/SoloChordsAndBass.swift:4:5: warning: let 'chordsSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // solo chords
4 | let chordsSolo = B7.stack(.wn) ++ B7.stack(.wn) ++ D7.stack(.wn) ++ D7.stack(.wn) ++
| |- warning: let 'chordsSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'chordsSolo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | B7.stack(.wn) ++ B7.stack(.wn) ++ Csm7.stack(.hn) ++ G7.stack(.hn) ++ Fs7sharp9.stack(.wn) ++
6 | B7.stack(.hn) ++ A7.stack(.hn) ++ Gs7_sharp9.stack(.wn) ++ Csm7.stack(.hn) ++ B7.stack(.hn) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/SoloChordsAndBass.swift:10:5: warning: let 'bassSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
8 | Gsm7.stack(.wn) ++ F7.stack(.wn) ++ E7.stack(.wn) ++ D7.stack(.wn) ++ B7.stack(.wn)
9 |
10 | let bassSolo = B.stack(.wn) ++ B.stack(.wn) ++ D.stack(.wn) ++ D.stack(.wn) ++
| |- warning: let 'bassSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassSolo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | B.stack(.wn) ++ B.stack(.wn) ++ Cs.stack(.hn) ++ G.stack(.hn) ++ Fs.stack(.wn) ++
12 | B.stack(.hn) ++ A.stack(.hn) ++ Gs.stack(.wn) ++ Cs.stack(.hn) ++ B.stack(.hn) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:4:13: warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
| |- warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme1Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:5:13: warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
| |- warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme2Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:7:5: warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
| |- warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'chordsTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // bass
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:10:13: warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
| |- warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:11:13: warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
| |- warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:12:13: warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
| |- warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:14:5: warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
| |- warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
[37/37] Compiling Notus ThemeChordsAndBass.swift
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:4:5: warning: let 'B7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // chords
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
| |- warning: let 'B7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'B7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:5:5: warning: let 'D7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
3 | // chords
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
| |- warning: let 'D7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'D7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:6:5: warning: let 'A7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
4 | let B7 = notes((.b, 3), (.a, 4), (.ds, 4), (.fs, 4))
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
| |- warning: let 'A7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'A7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
8 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:7:5: warning: let 'E7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
5 | let D7 = notes((.d, 3), (.c, 4), (.fs, 4), (.a, 4))
6 | let A7 = notes((.a, 3), (.g, 4), (.cs, 4), (.e, 4))
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
| |- warning: let 'E7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'E7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:9:5: warning: let 'Csm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
7 | let E7 = notes((.e, 3), (.d, 4), (.gs, 4), (.b, 4))
8 |
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
| |- warning: let 'Csm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Csm7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:11:5: warning: let 'F7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
9 | let Csm7 = notes((.cs, 3), (.fs, 4), (.b, 4), (.e, 5))
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
| |- warning: let 'F7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'F7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:12:5: warning: let 'Fs7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
| |- warning: let 'Fs7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs7sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
14 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:13:5: warning: let 'Fs7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
11 | let F7 = notes((.f, 3), (.ds, 4), (.a, 4), (.c, 4))
12 | let Fs7sharp9 = notes((.fs, 3), (.aas, 4), (.e, 5), (.a, 5))
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
| |- warning: let 'Fs7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:15:5: warning: let 'G7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
13 | let Fs7 = notes((.fs, 3), (.e, 4), (.ass, 4), (.cs, 5))
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
| |- warning: let 'G7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'G7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:16:5: warning: let 'Gs7_sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
14 |
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
| |- warning: let 'Gs7_sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gs7_sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:17:5: warning: let 'Gsm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
15 | let G7 = notes((.g, 3), (.f, 4), (.b, 4), (.d, 4))
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
| |- warning: let 'Gsm7' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gsm7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
19 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:18:5: warning: let 'GsTriad' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
16 | let Gs7_sharp9 = notes((.gs, 3), (.c, 4), (.fs, 4), (.b, 4))
17 | let Gsm7 = notes((.gs, 3), (.fs, 4), (.b, 4), (.ds, 4))
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
| |- warning: let 'GsTriad' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'GsTriad' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:20:5: warning: let 'Asm7b5' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
18 | let GsTriad = notes((.gs, 3), (.c, 4), (.ds, 4))
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
| |- warning: let 'Asm7b5' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Asm7b5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | let Ds7sharp9 = notes((.ds, 3), (.g, 4), (.cs, 4), (.fs, 4))
22 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:21:5: warning: let 'Ds7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | let Asm7b5 = notes((.aas, 3), (.gs, 4), (.cs, 4), (.e, 4))
21 | let Ds7sharp9 = notes((.ds, 3), (.g, 4), (.cs, 4), (.fs, 4))
| |- warning: let 'Ds7sharp9' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Ds7sharp9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | // bass
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:25:5: warning: let 'B' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
23 | // bass
24 | let oBass: Octave = 2
25 | let B = notes((.b, 1))
| |- warning: let 'B' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'B' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:26:5: warning: let 'D' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
24 | let oBass: Octave = 2
25 | let B = notes((.b, 1))
26 | let D = notes((.d, oBass))
| |- warning: let 'D' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'D' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:27:5: warning: let 'Ds' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
25 | let B = notes((.b, 1))
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
| |- warning: let 'Ds' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Ds' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:28:5: warning: let 'A' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
26 | let D = notes((.d, oBass))
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
| |- warning: let 'A' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'A' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:29:5: warning: let 'E' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
27 | let Ds = notes((.ds, oBass))
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
| |- warning: let 'E' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'E' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:30:5: warning: let 'Cs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
28 | let A = notes((.a, oBass))
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
| |- warning: let 'Cs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Cs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:31:5: warning: let 'F' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
29 | let E = notes((.e, 1))
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
| |- warning: let 'F' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'F' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:32:5: warning: let 'Fs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
30 | let Cs = notes((.cs, oBass))
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
| |- warning: let 'Fs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Fs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:33:5: warning: let 'As' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
31 | let F = notes((.f, oBass))
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
| |- warning: let 'As' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'As' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | let G = notes((.g, oBass))
35 | let Gs = notes((.gs, oBass))
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:34:5: warning: let 'G' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
32 | let Fs = notes((.fs, oBass))
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
| |- warning: let 'G' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'G' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | let Gs = notes((.gs, oBass))
36 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ChordsAndBass.swift:35:5: warning: let 'Gs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
33 | let As = notes((.aas, oBass))
34 | let G = notes((.g, oBass))
35 | let Gs = notes((.gs, oBass))
| |- warning: let 'Gs' is not concurrency-safe because non-'Sendable' type 'Notes' (aka 'Set<PitchS>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'Gs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
/host/spi-builder-workspace/Sources/Notus/Music/MusicUtils.swift:12:15: note: consider making struct 'PitchS' conform to the 'Sendable' protocol
10 | }
11 |
12 | public struct PitchS: Hashable {
| `- note: consider making struct 'PitchS' conform to the 'Sendable' protocol
13 | public let pitchClass: PitchClass
14 | public let octave: Octave
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:7:13: warning: let 'phrase2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
5 | //
6 |
7 | private let phrase2: Music = O(.en, (.ds, 6)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.gs, 5)) ++
| |- warning: let 'phrase2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | O(.sn, (.a, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.a, 5)) ++
9 | O(.en, (.b, 5)) ++ O(.en, (.a, 5)) ++ O(.qn, (.fs, 5))
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:11:13: warning: let 'phrase3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
9 | O(.en, (.b, 5)) ++ O(.en, (.a, 5)) ++ O(.qn, (.fs, 5))
10 |
11 | private let phrase3: Music = R(.en) ++ O(.sn, (.d, 6)) ++ O(.sn, (.gf, 5)) ++
| |- warning: let 'phrase3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | O(.tsn, (.b, 5)) ++ O(.tsn, (.a, 5)) ++ O(.tsn, (.fs, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.fs, 5)) ++
13 | O(.sn, (.b, 5)) ++ O(.sn, (.fs, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.fs, 5)) ++ //todo bend
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:21:13: warning: let 'phrase4' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
19 | O(.en, (.e, 5)) ++ O(.sn, (.d, 5)) ++ O(.sn, (.fs, 5))
20 |
21 | private let phrase4: Music = R(.tsn) ++ R(.tsn) ++
| |- warning: let 'phrase4' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | O(.tsn, (.a, 4)) ++ O(.tsn, (.b, 4)) ++ O(.tsn, (.d, 5)) ++ O(.tsn, (.f, 5)) ++
23 | O(.tsn, (.a, 5)) ++ R(.tsn) ++ O(.tsn, (.e, 5)) ++ O(.tsn, (.f, 5)) ++ O(.tsn, (.a, 5)) ++ O(.tsn, (.b, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:26:13: warning: let 'phrase5' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
24 | O(.ten, (.e, 6)) ++ O(.ten, (.d, 6)) ++ O(.ten, (.ds, 6))
25 |
26 | private let phrase5: Music = R(.qn) ++ O(.en, (.fs, 5)) ++ O(.en, (.fs, 5)) ++
| |- warning: let 'phrase5' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | O(.sn, (.fs, 5)) ++ O(.sn, (.gs, 5)) ++ R(.en) ++ R(.en) ++ R(.sn) ++ O(.sn, (.b, 5)) ++
28 | R(.sn) ++ O(.sn, (.b, 5)) ++ R(.en) ++ O(.en, (.b, 5)) ++ O(.sn, (.bf, 5)) ++ O(.sn, (.a, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:31:13: warning: let 'phrase6' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
29 | R(.qn) ++ R(.qn)
30 |
31 | private let phrase6: Music = R(.sn) ++ O(.sn, (.gs, 5)) ++ O(.sn, (.ds, 6)) ++ R(.sn) ++
| |- warning: let 'phrase6' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | O(.sn, (.d, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.gs, 5)) ++
33 | O(.sn, (.aas, 5)) ++ O(.sn, (.ds, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.a, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:41:13: warning: let 'phrase7' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
39 | O(.sn, (.e, 5)) ++ O(.sn, (.g, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.g, 5))
40 |
41 | private let phrase7 = O(.sn, (.fs, 5)) ++ O(.sn, (.ds, 5)) ++ O(.en, (.b, 4)) ++
| |- warning: let 'phrase7' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | O(.sn, (.a, 4)) ++ O(.sn, (.b, 4)) ++ O(.sn, (.cs, 5)) ++ O(.sn, (.a, 4)) ++
43 | O(.en, (.b, 4)) ++ O(.sn, (.a, 4)) ++ O(.sn, (.fs, 4)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:52:13: warning: let 'phrase8' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
50 | O(.ten, (.e, 5)) ++ O(.ten, (.gs, 5)) ++ O(.ten, (.c, 6))
51 |
52 | private let phrase8 = R(.qn) ++ R(.sn) ++ O(.sn, (.ds, 6)) ++ O(.sn, (.c, 6)) ++ O(.sn, (.ds, 6)) ++
| |- warning: let 'phrase8' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | O(.sn, (.c, 6)) ++ O(.sn, (.gs, 5)) ++ R(.sn) ++ O(.sn, (.c, 6)) ++
54 | O(.sn, (.gs, 5)) ++ O(.sn, (.e, 5)) ++ O(.sn, (.ds, 5)) ++ O(.sn, (.cs, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:57:13: warning: let 'phrase9' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
55 | O(.en, (.ds, 5)) ++ O(.sn, (.g, 5)) ++ O(.sn, (.aas, 5))
56 |
57 | private let phrase9 = O(.sn, (.gs, 5)) ++ O(.sn, (.aas, 5)) ++ O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++
| |- warning: let 'phrase9' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase9' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | O(.en, (.ds, 6)) ++ O(.sn, (.cs, 6)) ++ O(.sn, (.g, 6)) ++
59 | R(.en) ++ R(.sn) ++ O(.tn, (.g, 6)) ++ O(.tn, (.f, 6)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:64:13: warning: let 'phrase10' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
62 | O(.sn, (.b, 5)) ++ O(.sn, (.cs, 6)) ++ O(.en, (.ds, 6))
63 |
64 | private let phrase10 = O(.sn, (.cs, 6)) ++ O(.tn, (.b, 5)) ++ O(.tn, (.bf, 5)) ++ O(.sn, (.a, 5)) ++ O(.sn, (.af, 5)) ++
| |- warning: let 'phrase10' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'phrase10' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | O(.sn, (.g, 5)) ++ O(.sn, (.gf, 5)) ++ O(.sn, (.f, 5)) ++ O(.sn, (.ef, 5)) ++
66 | O(.qn, (.e, 5)) ++ O(.qn, (.g, 5)) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/Solo.swift:71:5: warning: let 'solo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
69 | O(.en, (.g, 5)) ++ O(.en, (.g, 5)) ++ O(.en, (.g, 5)) ++ O(.sn, (.fs, 5)) ++ O(.sn, (.e, 5))
70 |
71 | let solo = phrase2 ++ phrase3 ++ phrase4 ++ phrase5 ++ phrase6 ++ phrase7 ++ phrase8 ++ phrase9 ++ phrase10
| |- warning: let 'solo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'solo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/SoloChordsAndBass.swift:4:5: warning: let 'chordsSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // solo chords
4 | let chordsSolo = B7.stack(.wn) ++ B7.stack(.wn) ++ D7.stack(.wn) ++ D7.stack(.wn) ++
| |- warning: let 'chordsSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'chordsSolo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | B7.stack(.wn) ++ B7.stack(.wn) ++ Csm7.stack(.hn) ++ G7.stack(.hn) ++ Fs7sharp9.stack(.wn) ++
6 | B7.stack(.hn) ++ A7.stack(.hn) ++ Gs7_sharp9.stack(.wn) ++ Csm7.stack(.hn) ++ B7.stack(.hn) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/SoloChordsAndBass.swift:10:5: warning: let 'bassSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
8 | Gsm7.stack(.wn) ++ F7.stack(.wn) ++ E7.stack(.wn) ++ D7.stack(.wn) ++ B7.stack(.wn)
9 |
10 | let bassSolo = B.stack(.wn) ++ B.stack(.wn) ++ D.stack(.wn) ++ D.stack(.wn) ++
| |- warning: let 'bassSolo' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassSolo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | B.stack(.wn) ++ B.stack(.wn) ++ Cs.stack(.hn) ++ G.stack(.hn) ++ Fs.stack(.wn) ++
12 | B.stack(.hn) ++ A.stack(.hn) ++ Gs.stack(.wn) ++ Cs.stack(.hn) ++ B.stack(.hn) ++
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:4:13: warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
| |- warning: let 'theme1Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme1Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:5:13: warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
3 | // chords
4 | private let theme1Chords = B7.stack(.hn) ++ G7.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ B7.stack(.wn).repeated(1)
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
| |- warning: let 'theme2Chords' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'theme2Chords' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:7:5: warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let theme2Chords = B7.stack(.hn) ++ GsTriad.stack(.hn) ++ F7.stack(.hn) ++ Fs7.stack(.hn) ++ E7.stack(.wn).repeated(3)
6 |
7 | let chordsTheme = theme1Chords ++ theme2Chords
| |- warning: let 'chordsTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'chordsTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | // bass
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:10:13: warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
| |- warning: let 'bassTheme1' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:11:13: warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
9 | // bass
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
| |- warning: let 'bassTheme2' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:12:13: warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
10 | private let bassTheme1 = B.stack(.hn) ++ G.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ B.stack(.wn).repeated(1)
11 | private let bassTheme2 = B.stack(.hn) ++ Gs.stack(.hn) ++ F.stack(.hn) ++ Fs.stack(.hn) ++ E.stack(.wn).repeated(3)
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
| |- warning: let 'bassTheme3' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
/host/spi-builder-workspace/Sources/Notus/MusicExamples/Canine/ThemeChordsAndBass.swift:14:5: warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private let bassTheme3 = E.stack(.sn).repeated(7).repeated(7).repeated(1)
13 |
14 | let bassTheme = bassTheme1 ++ bassTheme2 ++ bassTheme3
| |- warning: let 'bassTheme' is not concurrency-safe because non-'Sendable' type 'Music' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'bassTheme' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:3:13: note: consider making enum 'Music' conform to the 'Sendable' protocol
1 | import Foundation
2 |
3 | public enum Music {
| `- note: consider making enum 'Music' conform to the 'Sendable' protocol
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/32] Compiling Notus CanineMain.swift
[3/32] Compiling Notus ChordsAndBass.swift
[4/32] Compiling Notus Solo.swift
[5/32] Compiling Notus SoloChordsAndBass.swift
[6/32] Compiling Notus ThemeChordsAndBass.swift
[7/36] Compiling Notus MusicSequenceBuilder.swift
[8/36] Compiling Notus MusicToMidi.swift
[9/36] Compiling Notus Validaters.swift
[10/36] Compiling Notus MidiPlayer.swift
[11/36] Compiling Notus Triol.swift
[12/36] Compiling Notus MusicNotation.swift
[13/36] Compiling Notus MidiToMusic.swift
[14/36] Compiling Notus MidiToNotusBuilders.swift
[15/36] Emitting module Notus
[16/36] Compiling Notus DrumSolo.swift
[17/36] Compiling Notus FrereJacques.swift
[18/36] Compiling Notus James.swift
[19/36] Compiling Notus LillePeterEdderkop.swift
[20/36] Compiling Notus Duration.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:157:25: warning: enum case 'stack' has 2 associated values
155 | case .modify(_, let music):
156 | return music.duration()
157 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
158 | let upperDuration = musicUpper.duration()
159 | let lowerDuration = musicLower.duration()
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:161:23: warning: enum case 'seq' has 2 associated values
159 | let lowerDuration = musicLower.duration()
160 | return cut ? min(upperDuration, lowerDuration) : max(upperDuration, lowerDuration)
161 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
162 | return musicLeft.duration() + musicRight.duration()
163 | case .prim(let .note(dur, _)):
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:41:25: warning: enum case 'stack' has 2 associated values
39 | return music.musicToPerformance(context: updatedContext, playerMap: playerMap)
40 |
41 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
42 | let per0 = musicUpper.musicToPerformance(context: context, playerMap: playerMap)
43 | let per1 = musicLower.musicToPerformance(context: context, playerMap: playerMap)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:46:23: warning: enum case 'seq' has 2 associated values
44 | return (per0.0 + per1.0, per0.1 + per1.1)
45 |
46 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
47 | var updatedContext = context
48 | updatedContext.beat += Time(musicLeft.duration())
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:61:24: warning: enum case 'note' has 2 associated values
59 | private func primToPerformance(context: MusicContext, prim: Primitive) -> Performance {
60 | switch prim {
61 | case .note(let (dur, pitch)):
| `- warning: enum case 'note' has 2 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:27:10: note: 'note' declared here
25 |
26 | public enum Primitive {
27 | case note(Dur, Pitch)
| `- note: 'note' declared here
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
29 | case rest(Dur)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:64:28: warning: enum case 'noteAttr' has 3 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
64 | case .noteAttr(let (dur, pitch, attrs)):
| `- warning: enum case 'noteAttr' has 3 associated values
65 | let event = context.player.noteInterpret(context, pitch, dur, attrs)
66 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:28:10: note: 'noteAttr' declared here
26 | public enum Primitive {
27 | case note(Dur, Pitch)
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
| `- note: 'noteAttr' declared here
29 | case rest(Dur)
30 | case none
[21/36] Compiling Notus Event.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:157:25: warning: enum case 'stack' has 2 associated values
155 | case .modify(_, let music):
156 | return music.duration()
157 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
158 | let upperDuration = musicUpper.duration()
159 | let lowerDuration = musicLower.duration()
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:161:23: warning: enum case 'seq' has 2 associated values
159 | let lowerDuration = musicLower.duration()
160 | return cut ? min(upperDuration, lowerDuration) : max(upperDuration, lowerDuration)
161 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
162 | return musicLeft.duration() + musicRight.duration()
163 | case .prim(let .note(dur, _)):
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:41:25: warning: enum case 'stack' has 2 associated values
39 | return music.musicToPerformance(context: updatedContext, playerMap: playerMap)
40 |
41 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
42 | let per0 = musicUpper.musicToPerformance(context: context, playerMap: playerMap)
43 | let per1 = musicLower.musicToPerformance(context: context, playerMap: playerMap)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:46:23: warning: enum case 'seq' has 2 associated values
44 | return (per0.0 + per1.0, per0.1 + per1.1)
45 |
46 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
47 | var updatedContext = context
48 | updatedContext.beat += Time(musicLeft.duration())
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:61:24: warning: enum case 'note' has 2 associated values
59 | private func primToPerformance(context: MusicContext, prim: Primitive) -> Performance {
60 | switch prim {
61 | case .note(let (dur, pitch)):
| `- warning: enum case 'note' has 2 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:27:10: note: 'note' declared here
25 |
26 | public enum Primitive {
27 | case note(Dur, Pitch)
| `- note: 'note' declared here
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
29 | case rest(Dur)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:64:28: warning: enum case 'noteAttr' has 3 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
64 | case .noteAttr(let (dur, pitch, attrs)):
| `- warning: enum case 'noteAttr' has 3 associated values
65 | let event = context.player.noteInterpret(context, pitch, dur, attrs)
66 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:28:10: note: 'noteAttr' declared here
26 | public enum Primitive {
27 | case note(Dur, Pitch)
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
| `- note: 'noteAttr' declared here
29 | case rest(Dur)
30 | case none
[22/36] Compiling Notus MusicToPerformance.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:157:25: warning: enum case 'stack' has 2 associated values
155 | case .modify(_, let music):
156 | return music.duration()
157 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
158 | let upperDuration = musicUpper.duration()
159 | let lowerDuration = musicLower.duration()
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:161:23: warning: enum case 'seq' has 2 associated values
159 | let lowerDuration = musicLower.duration()
160 | return cut ? min(upperDuration, lowerDuration) : max(upperDuration, lowerDuration)
161 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
162 | return musicLeft.duration() + musicRight.duration()
163 | case .prim(let .note(dur, _)):
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:41:25: warning: enum case 'stack' has 2 associated values
39 | return music.musicToPerformance(context: updatedContext, playerMap: playerMap)
40 |
41 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
42 | let per0 = musicUpper.musicToPerformance(context: context, playerMap: playerMap)
43 | let per1 = musicLower.musicToPerformance(context: context, playerMap: playerMap)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:46:23: warning: enum case 'seq' has 2 associated values
44 | return (per0.0 + per1.0, per0.1 + per1.1)
45 |
46 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
47 | var updatedContext = context
48 | updatedContext.beat += Time(musicLeft.duration())
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:61:24: warning: enum case 'note' has 2 associated values
59 | private func primToPerformance(context: MusicContext, prim: Primitive) -> Performance {
60 | switch prim {
61 | case .note(let (dur, pitch)):
| `- warning: enum case 'note' has 2 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:27:10: note: 'note' declared here
25 |
26 | public enum Primitive {
27 | case note(Dur, Pitch)
| `- note: 'note' declared here
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
29 | case rest(Dur)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:64:28: warning: enum case 'noteAttr' has 3 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
64 | case .noteAttr(let (dur, pitch, attrs)):
| `- warning: enum case 'noteAttr' has 3 associated values
65 | let event = context.player.noteInterpret(context, pitch, dur, attrs)
66 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:28:10: note: 'noteAttr' declared here
26 | public enum Primitive {
27 | case note(Dur, Pitch)
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
| `- note: 'noteAttr' declared here
29 | case rest(Dur)
30 | case none
[23/36] Compiling Notus Performance.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:157:25: warning: enum case 'stack' has 2 associated values
155 | case .modify(_, let music):
156 | return music.duration()
157 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
158 | let upperDuration = musicUpper.duration()
159 | let lowerDuration = musicLower.duration()
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/Duration.swift:161:23: warning: enum case 'seq' has 2 associated values
159 | let lowerDuration = musicLower.duration()
160 | return cut ? min(upperDuration, lowerDuration) : max(upperDuration, lowerDuration)
161 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
162 | return musicLeft.duration() + musicRight.duration()
163 | case .prim(let .note(dur, _)):
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:41:25: warning: enum case 'stack' has 2 associated values
39 | return music.musicToPerformance(context: updatedContext, playerMap: playerMap)
40 |
41 | case .stack(let (musicUpper, musicLower)):
| `- warning: enum case 'stack' has 2 associated values
42 | let per0 = musicUpper.musicToPerformance(context: context, playerMap: playerMap)
43 | let per1 = musicLower.musicToPerformance(context: context, playerMap: playerMap)
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:5:19: note: 'stack' declared here
3 | public enum Music {
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
| `- note: 'stack' declared here
6 | indirect case seq(Music, Music)
7 | indirect case modify(Control, Music)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:46:23: warning: enum case 'seq' has 2 associated values
44 | return (per0.0 + per1.0, per0.1 + per1.1)
45 |
46 | case .seq(let (musicLeft, musicRight)):
| `- warning: enum case 'seq' has 2 associated values
47 | var updatedContext = context
48 | updatedContext.beat += Time(musicLeft.duration())
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:6:19: note: 'seq' declared here
4 | case prim(Primitive)
5 | indirect case stack(Music, Music)
6 | indirect case seq(Music, Music)
| `- note: 'seq' declared here
7 | indirect case modify(Control, Music)
8 | }
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:61:24: warning: enum case 'note' has 2 associated values
59 | private func primToPerformance(context: MusicContext, prim: Primitive) -> Performance {
60 | switch prim {
61 | case .note(let (dur, pitch)):
| `- warning: enum case 'note' has 2 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:27:10: note: 'note' declared here
25 |
26 | public enum Primitive {
27 | case note(Dur, Pitch)
| `- note: 'note' declared here
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
29 | case rest(Dur)
/host/spi-builder-workspace/Sources/Notus/Performance/MusicToPerformance.swift:64:28: warning: enum case 'noteAttr' has 3 associated values
62 | let event = context.player.noteInterpret(context, pitch, dur, [])
63 | return ([event], [])
64 | case .noteAttr(let (dur, pitch, attrs)):
| `- warning: enum case 'noteAttr' has 3 associated values
65 | let event = context.player.noteInterpret(context, pitch, dur, attrs)
66 | return ([event], [])
/host/spi-builder-workspace/Sources/Notus/MusicNotation.swift:28:10: note: 'noteAttr' declared here
26 | public enum Primitive {
27 | case note(Dur, Pitch)
28 | case noteAttr(Dur, Pitch, [NoteAttribute])
| `- note: 'noteAttr' declared here
29 | case rest(Dur)
30 | case none
[24/36] Compiling Notus ThemeMel.swift
[25/36] Compiling Notus ThemeSoloInterlude.swift
[26/36] Compiling Notus Chameleon.swift
[27/36] Compiling Notus Counterpoint.swift
[28/36] Compiling Notus Pitch.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Players/FancyPlayer.swift:165:39: error: cannot convert value of type 'Float' to expected argument type 'Double'
163 | {
164 | let fromVol = events[0].vol
165 | let toVol_ = round(Float(fromVol) * factor)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
166 | let toVol = UInt8(max(0, min(toVol_, 127)))
167 |
[29/36] Compiling Notus DefaultPlayer.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Players/FancyPlayer.swift:165:39: error: cannot convert value of type 'Float' to expected argument type 'Double'
163 | {
164 | let fromVol = events[0].vol
165 | let toVol_ = round(Float(fromVol) * factor)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
166 | let toVol = UInt8(max(0, min(toVol_, 127)))
167 |
[30/36] Compiling Notus FancyPlayer.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Players/FancyPlayer.swift:165:39: error: cannot convert value of type 'Float' to expected argument type 'Double'
163 | {
164 | let fromVol = events[0].vol
165 | let toVol_ = round(Float(fromVol) * factor)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
166 | let toVol = UInt8(max(0, min(toVol_, 127)))
167 |
[31/36] Compiling Notus UserPatchMap.swift
/host/spi-builder-workspace/Sources/Notus/Performance/Players/FancyPlayer.swift:165:39: error: cannot convert value of type 'Float' to expected argument type 'Double'
163 | {
164 | let fromVol = events[0].vol
165 | let toVol_ = round(Float(fromVol) * factor)
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
166 | let toVol = UInt8(max(0, min(toVol_, 127)))
167 |
[32/36] Compiling Notus Channel.swift
[33/36] Compiling Notus Instrument.swift
[34/36] Compiling Notus MusicNotationSimpleTypes.swift
[35/36] Compiling Notus MusicUtils.swift
[36/36] Compiling Notus Percussion.swift
BUILD FAILURE 6.1 android