Build Information
Failed to build Lullaby, reference 0.2.3 (f1f42e), with Swift 6.1 for Android on 29 May 2025 16:36:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaekong/Lullaby.git
Reference: 0.2.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jaekong/Lullaby
* tag 0.2.3 -> FETCH_HEAD
HEAD is now at f1f42ec docs: remove Synth from future plans
Cloned https://github.com/jaekong/Lullaby.git
Revision (git rev-parse @):
f1f42ec442d7711ecbe457f17dc159962d65731c
SUCCESS checkout https://github.com/jaekong/Lullaby.git at 0.2.3
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/jaekong/Lullaby.git
https://github.com/jaekong/Lullaby.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "Lullaby",
"name" : "Lullaby",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Lullaby",
"targets" : [
"Lullaby"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LullabyMusic",
"targets" : [
"LullabyMusic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LullabyMiniAudioEngine",
"targets" : [
"LullabyMiniAudioEngine"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LullabyTests",
"module_type" : "SwiftTarget",
"name" : "LullabyTests",
"path" : "Tests/LullabyTests",
"sources" : [
"LullabyTests.swift"
],
"target_dependencies" : [
"Lullaby",
"LullabyMiniAudioEngine"
],
"type" : "test"
},
{
"c99name" : "LullabyMusic",
"module_type" : "SwiftTarget",
"name" : "LullabyMusic",
"path" : "Sources/LullabyMusic",
"product_memberships" : [
"Lullaby",
"LullabyMusic",
"LullabyMiniAudioEngine"
],
"sources" : [
"Extensions/Extensions.swift",
"Harmony/Interval.swift",
"Tuning/Tuning.swift"
],
"type" : "library"
},
{
"c99name" : "LullabyMiniAudioEngine",
"module_type" : "SwiftTarget",
"name" : "LullabyMiniAudioEngine",
"path" : "Sources/LullabyMiniAudioEngine",
"product_memberships" : [
"LullabyMiniAudioEngine"
],
"sources" : [
"MiniAudioEngine.swift"
],
"target_dependencies" : [
"CMiniAudio",
"Lullaby"
],
"type" : "library"
},
{
"c99name" : "Lullaby",
"module_type" : "SwiftTarget",
"name" : "Lullaby",
"path" : "Sources/Lullaby",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"Lullaby",
"LullabyMiniAudioEngine"
],
"sources" : [
"Audio/Basic.swift",
"Audio/Buffer.swift",
"Audio/Engine/DummyEngine.swift",
"Audio/Engine/Engine.swift",
"Audio/Signal.swift",
"Envelope/ADSR.swift",
"Envelope/Envelope.swift",
"Envelope/Gate.swift",
"Oscillator/Oscillator+Basic.swift",
"Oscillator/Oscillator.swift",
"Synth/Synth.swift",
"Utility/Print.swift",
"Wave/LinearInterpolatedWavetable.swift",
"Wave/Wave+Basic.swift",
"Wave/Wave.swift",
"Wave/Wavetable.swift"
],
"target_dependencies" : [
"LullabyMusic"
],
"type" : "library"
},
{
"c99name" : "CMiniAudio",
"module_type" : "ClangTarget",
"name" : "CMiniAudio",
"path" : "Sources/CMiniAudio",
"product_memberships" : [
"LullabyMiniAudioEngine"
],
"sources" : [
"miniaudio.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.02s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 0.0.7 (3.05s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 0.0.7
Building for debugging...
[0/8] Write sources
[6/8] Write swift-version-24593BA9C3E375BF.txt
[7/8] Compiling CMiniAudio miniaudio.c
[9/75] Emitting module DequeModule
[10/77] Emitting module OrderedCollections
[11/83] Compiling DequeModule _DequeSlot.swift
[12/83] Compiling DequeModule _UnsafeWrappedBuffer.swift
[13/83] Compiling DequeModule Deque.swift
[14/83] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[15/83] Compiling DequeModule _DequeBuffer.swift
[16/83] Compiling DequeModule _DequeBufferHeader.swift
[17/83] Compiling DequeModule Deque._Storage.swift
[18/83] Compiling DequeModule Deque._UnsafeHandle.swift
[19/83] Compiling DequeModule Deque+CustomDebugStringConvertible.swift
[20/83] Compiling DequeModule Deque+CustomReflectable.swift
[21/83] Compiling DequeModule Deque+CustomStringConvertible.swift
[22/83] Compiling DequeModule Compatibility.swift
[23/83] Compiling DequeModule Deque+Codable.swift
[24/83] Compiling DequeModule Deque+Collection.swift
[25/83] Compiling DequeModule Deque+Equatable.swift
[26/83] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[27/83] Compiling DequeModule Deque+Extras.swift
[28/83] Compiling DequeModule Deque+Hashable.swift
[29/83] Compiling DequeModule Deque+Testing.swift
[37/84] Compiling OrderedCollections OrderedSet+Hashable.swift
[38/84] Compiling OrderedCollections OrderedSet+Initializers.swift
[39/84] Compiling OrderedCollections OrderedSet+Insertions.swift
[40/84] Compiling OrderedCollections OrderedSet+Invariants.swift
[41/84] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[42/84] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[43/84] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[44/84] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[45/84] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[46/84] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[47/84] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[48/84] Compiling OrderedCollections OrderedSet+SubSequence.swift
[56/84] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[57/84] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[58/84] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[59/84] Compiling OrderedCollections OrderedDictionary+Values.swift
[60/84] Compiling OrderedCollections OrderedDictionary.swift
[61/84] Compiling OrderedCollections OrderedSet+Codable.swift
[67/84] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[68/84] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[69/84] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[70/84] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[71/84] Compiling OrderedCollections OrderedSet+Diffing.swift
[72/84] Compiling OrderedCollections OrderedSet+Equatable.swift
[73/84] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[75/84] Compiling OrderedCollections OrderedSet+Testing.swift
[76/84] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[77/84] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[78/84] Compiling OrderedCollections OrderedSet.swift
[79/84] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[80/84] Compiling OrderedCollections _UnsafeBitset.swift
[82/87] Compiling Collections Collections.swift
[83/87] Emitting module Collections
[85/88] Compiling LullabyMusic Extensions.swift
[86/88] Emitting module LullabyMusic
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:151:23: warning: static property 'dim2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
149 | case perfect15 = 24
150 |
151 | public static let dim2: CommonIntervals = .unison
| |- warning: static property 'dim2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let dim3: CommonIntervals = .major2
153 | public static let dim4: CommonIntervals = .major3
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:152:23: warning: static property 'dim3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
150 |
151 | public static let dim2: CommonIntervals = .unison
152 | public static let dim3: CommonIntervals = .major2
| |- warning: static property 'dim3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let dim4: CommonIntervals = .major3
154 | public static let dim5: CommonIntervals = .tritone
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:153:23: warning: static property 'dim4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
151 | public static let dim2: CommonIntervals = .unison
152 | public static let dim3: CommonIntervals = .major2
153 | public static let dim4: CommonIntervals = .major3
| |- warning: static property 'dim4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let dim5: CommonIntervals = .tritone
155 | public static let dim6: CommonIntervals = .perfect5
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:154:23: warning: static property 'dim5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
152 | public static let dim3: CommonIntervals = .major2
153 | public static let dim4: CommonIntervals = .major3
154 | public static let dim5: CommonIntervals = .tritone
| |- warning: static property 'dim5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let dim6: CommonIntervals = .perfect5
156 | public static let dim7: CommonIntervals = .major6
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:155:23: warning: static property 'dim6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
153 | public static let dim4: CommonIntervals = .major3
154 | public static let dim5: CommonIntervals = .tritone
155 | public static let dim6: CommonIntervals = .perfect5
| |- warning: static property 'dim6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let dim7: CommonIntervals = .major6
157 | public static let dim8: CommonIntervals = .major7
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:156:23: warning: static property 'dim7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
154 | public static let dim5: CommonIntervals = .tritone
155 | public static let dim6: CommonIntervals = .perfect5
156 | public static let dim7: CommonIntervals = .major6
| |- warning: static property 'dim7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let dim8: CommonIntervals = .major7
158 |
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:157:23: warning: static property 'dim8' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
155 | public static let dim6: CommonIntervals = .perfect5
156 | public static let dim7: CommonIntervals = .major6
157 | public static let dim8: CommonIntervals = .major7
| |- warning: static property 'dim8' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |
159 | // not gonna bother putting all the diminished and augmented
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:160:23: warning: static property 'dim12' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
158 |
159 | // not gonna bother putting all the diminished and augmented
160 | public static let dim12: CommonIntervals = .aug11
| |- warning: static property 'dim12' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim12' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | public static let aug1: CommonIntervals = .minor2
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:162:23: warning: static property 'aug1' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
160 | public static let dim12: CommonIntervals = .aug11
161 |
162 | public static let aug1: CommonIntervals = .minor2
| |- warning: static property 'aug1' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let aug2: CommonIntervals = .minor3
164 | public static let aug3: CommonIntervals = .perfect4
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:163:23: warning: static property 'aug2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
161 |
162 | public static let aug1: CommonIntervals = .minor2
163 | public static let aug2: CommonIntervals = .minor3
| |- warning: static property 'aug2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let aug3: CommonIntervals = .perfect4
165 | public static let aug4: CommonIntervals = .tritone
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:164:23: warning: static property 'aug3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
162 | public static let aug1: CommonIntervals = .minor2
163 | public static let aug2: CommonIntervals = .minor3
164 | public static let aug3: CommonIntervals = .perfect4
| |- warning: static property 'aug3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | public static let aug4: CommonIntervals = .tritone
166 | public static let aug5: CommonIntervals = .minor6
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:165:23: warning: static property 'aug4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
163 | public static let aug2: CommonIntervals = .minor3
164 | public static let aug3: CommonIntervals = .perfect4
165 | public static let aug4: CommonIntervals = .tritone
| |- warning: static property 'aug4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | public static let aug5: CommonIntervals = .minor6
167 | public static let aug6: CommonIntervals = .minor7
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:166:23: warning: static property 'aug5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
164 | public static let aug3: CommonIntervals = .perfect4
165 | public static let aug4: CommonIntervals = .tritone
166 | public static let aug5: CommonIntervals = .minor6
| |- warning: static property 'aug5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | public static let aug6: CommonIntervals = .minor7
168 | public static let aug7: CommonIntervals = .octave
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:167:23: warning: static property 'aug6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
165 | public static let aug4: CommonIntervals = .tritone
166 | public static let aug5: CommonIntervals = .minor6
167 | public static let aug6: CommonIntervals = .minor7
| |- warning: static property 'aug6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static let aug7: CommonIntervals = .octave
169 |
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:168:23: warning: static property 'aug7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
166 | public static let aug5: CommonIntervals = .minor6
167 | public static let aug6: CommonIntervals = .minor7
168 | public static let aug7: CommonIntervals = .octave
| |- warning: static property 'aug7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | public init(semitones: Int) {
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:190:23: warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
188 |
189 | public enum ChordClass {
190 | public static let major: Set<CommonIntervals> = [.unison, .major3, .perfect5]
| |- warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'major' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:191:23: warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
189 | public enum ChordClass {
190 | public static let major: Set<CommonIntervals> = [.unison, .major3, .perfect5]
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
| |- warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
193 | public static let augmented: Set<CommonIntervals> = [.unison, .major3, .aug5]
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:192:23: warning: static property 'diminished' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
190 | public static let major: Set<CommonIntervals> = [.unison, .major3, .perfect5]
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
| |- warning: static property 'diminished' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'diminished' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | public static let augmented: Set<CommonIntervals> = [.unison, .major3, .aug5]
194 | }
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:193:23: warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
193 | public static let augmented: Set<CommonIntervals> = [.unison, .major3, .aug5]
| |- warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'augmented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | }
195 |
/host/spi-builder-workspace/Sources/LullabyMusic/Tuning/Tuning.swift:75: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
73 |
74 | extension Ratio: AdditiveArithmetic {
75 | public static var zero: Ratio = Ratio(0, 1)
| |- 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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | public static func - (lhs: Ratio, rhs: Ratio) -> Ratio {
/host/spi-builder-workspace/Sources/LullabyMusic/Tuning/Tuning.swift:253:12: warning: let 'twelveToneEqualTemperamentTuning' is not concurrency-safe because non-'Sendable' type 'Tuning' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | /// A struct representing a tuning system.
112 | public struct Tuning: Codable {
| `- note: consider making struct 'Tuning' conform to the 'Sendable' protocol
113 | public var pitches: [Pitch]
114 | public var intervals: [Ratio]?
:
251 |
252 | /// Standard 12TET at 440Hz tuning.
253 | public let twelveToneEqualTemperamentTuning = Tuning(toneCount: 12, standardFrequency: 440)
| |- warning: let 'twelveToneEqualTemperamentTuning' is not concurrency-safe because non-'Sendable' type 'Tuning' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'twelveToneEqualTemperamentTuning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | extension Double {
[87/88] Compiling LullabyMusic Interval.swift
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:151:23: warning: static property 'dim2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
149 | case perfect15 = 24
150 |
151 | public static let dim2: CommonIntervals = .unison
| |- warning: static property 'dim2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 | public static let dim3: CommonIntervals = .major2
153 | public static let dim4: CommonIntervals = .major3
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:152:23: warning: static property 'dim3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
150 |
151 | public static let dim2: CommonIntervals = .unison
152 | public static let dim3: CommonIntervals = .major2
| |- warning: static property 'dim3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let dim4: CommonIntervals = .major3
154 | public static let dim5: CommonIntervals = .tritone
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:153:23: warning: static property 'dim4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
151 | public static let dim2: CommonIntervals = .unison
152 | public static let dim3: CommonIntervals = .major2
153 | public static let dim4: CommonIntervals = .major3
| |- warning: static property 'dim4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let dim5: CommonIntervals = .tritone
155 | public static let dim6: CommonIntervals = .perfect5
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:154:23: warning: static property 'dim5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
152 | public static let dim3: CommonIntervals = .major2
153 | public static let dim4: CommonIntervals = .major3
154 | public static let dim5: CommonIntervals = .tritone
| |- warning: static property 'dim5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let dim6: CommonIntervals = .perfect5
156 | public static let dim7: CommonIntervals = .major6
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:155:23: warning: static property 'dim6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
153 | public static let dim4: CommonIntervals = .major3
154 | public static let dim5: CommonIntervals = .tritone
155 | public static let dim6: CommonIntervals = .perfect5
| |- warning: static property 'dim6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | public static let dim7: CommonIntervals = .major6
157 | public static let dim8: CommonIntervals = .major7
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:156:23: warning: static property 'dim7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
154 | public static let dim5: CommonIntervals = .tritone
155 | public static let dim6: CommonIntervals = .perfect5
156 | public static let dim7: CommonIntervals = .major6
| |- warning: static property 'dim7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | public static let dim8: CommonIntervals = .major7
158 |
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:157:23: warning: static property 'dim8' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
155 | public static let dim6: CommonIntervals = .perfect5
156 | public static let dim7: CommonIntervals = .major6
157 | public static let dim8: CommonIntervals = .major7
| |- warning: static property 'dim8' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim8' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 |
159 | // not gonna bother putting all the diminished and augmented
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:160:23: warning: static property 'dim12' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
158 |
159 | // not gonna bother putting all the diminished and augmented
160 | public static let dim12: CommonIntervals = .aug11
| |- warning: static property 'dim12' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'dim12' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | public static let aug1: CommonIntervals = .minor2
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:162:23: warning: static property 'aug1' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
160 | public static let dim12: CommonIntervals = .aug11
161 |
162 | public static let aug1: CommonIntervals = .minor2
| |- warning: static property 'aug1' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug1' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 | public static let aug2: CommonIntervals = .minor3
164 | public static let aug3: CommonIntervals = .perfect4
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:163:23: warning: static property 'aug2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
161 |
162 | public static let aug1: CommonIntervals = .minor2
163 | public static let aug2: CommonIntervals = .minor3
| |- warning: static property 'aug2' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug2' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | public static let aug3: CommonIntervals = .perfect4
165 | public static let aug4: CommonIntervals = .tritone
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:164:23: warning: static property 'aug3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
162 | public static let aug1: CommonIntervals = .minor2
163 | public static let aug2: CommonIntervals = .minor3
164 | public static let aug3: CommonIntervals = .perfect4
| |- warning: static property 'aug3' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug3' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 | public static let aug4: CommonIntervals = .tritone
166 | public static let aug5: CommonIntervals = .minor6
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:165:23: warning: static property 'aug4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
163 | public static let aug2: CommonIntervals = .minor3
164 | public static let aug3: CommonIntervals = .perfect4
165 | public static let aug4: CommonIntervals = .tritone
| |- warning: static property 'aug4' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug4' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 | public static let aug5: CommonIntervals = .minor6
167 | public static let aug6: CommonIntervals = .minor7
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:166:23: warning: static property 'aug5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
164 | public static let aug3: CommonIntervals = .perfect4
165 | public static let aug4: CommonIntervals = .tritone
166 | public static let aug5: CommonIntervals = .minor6
| |- warning: static property 'aug5' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug5' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | public static let aug6: CommonIntervals = .minor7
168 | public static let aug7: CommonIntervals = .octave
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:167:23: warning: static property 'aug6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
165 | public static let aug4: CommonIntervals = .tritone
166 | public static let aug5: CommonIntervals = .minor6
167 | public static let aug6: CommonIntervals = .minor7
| |- warning: static property 'aug6' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug6' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static let aug7: CommonIntervals = .octave
169 |
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:168:23: warning: static property 'aug7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
166 | public static let aug5: CommonIntervals = .minor6
167 | public static let aug6: CommonIntervals = .minor7
168 | public static let aug7: CommonIntervals = .octave
| |- warning: static property 'aug7' is not concurrency-safe because non-'Sendable' type 'CommonIntervals' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'aug7' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 |
170 | public init(semitones: Int) {
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:190:23: warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
188 |
189 | public enum ChordClass {
190 | public static let major: Set<CommonIntervals> = [.unison, .major3, .perfect5]
| |- warning: static property 'major' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'major' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:191:23: warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
189 | public enum ChordClass {
190 | public static let major: Set<CommonIntervals> = [.unison, .major3, .perfect5]
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
| |- warning: static property 'minor' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'minor' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
193 | public static let augmented: Set<CommonIntervals> = [.unison, .major3, .aug5]
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:192:23: warning: static property 'diminished' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
190 | public static let major: Set<CommonIntervals> = [.unison, .major3, .perfect5]
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
| |- warning: static property 'diminished' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'diminished' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | public static let augmented: Set<CommonIntervals> = [.unison, .major3, .aug5]
194 | }
/host/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:193:23: warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
120 |
121 | /// Common Intervals in 12TET based western music theory.
122 | public enum CommonIntervals: Int, Hashable {
| `- note: consider making enum 'CommonIntervals' conform to the 'Sendable' protocol
123 | case unison = 0
124 | case minor2 = 1
:
191 | public static let minor: Set<CommonIntervals> = [.unison, .minor3, .perfect5]
192 | public static let diminished: Set<CommonIntervals> = [.unison, .minor3, .dim5]
193 | public static let augmented: Set<CommonIntervals> = [.unison, .major3, .aug5]
| |- warning: static property 'augmented' is not concurrency-safe because non-'Sendable' type 'Set<CommonIntervals>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'augmented' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
194 | }
195 |
[88/88] Compiling LullabyMusic Tuning.swift
/host/spi-builder-workspace/Sources/LullabyMusic/Tuning/Tuning.swift:75: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
73 |
74 | extension Ratio: AdditiveArithmetic {
75 | public static var zero: Ratio = Ratio(0, 1)
| |- 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: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 |
77 | public static func - (lhs: Ratio, rhs: Ratio) -> Ratio {
/host/spi-builder-workspace/Sources/LullabyMusic/Tuning/Tuning.swift:253:12: warning: let 'twelveToneEqualTemperamentTuning' is not concurrency-safe because non-'Sendable' type 'Tuning' may have shared mutable state; this is an error in the Swift 6 language mode
110 |
111 | /// A struct representing a tuning system.
112 | public struct Tuning: Codable {
| `- note: consider making struct 'Tuning' conform to the 'Sendable' protocol
113 | public var pitches: [Pitch]
114 | public var intervals: [Ratio]?
:
251 |
252 | /// Standard 12TET at 440Hz tuning.
253 | public let twelveToneEqualTemperamentTuning = Tuning(toneCount: 12, standardFrequency: 440)
| |- warning: let 'twelveToneEqualTemperamentTuning' is not concurrency-safe because non-'Sendable' type 'Tuning' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'twelveToneEqualTemperamentTuning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
254 |
255 | extension Double {
[90/104] Compiling Lullaby Oscillator+Basic.swift
[91/104] Compiling Lullaby Oscillator.swift
[92/106] Compiling Lullaby Basic.swift
[93/106] Compiling Lullaby Buffer.swift
[94/106] Compiling Lullaby DummyEngine.swift
/host/spi-builder-workspace/Sources/Lullaby/Audio/Engine/DummyEngine.swift:29:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
27 |
28 | public func start() throws {
29 | audioTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
30 | let secondsPerFrame = 1.0 / Float(sampleRate)
| `- note: closure captures 'self' which is accessible to code in the current task
31 | var secondsOffset: Time = 0
32 |
[95/106] Compiling Lullaby Engine.swift
/host/spi-builder-workspace/Sources/Lullaby/Audio/Engine/DummyEngine.swift:29:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
27 |
28 | public func start() throws {
29 | audioTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
30 | let secondsPerFrame = 1.0 / Float(sampleRate)
| `- note: closure captures 'self' which is accessible to code in the current task
31 | var secondsOffset: Time = 0
32 |
[96/106] Compiling Lullaby Wave.swift
[97/106] Compiling Lullaby Wavetable.swift
[98/106] Compiling Lullaby Signal.swift
[99/106] Compiling Lullaby ADSR.swift
[100/106] Compiling Lullaby Envelope.swift
[101/106] Compiling Lullaby Gate.swift
[102/106] Compiling Lullaby Synth.swift
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:59:34: warning: non-sendable type 'Signal' of property 'output' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
57 | public func play(event: SynthEvent) async {
58 | let synth = MonophonicSynth(wave: wave, envelope: envelope)
59 | let signal = await synth.output
| `- warning: non-sendable type 'Signal' of property 'output' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
60 |
61 | signals.append(signal)
/host/spi-builder-workspace/Sources/Lullaby/Audio/Signal.swift:5:15: note: consider making struct 'Signal' conform to the 'Sendable' protocol
3 | public typealias DSPFunction = (Time) -> (Sample)
4 |
5 | public struct Signal {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
6 | public var function: DSPFunction
7 | fileprivate let uuid = UUID()
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:26:29: warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
24 | public func play(event: SynthEvent) async {
25 | self.oscillator.frequency = event.frequency
26 | await self.envelope.impulse(sustain: event.duration)
| |- warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.envelope' to nonisolated instance method 'impulse(sustain:)' risks causing data races between nonisolated and 'self'-isolated uses
27 | await Task.sleep(seconds: self.envelope.envelope.release)
28 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:58:21: warning: sending 'self.wave' risks causing data races; this is an error in the Swift 6 language mode
56 |
57 | public func play(event: SynthEvent) async {
58 | let synth = MonophonicSynth(wave: wave, envelope: envelope)
| |- warning: sending 'self.wave' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.wave' to actor-isolated initializer 'init(wave:envelope:)' risks causing data races between actor-isolated and 'self'-isolated uses
59 | let signal = await synth.output
60 |
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:58:21: warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
56 |
57 | public func play(event: SynthEvent) async {
58 | let synth = MonophonicSynth(wave: wave, envelope: envelope)
| |- warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.envelope' to actor-isolated initializer 'init(wave:envelope:)' risks causing data races between actor-isolated and 'self'-isolated uses
59 | let signal = await synth.output
60 |
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:64:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
62 | currentPolyphonyCount = currentPolyphonyCount + 1
63 |
64 | await synth.play(event: event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'event' to actor-isolated instance method 'play(event:)' risks causing data races between actor-isolated and 'self'-isolated uses
65 |
66 | signals.removeAll { $0 == signal }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:73:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | await withTaskGroup(of: Void.self, returning: Void.self) { group in
72 | for event in events {
73 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to 'self'-isolated code
75 | }
76 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:85:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | nonisolated public func play(event: SynthEvent) {
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to code in the current task
87 | }
88 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:86:24: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
84 | nonisolated public func play(event: SynthEvent) {
85 | Task {
86 | await self.play(event: event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'event' to actor-isolated instance method 'play(event:)' risks causing data races between actor-isolated and task-isolated uses
87 | }
88 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:91:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
89 |
90 | nonisolated public func play(events: [SynthEvent]) {
91 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
92 | await self.play(events: events)
| `- note: closure captures 'events' which is accessible to code in the current task
93 | }
94 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:92:24: warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
90 | nonisolated public func play(events: [SynthEvent]) {
91 | Task {
92 | await self.play(events: events)
| |- warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'events' to actor-isolated instance method 'play(events:)' risks causing data races between actor-isolated and task-isolated uses
93 | }
94 | }
[103/106] Compiling Lullaby Print.swift
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:59:34: warning: non-sendable type 'Signal' of property 'output' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
57 | public func play(event: SynthEvent) async {
58 | let synth = MonophonicSynth(wave: wave, envelope: envelope)
59 | let signal = await synth.output
| `- warning: non-sendable type 'Signal' of property 'output' cannot exit actor-isolated context; this is an error in the Swift 6 language mode
60 |
61 | signals.append(signal)
/host/spi-builder-workspace/Sources/Lullaby/Audio/Signal.swift:5:15: note: consider making struct 'Signal' conform to the 'Sendable' protocol
3 | public typealias DSPFunction = (Time) -> (Sample)
4 |
5 | public struct Signal {
| `- note: consider making struct 'Signal' conform to the 'Sendable' protocol
6 | public var function: DSPFunction
7 | fileprivate let uuid = UUID()
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:26:29: warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
24 | public func play(event: SynthEvent) async {
25 | self.oscillator.frequency = event.frequency
26 | await self.envelope.impulse(sustain: event.duration)
| |- warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.envelope' to nonisolated instance method 'impulse(sustain:)' risks causing data races between nonisolated and 'self'-isolated uses
27 | await Task.sleep(seconds: self.envelope.envelope.release)
28 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:58:21: warning: sending 'self.wave' risks causing data races; this is an error in the Swift 6 language mode
56 |
57 | public func play(event: SynthEvent) async {
58 | let synth = MonophonicSynth(wave: wave, envelope: envelope)
| |- warning: sending 'self.wave' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.wave' to actor-isolated initializer 'init(wave:envelope:)' risks causing data races between actor-isolated and 'self'-isolated uses
59 | let signal = await synth.output
60 |
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:58:21: warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
56 |
57 | public func play(event: SynthEvent) async {
58 | let synth = MonophonicSynth(wave: wave, envelope: envelope)
| |- warning: sending 'self.envelope' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'self.envelope' to actor-isolated initializer 'init(wave:envelope:)' risks causing data races between actor-isolated and 'self'-isolated uses
59 | let signal = await synth.output
60 |
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:64:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
62 | currentPolyphonyCount = currentPolyphonyCount + 1
63 |
64 | await synth.play(event: event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'event' to actor-isolated instance method 'play(event:)' risks causing data races between actor-isolated and 'self'-isolated uses
65 |
66 | signals.removeAll { $0 == signal }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:73:31: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
71 | await withTaskGroup(of: Void.self, returning: Void.self) { group in
72 | for event in events {
73 | group.addTask {
| `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
74 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to 'self'-isolated code
75 | }
76 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:85:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
83 |
84 | nonisolated public func play(event: SynthEvent) {
85 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
86 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to code in the current task
87 | }
88 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:86:24: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
84 | nonisolated public func play(event: SynthEvent) {
85 | Task {
86 | await self.play(event: event)
| |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'event' to actor-isolated instance method 'play(event:)' risks causing data races between actor-isolated and task-isolated uses
87 | }
88 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:91:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
89 |
90 | nonisolated public func play(events: [SynthEvent]) {
91 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
92 | await self.play(events: events)
| `- note: closure captures 'events' which is accessible to code in the current task
93 | }
94 | }
/host/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:92:24: warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
90 | nonisolated public func play(events: [SynthEvent]) {
91 | Task {
92 | await self.play(events: events)
| |- warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'events' to actor-isolated instance method 'play(events:)' risks causing data races between actor-isolated and task-isolated uses
93 | }
94 | }
[104/106] Compiling Lullaby LinearInterpolatedWavetable.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:12:23: warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
| |- warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampUp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:13:23: warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
| |- warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampDown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let constant = wavetable(from: [1])
15 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:14:23: warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
| |- warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// A pre-defined wavetable based sine wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:17:23: warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A pre-defined wavetable based sine wave function.
17 | public static let sine = wavetable(from: LookupTables.sineTable)
| |- warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:20:23: warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
20 | public static let triangle = linearInterpolatedWavetable(samplePoints: [0, 1, 0, -1, 0])
| |- warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// A pre-defined wavetable based square wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:23:23: warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// A pre-defined wavetable based square wave function.
23 | public static let square = wavetable(from: LookupTables.squareTable)
| |- warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'square' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[105/106] Compiling Lullaby Wave+Basic.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:12:23: warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
| |- warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampUp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:13:23: warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
| |- warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampDown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let constant = wavetable(from: [1])
15 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:14:23: warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
| |- warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// A pre-defined wavetable based sine wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:17:23: warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A pre-defined wavetable based sine wave function.
17 | public static let sine = wavetable(from: LookupTables.sineTable)
| |- warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:20:23: warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
20 | public static let triangle = linearInterpolatedWavetable(samplePoints: [0, 1, 0, -1, 0])
| |- warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// A pre-defined wavetable based square wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:23:23: warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// A pre-defined wavetable based square wave function.
23 | public static let square = wavetable(from: LookupTables.squareTable)
| |- warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'square' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[106/106] Emitting module Lullaby
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:12:23: warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
| |- warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampUp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:13:23: warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
| |- warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampDown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let constant = wavetable(from: [1])
15 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:14:23: warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
| |- warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// A pre-defined wavetable based sine wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:17:23: warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A pre-defined wavetable based sine wave function.
17 | public static let sine = wavetable(from: LookupTables.sineTable)
| |- warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:20:23: warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
20 | public static let triangle = linearInterpolatedWavetable(samplePoints: [0, 1, 0, -1, 0])
| |- warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// A pre-defined wavetable based square wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:23:23: warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// A pre-defined wavetable based square wave function.
23 | public static let square = wavetable(from: LookupTables.squareTable)
| |- warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'square' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/68] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[3/68] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[4/68] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[5/68] Compiling OrderedCollections _HashTable+Testing.swift
[6/70] Compiling OrderedCollections _Hashtable+Header.swift
[7/70] Compiling OrderedCollections OrderedDictionary+Codable.swift
[8/70] Compiling LullabyMusic Interval.swift
[9/70] Emitting module LullabyMusic
[10/70] Compiling DequeModule _DequeSlot.swift
[11/70] Compiling DequeModule _UnsafeWrappedBuffer.swift
[12/70] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[13/70] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[14/70] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[15/70] Compiling OrderedCollections OrderedDictionary+Elements.swift
[16/70] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[17/70] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[18/70] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[19/70] Compiling OrderedCollections _HashTable.swift
[20/70] Compiling OrderedCollections _HashTable+Bucket.swift
[21/70] Compiling OrderedCollections _HashTable+BucketIterator.swift
[22/70] Compiling OrderedCollections _HashTable+Constants.swift
[23/70] Compiling OrderedCollections OrderedSet+Hashable.swift
[24/70] Compiling OrderedCollections OrderedSet+Initializers.swift
[25/70] Compiling OrderedCollections OrderedSet+Insertions.swift
[26/70] Compiling OrderedCollections OrderedSet+Invariants.swift
[27/70] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[28/70] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[29/76] Emitting module DequeModule
[30/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[31/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[32/76] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[33/76] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[34/76] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[35/76] Compiling OrderedCollections OrderedSet+SubSequence.swift
[36/76] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[37/76] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[38/76] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[39/76] Compiling OrderedCollections OrderedSet+Diffing.swift
[40/76] Compiling OrderedCollections OrderedSet+Equatable.swift
[41/76] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[43/77] Compiling LullabyMusic Extensions.swift
[44/77] Compiling LullabyMusic Tuning.swift
[50/78] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[51/78] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[52/78] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[53/78] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[54/78] Compiling OrderedCollections OrderedDictionary+Values.swift
[55/78] Compiling OrderedCollections OrderedDictionary.swift
[56/78] Compiling OrderedCollections OrderedSet+Codable.swift
[72/78] Emitting module OrderedCollections
[73/78] Compiling OrderedCollections OrderedSet+Testing.swift
[74/78] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[75/78] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[76/78] Compiling OrderedCollections OrderedSet.swift
[77/78] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[78/78] Compiling OrderedCollections _UnsafeBitset.swift
[80/81] Compiling Collections Collections.swift
[81/81] Emitting module Collections
[83/97] Compiling Lullaby DummyEngine.swift
[84/97] Compiling Lullaby Engine.swift
[85/99] Compiling Lullaby Signal.swift
[86/99] Compiling Lullaby ADSR.swift
[87/99] Compiling Lullaby Oscillator+Basic.swift
[88/99] Compiling Lullaby Oscillator.swift
[89/99] Compiling Lullaby Envelope.swift
[90/99] Compiling Lullaby Gate.swift
[91/99] Compiling Lullaby Wave.swift
[92/99] Compiling Lullaby Wavetable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[93/99] Compiling Lullaby Basic.swift
[94/99] Compiling Lullaby Buffer.swift
[95/99] Emitting module Lullaby
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
[96/99] Compiling Lullaby Synth.swift
[97/99] Compiling Lullaby Print.swift
[98/99] Compiling Lullaby LinearInterpolatedWavetable.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
[99/99] Compiling Lullaby Wave+Basic.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
BUILD FAILURE 6.1 android