Build Information
Failed to build Music, reference latest (0e4c36
), with Swift 6.0 for Linux on 1 Nov 2024 03:39:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
14 |
15 | // MARK: - Instance Properties
:
157 |
158 | /// Perfect fourth.
159 | public static let P4 = CompoundDiatonicInterval(.P4)
| |- warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | /// Augmented fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:251:23: warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
249 |
250 | /// Perfect fourth.
251 | public static let P4 = DiatonicInterval(.perfect, .fourth)
| |- warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 |
253 | /// Augmented fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:162:23: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
160 |
161 | /// Augmented fourth.
162 | public static let A4 = CompoundDiatonicInterval(.A4)
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Diminished fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:254:23: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
252 |
253 | /// Augmented fourth.
254 | public static let A4 = DiatonicInterval(.augmented, .fourth)
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | /// Diminished fifth
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:165:23: warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
163 |
164 | /// Diminished fifth.
165 | public static let d5 = CompoundDiatonicInterval(.d5)
| |- warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Perfect fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:257:23: warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
255 |
256 | /// Diminished fifth
257 | public static let d5 = DiatonicInterval(.diminished, .fifth)
| |- warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 |
259 | /// Perfect fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:168:23: warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
166 |
167 | /// Perfect fifth.
168 | public static let P5 = CompoundDiatonicInterval(.P5)
| |- warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Diminished sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:260:23: warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
258 |
259 | /// Perfect fifth.
260 | public static let P5 = DiatonicInterval(.perfect, .fifth)
| |- warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
261 |
262 | /// Diminished sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:171:23: warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
169 |
170 | /// Diminished sixth.
171 | public static let d6 = CompoundDiatonicInterval(.d6)
| |- warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | /// Augmented fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:263:23: warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
261 |
262 | /// Diminished sixth.
263 | public static let d6 = DiatonicInterval(.diminished, .sixth)
| |- warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 | /// Augmented fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:174:23: warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
172 |
173 | /// Augmented fifth.
174 | public static let A5 = CompoundDiatonicInterval(.A5)
| |- warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// Minor sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:266:23: warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
264 |
265 | /// Augmented fifth.
266 | public static let A5 = DiatonicInterval(.augmented, .fifth)
| |- warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 |
268 | /// Minor sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:177:23: warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
175 |
176 | /// Minor sixth.
177 | public static let m6 = CompoundDiatonicInterval(.m6)
| |- warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 |
179 | /// Major sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:269:23: warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
267 |
268 | /// Minor sixth.
269 | public static let m6 = DiatonicInterval(.minor, .sixth)
| |- warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | /// Major sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:180:23: warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
178 |
179 | /// Major sixth.
180 | public static let M6 = CompoundDiatonicInterval(.M6)
| |- warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | /// Diminished seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:272:23: warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
270 |
271 | /// Major sixth.
272 | public static let M6 = DiatonicInterval(.major, .sixth)
| |- warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 | /// Diminished seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:183:23: warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
181 |
182 | /// Diminished seventh.
183 | public static let d7 = CompoundDiatonicInterval(.d7)
| |- warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | /// Augmented sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:275:23: warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
273 |
274 | /// Diminished seventh.
275 | public static let d7 = DiatonicInterval(.diminished, .seventh)
| |- warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |
277 | /// Augmented sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:186:23: warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
184 |
185 | /// Augmented sixth.
186 | public static let A6 = CompoundDiatonicInterval(.A6)
| |- warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// Minor seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:278:23: warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
276 |
277 | /// Augmented sixth.
278 | public static let A6 = DiatonicInterval(.augmented, .sixth)
| |- warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |
280 | /// Minor seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:189:23: warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
187 |
188 | /// Minor seventh.
189 | public static let m7 = CompoundDiatonicInterval(.m7)
| |- warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 |
191 | /// Major seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:281:23: warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
279 |
280 | /// Minor seventh.
281 | public static let m7 = DiatonicInterval(.minor, .seventh)
| |- warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 |
283 | /// Major seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:192:23: warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
190 |
191 | /// Major seventh.
192 | public static let M7 = CompoundDiatonicInterval(.M7)
| |- warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | /// Octave.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:284:23: warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
282 |
283 | /// Major seventh.
284 | public static let M7 = DiatonicInterval(.major, .seventh)
| |- warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
285 |
286 | /// Augmented seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:195:23: warning: static property 'octave' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
193 |
194 | /// Octave.
195 | public static let octave = CompoundDiatonicInterval(.unison, displacedBy: 1)
| |- warning: static property 'octave' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'octave' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |
197 | /// Augmented seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:198:23: warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
196 |
197 | /// Augmented seventh.
198 | public static let A7 = CompoundDiatonicInterval(.A7)
| |- warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 |
200 | /// Diminished octave.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:287:23: warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
285 |
286 | /// Augmented seventh.
287 | public static let A7 = DiatonicInterval(.augmented, .seventh)
| |- warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | }
289 |
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:201:23: warning: static property 'd8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
199 |
200 | /// Diminished octave.
201 | public static let d8 = CompoundDiatonicInterval(.d1, displacedBy: 1)
| |- warning: static property 'd8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 |
203 | /// Diminished ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:204:23: warning: static property 'd9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
202 |
203 | /// Diminished ninth.
204 | public static let d9 = CompoundDiatonicInterval(.d2, displacedBy: 1)
| |- warning: static property 'd9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | /// Augmented octave.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:207:23: warning: static property 'A8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
205 |
206 | /// Augmented octave.
207 | public static let A8 = CompoundDiatonicInterval(.A1, displacedBy: 1)
| |- warning: static property 'A8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |
209 | /// Minor ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:210:23: warning: static property 'm9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
208 |
209 | /// Minor ninth.
210 | public static let m9 = CompoundDiatonicInterval(.m2, displacedBy: 1)
| |- warning: static property 'm9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Major ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:213:23: warning: static property 'M9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
211 |
212 | /// Major ninth.
213 | public static let M9 = CompoundDiatonicInterval(.M2, displacedBy: 1)
| |- warning: static property 'M9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |
215 | /// Diminished tenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:216:23: warning: static property 'd10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
214 |
215 | /// Diminished tenth.
216 | public static let d10 = CompoundDiatonicInterval(.d3, displacedBy: 1)
| |- warning: static property 'd10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Augmented ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:219:23: warning: static property 'A9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
217 |
218 | /// Augmented ninth.
219 | public static let A9 = CompoundDiatonicInterval(.A2, displacedBy: 1)
| |- warning: static property 'A9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 | /// Minor tenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:222:23: warning: static property 'm10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
220 |
221 | /// Minor tenth.
222 | public static let m10 = CompoundDiatonicInterval(.m3, displacedBy: 1)
| |- warning: static property 'm10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 |
224 | /// Major tenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:225:23: warning: static property 'M10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
223 |
224 | /// Major tenth.
225 | public static let M10 = CompoundDiatonicInterval(.M3, displacedBy: 1)
| |- warning: static property 'M10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |
227 | /// Diminished eleventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:228:23: warning: static property 'd11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
226 |
227 | /// Diminished eleventh.
228 | public static let d11 = CompoundDiatonicInterval(.d4, displacedBy: 1)
| |- warning: static property 'd11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd11' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Perfect eleventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:231:23: warning: static property 'P11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
229 |
230 | /// Perfect eleventh.
231 | public static let P11 = CompoundDiatonicInterval(.P4, displacedBy: 1)
| |- warning: static property 'P11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P11' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |
233 | /// Augmented eleventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:234:23: warning: static property 'A11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
232 |
233 | /// Augmented eleventh.
234 | public static let A11 = CompoundDiatonicInterval(.A4, displacedBy: 1)
| |- warning: static property 'A11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A11' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Diminished twelfth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:237:23: warning: static property 'd12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
235 |
236 | /// Diminished twelfth.
237 | public static let d12 = CompoundDiatonicInterval(.d5, displacedBy: 1)
| |- warning: static property 'd12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 |
239 | /// Perfect twelfth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:240:23: warning: static property 'P12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
238 |
239 | /// Perfect twelfth.
240 | public static let P12 = CompoundDiatonicInterval(.P5, displacedBy: 1)
| |- warning: static property 'P12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | /// Diminished thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:243:23: warning: static property 'd13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
241 |
242 | /// Diminished thirteenth.
243 | public static let d13 = CompoundDiatonicInterval(.d6, displacedBy: 1)
| |- warning: static property 'd13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 | /// Augmented twelfth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:246:23: warning: static property 'A12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
244 |
245 | /// Augmented twelfth.
246 | public static let A12 = CompoundDiatonicInterval(.A5, displacedBy: 1)
| |- warning: static property 'A12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// Minor thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:249:23: warning: static property 'm13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
247 |
248 | /// Minor thirteenth.
249 | public static let m13 = CompoundDiatonicInterval(.m6, displacedBy: 1)
| |- warning: static property 'm13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | /// Major thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:252:23: warning: static property 'M13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
250 |
251 | /// Major thirteenth.
252 | public static let M13 = CompoundDiatonicInterval(.M6, displacedBy: 1)
| |- warning: static property 'M13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 |
254 | /// Diminished fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:255:23: warning: static property 'd14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
253 |
254 | /// Diminished fourteenth.
255 | public static let d14 = CompoundDiatonicInterval(.d7, displacedBy: 1)
| |- warning: static property 'd14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | /// Augmented thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:258:23: warning: static property 'A13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
256 |
257 | /// Augmented thirteenth.
258 | public static let A13 = CompoundDiatonicInterval(.A6, displacedBy: 1)
| |- warning: static property 'A13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Minor fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:261:23: warning: static property 'm14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
259 |
260 | /// Minor fourteenth.
261 | public static let m14 = CompoundDiatonicInterval(.m7, displacedBy: 1)
| |- warning: static property 'm14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 |
263 | /// Major fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:264:23: warning: static property 'M14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
262 |
263 | /// Major fourteenth.
264 | public static let M14 = CompoundDiatonicInterval(.M7, displacedBy: 1)
| |- warning: static property 'M14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 |
266 | /// Augmented fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:267:23: warning: static property 'A14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
265 |
266 | /// Augmented fourteenth.
267 | public static let A14 = CompoundDiatonicInterval(.A7, displacedBy: 1)
| |- warning: static property 'A14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | }
269 |
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:293:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
291 |
292 | /// The `.unison` is the `Additive` `zero`.
293 | public static var zero: DiatonicInterval = .unison
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 |
295 | /// - Returns: The sum of two `DiatonicInterval` values.
[174/174] Emitting module Pitch
/host/spi-builder-workspace/Sources/Pitch/Chord/Chord.IntervalPattern.swift:38:16: warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Chord.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The pattern of intervals which defines the quality of a `Chord`.
15 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
16 |
17 | // MARK: - Instance Properties
:
36 |
37 | /// Major chord interval pattern.
38 | static let major: Chord.IntervalPattern = [4,3]
| |- warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Chord.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'major' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /// Minor chord interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Chord/Chord.IntervalPattern.swift:41:16: warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Chord.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// The pattern of intervals which defines the quality of a `Chord`.
15 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
16 |
17 | // MARK: - Instance Properties
:
39 |
40 | /// Minor chord interval pattern.
41 | static let minor: Chord.IntervalPattern = [3,4]
| |- warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Chord.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | // TODO: Add more helpers
/host/spi-builder-workspace/Sources/Pitch/Chord/ChordDescriptor.swift:60:23: warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let augmented: ChordDescriptor = [.M3, .M3]
19 | ///
20 | public struct ChordDescriptor {
| `- note: consider making struct 'ChordDescriptor' conform to the 'Sendable' protocol
21 |
22 | // MARK: - Instance Properties
:
58 | // MARK: - Type Properties
59 |
60 | public static let major: ChordDescriptor = [.M3, .m3]
| |- warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'major' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 | public static let minor: ChordDescriptor = [.m3, .M3]
62 | public static let diminished: ChordDescriptor = [.m3, .m3]
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:150:23: warning: static property 'M3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
148 |
149 | /// Major third.
150 | public static let M3 = CompoundDiatonicInterval(.M3)
| |- warning: static property 'M3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | /// Diminished fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:147:23: warning: static property 'm3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
145 |
146 | /// Minor third.
147 | public static let m3 = CompoundDiatonicInterval(.m3)
| |- warning: static property 'm3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | /// Major third.
/host/spi-builder-workspace/Sources/Pitch/Chord/ChordDescriptor.swift:61:23: warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let augmented: ChordDescriptor = [.M3, .M3]
19 | ///
20 | public struct ChordDescriptor {
| `- note: consider making struct 'ChordDescriptor' conform to the 'Sendable' protocol
21 |
22 | // MARK: - Instance Properties
:
59 |
60 | public static let major: ChordDescriptor = [.M3, .m3]
61 | public static let minor: ChordDescriptor = [.m3, .M3]
| |- warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | public static let diminished: ChordDescriptor = [.m3, .m3]
63 | public static let augmented: ChordDescriptor = [.M3, .M3]
/host/spi-builder-workspace/Sources/Pitch/Chord/ChordDescriptor.swift:62:23: warning: static property 'diminished' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let augmented: ChordDescriptor = [.M3, .M3]
19 | ///
20 | public struct ChordDescriptor {
| `- note: consider making struct 'ChordDescriptor' conform to the 'Sendable' protocol
21 |
22 | // MARK: - Instance Properties
:
60 | public static let major: ChordDescriptor = [.M3, .m3]
61 | public static let minor: ChordDescriptor = [.m3, .M3]
62 | public static let diminished: ChordDescriptor = [.m3, .m3]
| |- warning: static property 'diminished' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'diminished' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | public static let augmented: ChordDescriptor = [.M3, .M3]
64 | }
/host/spi-builder-workspace/Sources/Pitch/Chord/ChordDescriptor.swift:63:23: warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
18 | /// let augmented: ChordDescriptor = [.M3, .M3]
19 | ///
20 | public struct ChordDescriptor {
| `- note: consider making struct 'ChordDescriptor' conform to the 'Sendable' protocol
21 |
22 | // MARK: - Instance Properties
:
61 | public static let minor: ChordDescriptor = [.m3, .M3]
62 | public static let diminished: ChordDescriptor = [.m3, .m3]
63 | public static let augmented: ChordDescriptor = [.M3, .M3]
| |- warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'ChordDescriptor' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'augmented' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:126:23: warning: static property 'unison' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
124 |
125 | /// Unison.
126 | public static let unison = CompoundDiatonicInterval(.unison)
| |- warning: static property 'unison' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unison' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
127 |
128 | /// Diminished second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:58:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
56 |
57 | /// The `unison` is the `zero` for the `CompoundIntervalDescriptor` `AdditiveGroup`.
58 | public static let zero: CompoundDiatonicInterval = .unison
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// **Example Usage:**
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:123:23: warning: static property 'd1' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
121 |
122 | /// Diminished Unison.
123 | public static let d1 = CompoundDiatonicInterval(.d1)
| |- warning: static property 'd1' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
124 |
125 | /// Unison.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:215:23: warning: static property 'd1' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
213 |
214 | /// Diminished unison.
215 | public static let d1 = DiatonicInterval(.diminished, .unison)
| |- warning: static property 'd1' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// Unison.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:218:23: warning: static property 'unison' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
216 |
217 | /// Unison.
218 | public static let unison = DiatonicInterval(.perfect, .unison)
| |- warning: static property 'unison' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unison' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
219 |
220 | /// Diminished second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:129:23: warning: static property 'd2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
127 |
128 | /// Diminished second.
129 | public static let d2 = CompoundDiatonicInterval(.d2)
| |- warning: static property 'd2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 |
131 | /// Augmented unison.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:221:23: warning: static property 'd2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
219 |
220 | /// Diminished second.
221 | public static let d2 = DiatonicInterval(.diminished, .second)
| |- warning: static property 'd2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
222 |
223 | /// Augmented Unison.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:132:23: warning: static property 'A1' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
130 |
131 | /// Augmented unison.
132 | public static let A1 = CompoundDiatonicInterval(.A1)
| |- warning: static property 'A1' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 |
134 | /// Minor second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:224:23: warning: static property 'A1' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
222 |
223 | /// Augmented Unison.
224 | public static let A1 = DiatonicInterval(.augmented, .unison)
| |- warning: static property 'A1' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
225 |
226 | /// Minor second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:135:23: warning: static property 'm2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
133 |
134 | /// Minor second.
135 | public static let m2 = CompoundDiatonicInterval(.m2)
| |- warning: static property 'm2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 |
137 | /// Major second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:227:23: warning: static property 'm2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
225 |
226 | /// Minor second.
227 | public static let m2 = DiatonicInterval(.minor, .second)
| |- warning: static property 'm2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
228 |
229 | /// Major second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:138:23: warning: static property 'M2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
136 |
137 | /// Major second.
138 | public static let M2 = CompoundDiatonicInterval(.M2)
| |- warning: static property 'M2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | /// Diminished third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:230:23: warning: static property 'M2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
228 |
229 | /// Major second.
230 | public static let M2 = DiatonicInterval(.major, .second)
| |- warning: static property 'M2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 |
232 | /// Diminished third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:141:23: warning: static property 'd3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
139 |
140 | /// Diminished third.
141 | public static let d3 = CompoundDiatonicInterval(.d3)
| |- warning: static property 'd3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 |
143 | /// Augmented second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:233:23: warning: static property 'd3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
231 |
232 | /// Diminished third.
233 | public static let d3 = DiatonicInterval(.diminished, .third)
| |- warning: static property 'd3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
234 |
235 | /// Augmented second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:144:23: warning: static property 'A2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
142 |
143 | /// Augmented second.
144 | public static let A2 = CompoundDiatonicInterval(.A2)
| |- warning: static property 'A2' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 |
146 | /// Minor third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:236:23: warning: static property 'A2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
234 |
235 | /// Augmented second.
236 | public static let A2 = DiatonicInterval(.augmented, .second)
| |- warning: static property 'A2' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 |
238 | /// Minor third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:239:23: warning: static property 'm3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
237 |
238 | /// Minor third.
239 | public static let m3 = DiatonicInterval(.minor, .third)
| |- warning: static property 'm3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
240 |
241 | /// Major third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:242:23: warning: static property 'M3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
240 |
241 | /// Major third.
242 | public static let M3 = DiatonicInterval(.major, .third)
| |- warning: static property 'M3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
243 |
244 | /// Diminished fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:153:23: warning: static property 'd4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
151 |
152 | /// Diminished fourth.
153 | public static let d4 = CompoundDiatonicInterval(.d4)
| |- warning: static property 'd4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 |
155 | /// Augmented third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:245:23: warning: static property 'd4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
243 |
244 | /// Diminished fourth.
245 | public static let d4 = DiatonicInterval(.diminished, .fourth)
| |- warning: static property 'd4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 | /// Augmented third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:156:23: warning: static property 'A3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
154 |
155 | /// Augmented third.
156 | public static let A3 = CompoundDiatonicInterval(.A3)
| |- warning: static property 'A3' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 |
158 | /// Perfect fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:248:23: warning: static property 'A3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
246 |
247 | /// Augmented third.
248 | public static let A3 = DiatonicInterval(.augmented, .third)
| |- warning: static property 'A3' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// Perfect fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:159:23: warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
157 |
158 | /// Perfect fourth.
159 | public static let P4 = CompoundDiatonicInterval(.P4)
| |- warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | /// Augmented fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:251:23: warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
249 |
250 | /// Perfect fourth.
251 | public static let P4 = DiatonicInterval(.perfect, .fourth)
| |- warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
252 |
253 | /// Augmented fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:162:23: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
160 |
161 | /// Augmented fourth.
162 | public static let A4 = CompoundDiatonicInterval(.A4)
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Diminished fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:254:23: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
252 |
253 | /// Augmented fourth.
254 | public static let A4 = DiatonicInterval(.augmented, .fourth)
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | /// Diminished fifth
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:165:23: warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
163 |
164 | /// Diminished fifth.
165 | public static let d5 = CompoundDiatonicInterval(.d5)
| |- warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |
167 | /// Perfect fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:257:23: warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
255 |
256 | /// Diminished fifth
257 | public static let d5 = DiatonicInterval(.diminished, .fifth)
| |- warning: static property 'd5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 |
259 | /// Perfect fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:168:23: warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
166 |
167 | /// Perfect fifth.
168 | public static let P5 = CompoundDiatonicInterval(.P5)
| |- warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | /// Diminished sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:260:23: warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
258 |
259 | /// Perfect fifth.
260 | public static let P5 = DiatonicInterval(.perfect, .fifth)
| |- warning: static property 'P5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
261 |
262 | /// Diminished sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:171:23: warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
169 |
170 | /// Diminished sixth.
171 | public static let d6 = CompoundDiatonicInterval(.d6)
| |- warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | /// Augmented fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:263:23: warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
261 |
262 | /// Diminished sixth.
263 | public static let d6 = DiatonicInterval(.diminished, .sixth)
| |- warning: static property 'd6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 | /// Augmented fifth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:174:23: warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
172 |
173 | /// Augmented fifth.
174 | public static let A5 = CompoundDiatonicInterval(.A5)
| |- warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// Minor sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:266:23: warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
264 |
265 | /// Augmented fifth.
266 | public static let A5 = DiatonicInterval(.augmented, .fifth)
| |- warning: static property 'A5' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
267 |
268 | /// Minor sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:177:23: warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
175 |
176 | /// Minor sixth.
177 | public static let m6 = CompoundDiatonicInterval(.m6)
| |- warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
178 |
179 | /// Major sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:269:23: warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
267 |
268 | /// Minor sixth.
269 | public static let m6 = DiatonicInterval(.minor, .sixth)
| |- warning: static property 'm6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
270 |
271 | /// Major sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:180:23: warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
178 |
179 | /// Major sixth.
180 | public static let M6 = CompoundDiatonicInterval(.M6)
| |- warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 |
182 | /// Diminished seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:272:23: warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
270 |
271 | /// Major sixth.
272 | public static let M6 = DiatonicInterval(.major, .sixth)
| |- warning: static property 'M6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 | /// Diminished seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:183:23: warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
181 |
182 | /// Diminished seventh.
183 | public static let d7 = CompoundDiatonicInterval(.d7)
| |- warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 |
185 | /// Augmented sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:275:23: warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
273 |
274 | /// Diminished seventh.
275 | public static let d7 = DiatonicInterval(.diminished, .seventh)
| |- warning: static property 'd7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
276 |
277 | /// Augmented sixth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:186:23: warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
184 |
185 | /// Augmented sixth.
186 | public static let A6 = CompoundDiatonicInterval(.A6)
| |- warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 |
188 | /// Minor seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:278:23: warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
276 |
277 | /// Augmented sixth.
278 | public static let A6 = DiatonicInterval(.augmented, .sixth)
| |- warning: static property 'A6' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |
280 | /// Minor seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:189:23: warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
187 |
188 | /// Minor seventh.
189 | public static let m7 = CompoundDiatonicInterval(.m7)
| |- warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 |
191 | /// Major seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:281:23: warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
279 |
280 | /// Minor seventh.
281 | public static let m7 = DiatonicInterval(.minor, .seventh)
| |- warning: static property 'm7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 |
283 | /// Major seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:192:23: warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
190 |
191 | /// Major seventh.
192 | public static let M7 = CompoundDiatonicInterval(.M7)
| |- warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | /// Octave.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:284:23: warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
282 |
283 | /// Major seventh.
284 | public static let M7 = DiatonicInterval(.major, .seventh)
| |- warning: static property 'M7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
285 |
286 | /// Augmented seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:195:23: warning: static property 'octave' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
193 |
194 | /// Octave.
195 | public static let octave = CompoundDiatonicInterval(.unison, displacedBy: 1)
| |- warning: static property 'octave' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'octave' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
196 |
197 | /// Augmented seventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:198:23: warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
196 |
197 | /// Augmented seventh.
198 | public static let A7 = CompoundDiatonicInterval(.A7)
| |- warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 |
200 | /// Diminished octave.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:287:23: warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// Descriptor for ordered interval between two `Pitch` values.
13 | public struct DiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'DiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
285 |
286 | /// Augmented seventh.
287 | public static let A7 = DiatonicInterval(.augmented, .seventh)
| |- warning: static property 'A7' is not concurrency-safe because non-'Sendable' type 'DiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
288 | }
289 |
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:201:23: warning: static property 'd8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
199 |
200 | /// Diminished octave.
201 | public static let d8 = CompoundDiatonicInterval(.d1, displacedBy: 1)
| |- warning: static property 'd8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
202 |
203 | /// Diminished ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:204:23: warning: static property 'd9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
202 |
203 | /// Diminished ninth.
204 | public static let d9 = CompoundDiatonicInterval(.d2, displacedBy: 1)
| |- warning: static property 'd9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | /// Augmented octave.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:207:23: warning: static property 'A8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
205 |
206 | /// Augmented octave.
207 | public static let A8 = CompoundDiatonicInterval(.A1, displacedBy: 1)
| |- warning: static property 'A8' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
208 |
209 | /// Minor ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:210:23: warning: static property 'm9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
208 |
209 | /// Minor ninth.
210 | public static let m9 = CompoundDiatonicInterval(.m2, displacedBy: 1)
| |- warning: static property 'm9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
211 |
212 | /// Major ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:213:23: warning: static property 'M9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
211 |
212 | /// Major ninth.
213 | public static let M9 = CompoundDiatonicInterval(.M2, displacedBy: 1)
| |- warning: static property 'M9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 |
215 | /// Diminished tenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:216:23: warning: static property 'd10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
214 |
215 | /// Diminished tenth.
216 | public static let d10 = CompoundDiatonicInterval(.d3, displacedBy: 1)
| |- warning: static property 'd10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
217 |
218 | /// Augmented ninth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:219:23: warning: static property 'A9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
217 |
218 | /// Augmented ninth.
219 | public static let A9 = CompoundDiatonicInterval(.A2, displacedBy: 1)
| |- warning: static property 'A9' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 | /// Minor tenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:222:23: warning: static property 'm10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
220 |
221 | /// Minor tenth.
222 | public static let m10 = CompoundDiatonicInterval(.m3, displacedBy: 1)
| |- warning: static property 'm10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
223 |
224 | /// Major tenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:225:23: warning: static property 'M10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
223 |
224 | /// Major tenth.
225 | public static let M10 = CompoundDiatonicInterval(.M3, displacedBy: 1)
| |- warning: static property 'M10' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |
227 | /// Diminished eleventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:228:23: warning: static property 'd11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
226 |
227 | /// Diminished eleventh.
228 | public static let d11 = CompoundDiatonicInterval(.d4, displacedBy: 1)
| |- warning: static property 'd11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd11' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
229 |
230 | /// Perfect eleventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:231:23: warning: static property 'P11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
229 |
230 | /// Perfect eleventh.
231 | public static let P11 = CompoundDiatonicInterval(.P4, displacedBy: 1)
| |- warning: static property 'P11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P11' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |
233 | /// Augmented eleventh.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:234:23: warning: static property 'A11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
232 |
233 | /// Augmented eleventh.
234 | public static let A11 = CompoundDiatonicInterval(.A4, displacedBy: 1)
| |- warning: static property 'A11' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A11' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 |
236 | /// Diminished twelfth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:237:23: warning: static property 'd12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
235 |
236 | /// Diminished twelfth.
237 | public static let d12 = CompoundDiatonicInterval(.d5, displacedBy: 1)
| |- warning: static property 'd12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
238 |
239 | /// Perfect twelfth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:240:23: warning: static property 'P12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
238 |
239 | /// Perfect twelfth.
240 | public static let P12 = CompoundDiatonicInterval(.P5, displacedBy: 1)
| |- warning: static property 'P12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 |
242 | /// Diminished thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:243:23: warning: static property 'd13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
241 |
242 | /// Diminished thirteenth.
243 | public static let d13 = CompoundDiatonicInterval(.d6, displacedBy: 1)
| |- warning: static property 'd13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
244 |
245 | /// Augmented twelfth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:246:23: warning: static property 'A12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
244 |
245 | /// Augmented twelfth.
246 | public static let A12 = CompoundDiatonicInterval(.A5, displacedBy: 1)
| |- warning: static property 'A12' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 |
248 | /// Minor thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:249:23: warning: static property 'm13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
247 |
248 | /// Minor thirteenth.
249 | public static let m13 = CompoundDiatonicInterval(.m6, displacedBy: 1)
| |- warning: static property 'm13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
250 |
251 | /// Major thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:252:23: warning: static property 'M13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
250 |
251 | /// Major thirteenth.
252 | public static let M13 = CompoundDiatonicInterval(.M6, displacedBy: 1)
| |- warning: static property 'M13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
253 |
254 | /// Diminished fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:255:23: warning: static property 'd14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
253 |
254 | /// Diminished fourteenth.
255 | public static let d14 = CompoundDiatonicInterval(.d7, displacedBy: 1)
| |- warning: static property 'd14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
256 |
257 | /// Augmented thirteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:258:23: warning: static property 'A13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
256 |
257 | /// Augmented thirteenth.
258 | public static let A13 = CompoundDiatonicInterval(.A6, displacedBy: 1)
| |- warning: static property 'A13' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A13' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
259 |
260 | /// Minor fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:261:23: warning: static property 'm14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
259 |
260 | /// Minor fourteenth.
261 | public static let m14 = CompoundDiatonicInterval(.m7, displacedBy: 1)
| |- warning: static property 'm14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
262 |
263 | /// Major fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:264:23: warning: static property 'M14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
262 |
263 | /// Major fourteenth.
264 | public static let M14 = CompoundDiatonicInterval(.M7, displacedBy: 1)
| |- warning: static property 'M14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
265 |
266 | /// Augmented fourteenth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/CompoundDiatonicInterval.swift:267:23: warning: static property 'A14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// A descriptor for intervals between two `Pitch` values which takes into account octave
12 | /// displacement.
13 | public struct CompoundDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'CompoundDiatonicInterval' conform to the 'Sendable' protocol
14 |
15 | // MARK: - Instance Properties
:
265 |
266 | /// Augmented fourteenth.
267 | public static let A14 = CompoundDiatonicInterval(.A7, displacedBy: 1)
| |- warning: static property 'A14' is not concurrency-safe because non-'Sendable' type 'CompoundDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A14' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
268 | }
269 |
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/DiatonicInterval.swift:293:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
291 |
292 | /// The `.unison` is the `Additive` `zero`.
293 | public static var zero: DiatonicInterval = .unison
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
294 |
295 | /// - Returns: The sum of two `DiatonicInterval` values.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:181:23: warning: static property 'unison' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
179 |
180 | /// Unison.
181 | public static let unison = UnorderedDiatonicInterval(.perfect, .unison)
| |- warning: static property 'unison' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unison' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
182 |
183 | /// Diminished second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:178:23: warning: static property 'd1' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
176 |
177 | /// Diminished unison.
178 | public static let d1 = UnorderedDiatonicInterval(.diminished, .unison)
| |- warning: static property 'd1' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 |
180 | /// Unison.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:184:23: warning: static property 'd2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
182 |
183 | /// Diminished second.
184 | public static let d2 = UnorderedDiatonicInterval(.diminished, .second)
| |- warning: static property 'd2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |
186 | /// Augmented unison.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:187:23: warning: static property 'A1' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
185 |
186 | /// Augmented unison.
187 | public static let A1 = UnorderedDiatonicInterval(.augmented, .unison)
| |- warning: static property 'A1' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |
189 | /// Minor second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:190:23: warning: static property 'm2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
188 |
189 | /// Minor second.
190 | public static let m2 = UnorderedDiatonicInterval(.minor, .second)
| |- warning: static property 'm2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 |
192 | /// Major second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:193:23: warning: static property 'M2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
191 |
192 | /// Major second.
193 | public static let M2 = UnorderedDiatonicInterval(.major, .second)
| |- warning: static property 'M2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 |
195 | /// Diminished third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:196:23: warning: static property 'd3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
194 |
195 | /// Diminished third.
196 | public static let d3 = UnorderedDiatonicInterval(.diminished, .third)
| |- warning: static property 'd3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
197 |
198 | /// Augmented second.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:199:23: warning: static property 'A2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
197 |
198 | /// Augmented second.
199 | public static let A2 = UnorderedDiatonicInterval(.augmented, .second)
| |- warning: static property 'A2' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
200 |
201 | /// Minor third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:202:23: warning: static property 'm3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
200 |
201 | /// Minor third.
202 | public static let m3 = UnorderedDiatonicInterval(.minor, .third)
| |- warning: static property 'm3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'm3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 |
204 | /// Major third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:205:23: warning: static property 'M3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
203 |
204 | /// Major third.
205 | public static let M3 = UnorderedDiatonicInterval(.major, .third)
| |- warning: static property 'M3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'M3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
206 |
207 | /// Diminished fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:208:23: warning: static property 'd4' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
206 |
207 | /// Diminished fourth.
208 | public static let d4 = UnorderedDiatonicInterval(.diminished, .fourth)
| |- warning: static property 'd4' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'd4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 |
210 | /// Augmented third.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:211:23: warning: static property 'A3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
209 |
210 | /// Augmented third.
211 | public static let A3 = UnorderedDiatonicInterval(.augmented, .third)
| |- warning: static property 'A3' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
212 |
213 | /// Perfect fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:214:23: warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
212 |
213 | /// Perfect fourth.
214 | public static let P4 = UnorderedDiatonicInterval(.perfect, .fourth)
| |- warning: static property 'P4' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'P4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
215 |
216 | /// Augmented fourth.
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:217:23: warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | /// Descriptor for unordered intervals between two `Pitch.Class` values.
14 | public struct UnorderedDiatonicInterval: DiatonicIntervalProtocol {
| `- note: consider making struct 'UnorderedDiatonicInterval' conform to the 'Sendable' protocol
15 |
16 | // MARK: - Instance Properties
:
215 |
216 | /// Augmented fourth.
217 | public static let A4 = UnorderedDiatonicInterval(.augmented, .fourth)
| |- warning: static property 'A4' is not concurrency-safe because non-'Sendable' type 'UnorderedDiatonicInterval' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'A4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 | }
219 |
/host/spi-builder-workspace/Sources/Pitch/DiatonicInterval/UnorderedDiatonicInterval.swift:347:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
345 |
346 | /// The unison identity element.
347 | public static var zero: UnorderedDiatonicInterval = .unison
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
348 |
349 | /// - Returns: The sum of two `UnorderedDiatonicInterval` values.
/host/spi-builder-workspace/Sources/Pitch/Frequency.swift:25:15: error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
23 | /// let mean: Frequency = 440.0 // => "a 440"
24 | ///
25 | public struct Frequency: NewType, SignedNumeric {
| `- error: type 'Frequency' does not conform to protocol 'AdditiveArithmetic'
26 |
27 | // MARK: - Instance Properties
Swift.AdditiveArithmetic:4:17: note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout Frequency, Frequency) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout Frequency, Frequency) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
/host/spi-builder-workspace/Sources/Pitch/NoteNumber.swift:27:15: error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
25 | /// let cold: NoteNumber = 60
26 | ///
27 | public struct NoteNumber:
| `- error: type 'NoteNumber' does not conform to protocol 'AdditiveArithmetic'
28 | NewType,
29 | Comparable,
Swift.AdditiveArithmetic:4:17: note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
2 | static var zero: Self { get }
3 | static func + (lhs: Self, rhs: Self) -> Self
4 | static func += (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '+=' with type '(inout NoteNumber, NoteNumber) -> ()'
5 | static func - (lhs: Self, rhs: Self) -> Self
6 | static func -= (lhs: inout Self, rhs: Self)
| `- note: multiple matching functions named '-=' with type '(inout NoteNumber, NoteNumber) -> ()'
7 | }
Swift.AdditiveArithmetic:2:24: note: candidate exactly matches
1 | extension AdditiveArithmetic {
2 | public static func += (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
3 | public static func -= (lhs: inout Self, rhs: Self)
| `- note: candidate exactly matches
4 | }
/host/spi-builder-workspace/.build/checkouts/Structure/Sources/DataStructures/Wrapping/NewType.swift:71:24: note: candidate exactly matches
69 | }
70 |
71 | public static func += (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
72 | lhs = lhs + rhs
73 | }
:
77 | }
78 |
79 | public static func -= (lhs: inout Self, rhs: Self) {
| `- note: candidate exactly matches
80 | lhs = lhs - rhs
81 | }
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:59: warning: initializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
/host/spi-builder-workspace/Sources/Pitch/Pitch.swift:69:98: warning: initializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode
67 | /// The `Frequency` representation of this `Pitch`, with the given tuning `referenceFrequency`
68 | /// at the given `referenceNoteNumber`.
69 | public func frequency(referenceFrequency: Frequency = 440, referenceNoteNumber: NoteNumber = 69)
| |- warning: initializer 'init(integerLiteral:)' cannot be used in a default argument value because 'DataStructures' was not imported by this file; this is an error in the Swift 6 language mode
| `- note: The missing import of module 'DataStructures' will be added implicitly
70 | -> Frequency
71 | {
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:69:23: warning: static property 'chromatic' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
67 |
68 | /// Chromatic scale interval pattern.
69 | public static let chromatic: Scale.IntervalPattern = [1,1,1,1,1,1,1,1,1,1,1,1]
| |- warning: static property 'chromatic' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'chromatic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// Major scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:72:23: warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
70 |
71 | /// Major scale interval pattern.
72 | public static let major: Scale.IntervalPattern = [2,2,1,2,2,2,1]
| |- warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'major' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 |
74 | /// Chromatic scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:75:23: warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
73 |
74 | /// Chromatic scale interval pattern.
75 | public static let minor: Scale.IntervalPattern = [2,1,2,2,1,2,2]
| |- warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'minor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | /// Melodic minor ascending scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:78:23: warning: static property 'melodicMinorAscending' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
76 |
77 | /// Melodic minor ascending scale interval pattern.
78 | public static let melodicMinorAscending: Scale.IntervalPattern = [2,1,2,2,2,2,1]
| |- warning: static property 'melodicMinorAscending' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'melodicMinorAscending' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 |
80 | /// Melodic minor descending scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:81:23: warning: static property 'melodicMinorDescending' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
79 |
80 | /// Melodic minor descending scale interval pattern.
81 | public static let melodicMinorDescending: Scale.IntervalPattern = .minor
| |- warning: static property 'melodicMinorDescending' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'melodicMinorDescending' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | /// Harmonic minor scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:84:23: warning: static property 'harmonicMinor' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
82 |
83 | /// Harmonic minor scale interval pattern.
84 | public static let harmonicMinor: Scale.IntervalPattern = [2,1,2,2,1,3,1]
| |- warning: static property 'harmonicMinor' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'harmonicMinor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Octatonic 2-1 scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:87:23: warning: static property 'octatonic21' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
85 |
86 | /// Octatonic 2-1 scale interval pattern.
87 | public static let octatonic21: Scale.IntervalPattern = [2,1,2,1,2,1,2,1]
| |- warning: static property 'octatonic21' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'octatonic21' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Octatonic 1-2 scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:90:23: warning: static property 'octatonic12' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
88 |
89 | /// Octatonic 1-2 scale interval pattern.
90 | public static let octatonic12: Scale.IntervalPattern = [1,2,1,2,1,2,1,2]
| |- warning: static property 'octatonic12' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'octatonic12' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
92 | /// Whole tone scale interval pattern.
/host/spi-builder-workspace/Sources/Pitch/Scale/Scale.IntervalPattern.swift:93:23: warning: static property 'wholeTone' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
21 | /// let tetrachord = IntervalPattern([2,2,1], isLooping: false)
22 | ///
23 | public struct IntervalPattern {
| `- note: consider making struct 'IntervalPattern' conform to the 'Sendable' protocol
24 |
25 | // MARK: - Instance Properties
:
91 |
92 | /// Whole tone scale interval pattern.
93 | public static let wholeTone: Scale.IntervalPattern = [2,2,2,2,2,2]
| |- warning: static property 'wholeTone' is not concurrency-safe because non-'Sendable' type 'Scale.IntervalPattern' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'wholeTone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | }
95 |
BUILD FAILURE 6.0 linux