The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Lullaby, reference main (a3f5a6), with Swift 6.1 for Linux on 15 Apr 2026 00:12:12 UTC.

Swift 6 data race errors: 9

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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

Build 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 /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
 * 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:         linux
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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-collections.git
[1/23537] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 0.0.7 (3.21s)
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/76] Compiling DequeModule Deque+CustomDebugStringConvertible.swift
[10/76] Compiling DequeModule Deque+CustomReflectable.swift
[11/76] Compiling DequeModule Deque+CustomStringConvertible.swift
[12/76] Compiling DequeModule Deque+Equatable.swift
[13/76] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[14/76] Compiling DequeModule Deque+Extras.swift
[15/78] Compiling DequeModule Deque._Storage.swift
[16/78] Compiling DequeModule Deque._UnsafeHandle.swift
[17/78] Compiling DequeModule Deque+Hashable.swift
[18/78] Compiling DequeModule Deque+Testing.swift
[19/78] Compiling DequeModule Deque.swift
[20/78] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[21/78] Compiling DequeModule _DequeBuffer.swift
[22/78] Compiling DequeModule _DequeBufferHeader.swift
[23/78] Emitting module OrderedCollections
[24/78] Emitting module DequeModule
[25/78] Compiling DequeModule Compatibility.swift
[26/78] Compiling DequeModule Deque+Codable.swift
[27/78] Compiling DequeModule Deque+Collection.swift
[34/84] Compiling OrderedCollections _HashTable+Bucket.swift
[35/84] Compiling OrderedCollections _HashTable+BucketIterator.swift
[36/84] Compiling OrderedCollections _HashTable+Constants.swift
[37/84] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[38/84] Compiling OrderedCollections _HashTable+Testing.swift
[39/84] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[40/84] Compiling OrderedCollections _HashTable.swift
[41/84] Compiling OrderedCollections OrderedSet+Hashable.swift
[42/84] Compiling OrderedCollections OrderedSet+Initializers.swift
[43/84] Compiling OrderedCollections OrderedSet+Insertions.swift
[44/84] Compiling OrderedCollections OrderedSet+Invariants.swift
[45/84] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[46/84] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[53/84] Compiling DequeModule _UnsafeWrappedBuffer.swift
[54/84] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[55/84] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[56/84] Compiling OrderedCollections OrderedDictionary+Values.swift
[57/84] Compiling OrderedCollections OrderedDictionary.swift
[58/84] Compiling OrderedCollections OrderedSet+Codable.swift
[64/84] Compiling DequeModule _DequeSlot.swift
[65/84] Compiling OrderedCollections _Hashtable+Header.swift
[66/84] Compiling OrderedCollections OrderedDictionary+Codable.swift
[67/84] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[68/84] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[69/84] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[70/84] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[71/84] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[75/85] Compiling OrderedCollections OrderedSet+Testing.swift
[76/85] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[77/85] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[78/85] Compiling OrderedCollections OrderedSet.swift
[79/85] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[80/85] Compiling OrderedCollections _UnsafeBitset.swift
[82/88] Emitting module Collections
[83/88] Emitting module LullabyMusic
/host/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)]),
/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: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/88] Compiling Collections Collections.swift
[85/89] 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: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 |
[86/89] Compiling LullabyMusic Scale.swift
[88/89] Compiling LullabyMusic Extensions.swift
[89/89] Compiling LullabyMusic Interval.swift
/host/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)]),
[91/106] Emitting module Lullaby
<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 |
[92/108] Compiling Lullaby Oscillator+Basic.swift
[93/108] Compiling Lullaby Oscillator.swift
[94/108] Compiling Lullaby LinearInterpolatedWavetable.swift
<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 |
[95/108] Compiling Lullaby Wave+Basic.swift
<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 |
[96/108] Compiling Lullaby Basic.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 |
[97/108] Compiling Lullaby Buffer.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 |
[98/108] 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 |
[99/108] Compiling Lullaby Engine.swift
[100/108] Compiling Lullaby Signal+Basic.swift
[101/108] Compiling Lullaby Envelope.swift
[102/108] Compiling Lullaby Gate.swift
[103/108] Compiling Lullaby Synth.swift
/host/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 |     }
/host/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 |
/host/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 |             }
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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 |     }
[104/108] Compiling Lullaby Print.swift
/host/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 |     }
/host/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 |
/host/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 |             }
/host/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 |     }
/host/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 |     }
/host/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 |     }
/host/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 |     }
[105/108] Compiling Lullaby Signal.swift
[106/108] Compiling Lullaby ADSR.swift
[107/108] Compiling Lullaby Wave.swift
[108/108] Compiling Lullaby Wavetable.swift
[110/111] Emitting module LullabyMiniAudioEngine
[111/111] Compiling LullabyMiniAudioEngine MiniAudioEngine.swift
Build complete! (25.89s)
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" : "/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" : [
        "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"
}
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.