Build Information
Successful build of Lullaby, reference main (a3f5a6), with Swift 6.1 for macOS (SPM) on 15 Apr 2026 00:12:14 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaekong/Lullaby.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaekong/Lullaby
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a3f5a6f Merge branch 'main' of https://github.com/jtodaone/Lullaby
Cloned https://github.com/jaekong/Lullaby.git
Revision (git rev-parse @):
a3f5a6f575513e5281bb304eb058566c25d96497
SUCCESS checkout https://github.com/jaekong/Lullaby.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jaekong/Lullaby.git
https://github.com/jaekong/Lullaby.git
{
"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" : "/Users/admin/builder/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" : [
"LullabyMusicTest.swift",
"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",
"Scale/Scale.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+Basic.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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/8] Write sources
[6/8] Write swift-version-2F0A5646E1D333AE.txt
[8/78] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[9/78] Compiling OrderedCollections OrderedDictionary+Values.swift
[10/79] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[11/79] Compiling OrderedCollections _HashTable.swift
[12/79] Compiling OrderedCollections _Hashtable+Header.swift
[13/79] Compiling OrderedCollections OrderedDictionary+Codable.swift
[14/79] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[15/84] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[16/84] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[17/84] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[18/84] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[19/84] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[20/84] Compiling DequeModule _UnsafeWrappedBuffer.swift
[21/84] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[22/84] Compiling OrderedCollections OrderedSet+Hashable.swift
[23/84] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[24/84] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[25/84] Compiling OrderedCollections OrderedDictionary.swift
[26/84] Compiling OrderedCollections OrderedSet+Equatable.swift
[27/84] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[28/84] Compiling OrderedCollections OrderedDictionary+Elements.swift
[29/84] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[30/84] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[31/84] Compiling OrderedCollections _HashTable+Bucket.swift
[32/84] Compiling OrderedCollections _HashTable+BucketIterator.swift
[33/84] Compiling OrderedCollections _HashTable+Constants.swift
[34/84] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[35/84] Compiling OrderedCollections _HashTable+Testing.swift
[36/84] Compiling OrderedCollections OrderedSet+Codable.swift
[37/84] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[38/84] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[39/84] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[40/84] Compiling OrderedCollections OrderedSet+Diffing.swift
[41/84] Compiling OrderedCollections OrderedSet+Invariants.swift
[42/84] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[43/84] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[44/84] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[45/84] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[49/84] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[50/84] Emitting module DequeModule
[53/84] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[54/84] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[55/84] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[56/84] Compiling OrderedCollections OrderedSet+SubSequence.swift
[57/84] Compiling OrderedCollections OrderedSet+Testing.swift
[61/84] Compiling OrderedCollections OrderedSet+Initializers.swift
[62/84] Compiling OrderedCollections OrderedSet+Insertions.swift
[73/84] Emitting module OrderedCollections
[74/84] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[75/84] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[76/84] Compiling OrderedCollections OrderedSet.swift
[77/84] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[78/84] Compiling OrderedCollections _UnsafeBitset.swift
[79/86] Compiling Collections Collections.swift
[80/86] Emitting module Collections
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29431:36: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29431 | propAddressDevices.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29465:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29465 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29507:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29507 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29536:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29536 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29591:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29591 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29629:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29629 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29719:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29719 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29841:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29841 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29879:29: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29879 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:29908:41: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
29908 | propAddressDefaultDevice.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:30982:37: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
30982 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:31012:37: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
31012 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/Users/admin/builder/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:31446:37: warning: 'kAudioObjectPropertyElementMaster' is deprecated: first deprecated in macOS 12.0 [-Wdeprecated-declarations]
31446 | propAddress.mElement = kAudioObjectPropertyElementMaster;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| kAudioObjectPropertyElementMain
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreAudio.framework/Headers/AudioHardwareBase.h:208:5: note: 'kAudioObjectPropertyElementMaster' has been explicitly marked deprecated here
208 | kAudioObjectPropertyElementMaster API_DEPRECATED_WITH_REPLACEMENT("kAudioObjectPropertyElementMain", macos(10.0, 12.0), ios(2.0, 15.0), watchos(1.0, 8.0), tvos(9.0, 15.0)) = kAudioObjectPropertyElementMain
| ^
13 warnings generated.
[80/86] Compiling CMiniAudio miniaudio.c
[82/86] Compiling LullabyMusic Scale.swift
[83/86] Compiling LullabyMusic Tuning.swift
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/LullabyMusic/Tuning/Tuning.swift:254:16: warning: static property 'twelveToneEqualTemperament' 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]?
:
252 | public extension Tuning {
253 | /// Standard 12TET at 440Hz tuning.
254 | static let twelveToneEqualTemperament = Tuning(toneCount: 12, standardFrequency: 440)
| |- warning: static property 'twelveToneEqualTemperament' 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 static property 'twelveToneEqualTemperament' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | }
256 |
[84/86] Emitting module LullabyMusic
/Users/admin/builder/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:183:24: warning: static property 'base' is not concurrency-safe because non-'Sendable' type '[(key: ChordClass, value: Chord)]' (aka 'Array<(key: ChordClass, value: Set<Interval>)>') may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Interval Classes in 12TET based western music theory.
15 | public enum Interval: Hashable, Comparable, Codable {
| `- note: consider making enum 'Interval' conform to the 'Sendable' protocol
16 | case unison
17 | case major(Int)
:
180 | }
181 |
182 | public enum ChordClass {
| `- note: consider making enum 'ChordClass' conform to the 'Sendable' protocol
183 | private static let base: [(key: ChordClass, value: Chord)] = [
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type '[(key: ChordClass, value: Chord)]' (aka 'Array<(key: ChordClass, value: Set<Interval>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | (.major(), [.unison, .major(3), .perfect(5)]),
185 | (.minor(), [.unison, .minor(3), .perfect(5)]),
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/LullabyMusic/Tuning/Tuning.swift:254:16: warning: static property 'twelveToneEqualTemperament' 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]?
:
252 | public extension Tuning {
253 | /// Standard 12TET at 440Hz tuning.
254 | static let twelveToneEqualTemperament = Tuning(toneCount: 12, standardFrequency: 440)
| |- warning: static property 'twelveToneEqualTemperament' 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 static property 'twelveToneEqualTemperament' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 | }
256 |
[85/86] Compiling LullabyMusic Interval.swift
/Users/admin/builder/spi-builder-workspace/Sources/LullabyMusic/Harmony/Interval.swift:183:24: warning: static property 'base' is not concurrency-safe because non-'Sendable' type '[(key: ChordClass, value: Chord)]' (aka 'Array<(key: ChordClass, value: Set<Interval>)>') may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Interval Classes in 12TET based western music theory.
15 | public enum Interval: Hashable, Comparable, Codable {
| `- note: consider making enum 'Interval' conform to the 'Sendable' protocol
16 | case unison
17 | case major(Int)
:
180 | }
181 |
182 | public enum ChordClass {
| `- note: consider making enum 'ChordClass' conform to the 'Sendable' protocol
183 | private static let base: [(key: ChordClass, value: Chord)] = [
| |- warning: static property 'base' is not concurrency-safe because non-'Sendable' type '[(key: ChordClass, value: Chord)]' (aka 'Array<(key: ChordClass, value: Set<Interval>)>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'base' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
184 | (.major(), [.unison, .major(3), .perfect(5)]),
185 | (.minor(), [.unison, .minor(3), .perfect(5)]),
[86/86] Compiling LullabyMusic Extensions.swift
[87/103] Compiling Lullaby Wave.swift
[88/104] Emitting module Lullaby
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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 |
[89/104] Compiling Lullaby Print.swift
[90/104] Compiling Lullaby LinearInterpolatedWavetable.swift
[91/104] Compiling Lullaby Wave+Basic.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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'
/Users/admin/builder/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 |
[92/104] Compiling Lullaby ADSR.swift
[93/104] Compiling Lullaby Envelope.swift
[94/104] Compiling Lullaby Gate.swift
[95/104] Compiling Lullaby Oscillator+Basic.swift
[96/104] Compiling Lullaby DummyEngine.swift
/Users/admin/builder/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 |
[97/104] Compiling Lullaby Engine.swift
/Users/admin/builder/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 |
[98/104] Compiling Lullaby Signal+Basic.swift
[99/104] Compiling Lullaby Signal.swift
[100/104] Compiling Lullaby Oscillator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:42: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
40 |
41 | public func play(event: SynthEvent) {
42 | 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
43 | await self.play(event: event)
| `- note: closure captures 'self' which is accessible to code in the current task
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:88:33: warning: sending value of non-Sendable type 'MonophonicSynth' risks causing data races; this is an error in the Swift 6 language mode
86 |
87 | let playTask = Task {
88 | await synths[index].play(event: event)
| |- warning: sending value of non-Sendable type 'MonophonicSynth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated value of non-Sendable type 'MonophonicSynth' to nonisolated instance method 'play(event:)' risks causing races in between 'self'-isolated and nonisolated uses
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:104: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
102 | await withTaskGroup(of: Void.self, returning: Void.self) { group in
103 | for event in events {
104 | 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
105 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to 'self'-isolated code
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:118: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
116 |
117 | nonisolated public func play(event: SynthEvent) {
118 | 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
119 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to code in the current task
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:119:24: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
117 | nonisolated public func play(event: SynthEvent) {
118 | Task {
119 | 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
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:124: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
122 |
123 | nonisolated public func play(events: [SynthEvent]) {
124 | 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
125 | await self.play(events: events)
| `- note: closure captures 'events' which is accessible to code in the current task
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:125:24: warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
123 | nonisolated public func play(events: [SynthEvent]) {
124 | Task {
125 | 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
126 | }
127 | }
[101/104] Compiling Lullaby Synth.swift
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:42: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
40 |
41 | public func play(event: SynthEvent) {
42 | 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
43 | await self.play(event: event)
| `- note: closure captures 'self' which is accessible to code in the current task
44 | }
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:88:33: warning: sending value of non-Sendable type 'MonophonicSynth' risks causing data races; this is an error in the Swift 6 language mode
86 |
87 | let playTask = Task {
88 | await synths[index].play(event: event)
| |- warning: sending value of non-Sendable type 'MonophonicSynth' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated value of non-Sendable type 'MonophonicSynth' to nonisolated instance method 'play(event:)' risks causing races in between 'self'-isolated and nonisolated uses
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:104: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
102 | await withTaskGroup(of: Void.self, returning: Void.self) { group in
103 | for event in events {
104 | 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
105 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to 'self'-isolated code
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:118: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
116 |
117 | nonisolated public func play(event: SynthEvent) {
118 | 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
119 | await self.play(event: event)
| `- note: closure captures 'event' which is accessible to code in the current task
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:119:24: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
117 | nonisolated public func play(event: SynthEvent) {
118 | Task {
119 | 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
120 | }
121 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:124: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
122 |
123 | nonisolated public func play(events: [SynthEvent]) {
124 | 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
125 | await self.play(events: events)
| `- note: closure captures 'events' which is accessible to code in the current task
126 | }
127 | }
/Users/admin/builder/spi-builder-workspace/Sources/Lullaby/Synth/Synth.swift:125:24: warning: sending 'events' risks causing data races; this is an error in the Swift 6 language mode
123 | nonisolated public func play(events: [SynthEvent]) {
124 | Task {
125 | 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
126 | }
127 | }
[102/104] Compiling Lullaby Basic.swift
[103/104] Compiling Lullaby Buffer.swift
[104/104] Compiling Lullaby Wavetable.swift
[105/106] Emitting module LullabyMiniAudioEngine
[106/106] Compiling LullabyMiniAudioEngine MiniAudioEngine.swift
Build complete! (8.77s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (1.62s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 0.0.7 (2.26s)
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
Build complete.
{
"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" : "/Users/admin/builder/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" : [
"LullabyMusicTest.swift",
"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",
"Scale/Scale.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+Basic.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"
}
Done.