Build Information
Failed to build Lullaby, reference main (a3f5a6), with Swift 6.1 for Android on 15 Apr 2026 00:13:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build 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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/jaekong/Lullaby.git
https://github.com/jaekong/Lullaby.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-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 (1.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 0.0.7 (2.44s)
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
[8/76] Emitting module DequeModule
[9/78] Emitting module OrderedCollections
[10/84] Compiling DequeModule _DequeSlot.swift
[11/84] Compiling DequeModule _UnsafeWrappedBuffer.swift
[12/84] Compiling OrderedCollections OrderedDictionary+Elements.swift
[13/84] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[14/84] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[15/84] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[16/84] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[17/84] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[18/84] Compiling OrderedCollections OrderedSet+Hashable.swift
[19/84] Compiling OrderedCollections OrderedSet+Initializers.swift
[20/84] Compiling OrderedCollections OrderedSet+Insertions.swift
[21/84] Compiling OrderedCollections OrderedSet+Invariants.swift
[22/84] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[23/84] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[24/84] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[25/84] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[26/84] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[27/84] Compiling OrderedCollections OrderedDictionary+Values.swift
[28/84] Compiling OrderedCollections OrderedDictionary.swift
[29/84] Compiling OrderedCollections OrderedSet+Codable.swift
[30/84] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[31/84] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[32/84] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[33/84] Compiling OrderedCollections OrderedSet+Diffing.swift
[34/84] Compiling OrderedCollections OrderedSet+Equatable.swift
[35/84] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[36/84] Compiling DequeModule Deque.swift
[37/84] Compiling DequeModule UnsafeMutableBufferPointer+Utilities.swift
[38/84] Compiling DequeModule _DequeBuffer.swift
[39/84] Compiling DequeModule _DequeBufferHeader.swift
[40/84] Compiling DequeModule Deque+Hashable.swift
[41/84] Compiling DequeModule Deque+Testing.swift
[42/84] Compiling DequeModule Compatibility.swift
[43/84] Compiling DequeModule Deque+Codable.swift
[44/84] Compiling DequeModule Deque+Collection.swift
[45/84] Compiling DequeModule Deque+Equatable.swift
[46/84] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[47/84] Compiling DequeModule Deque+Extras.swift
[53/84] Compiling OrderedCollections OrderedSet+SubSequence.swift
[54/84] Compiling DequeModule Deque+CustomDebugStringConvertible.swift
[55/84] Compiling DequeModule Deque+CustomReflectable.swift
[56/84] Compiling DequeModule Deque+CustomStringConvertible.swift
[57/84] Compiling DequeModule Deque._Storage.swift
[58/84] Compiling DequeModule Deque._UnsafeHandle.swift
[74/85] Compiling OrderedCollections OrderedSet+Testing.swift
[75/85] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[76/85] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[77/85] Compiling OrderedCollections OrderedSet.swift
[78/85] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[79/85] Compiling OrderedCollections _UnsafeBitset.swift
[79/86] Compiling CMiniAudio miniaudio.c
[82/88] Emitting module Collections
[83/88] Compiling Collections Collections.swift
[85/89] Compiling LullabyMusic Scale.swift
[86/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 |
[87/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)]),
[88/89] Compiling LullabyMusic Extensions.swift
[89/89] 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 |
[91/106] 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 |
[92/106] 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 |
[93/106] Compiling Lullaby DummyEngine.swift
/host/spi-builder-workspace/Sources/Lullaby/Audio/Engine/DummyEngine.swift:29:26: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
27 |
28 | public func start() throws {
29 | audioTask = Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
30 | let secondsPerFrame = 1.0 / Float(sampleRate)
| `- note: closure captures 'self' which is accessible to code in the current task
31 | var secondsOffset: Time = 0
32 |
[94/108] Compiling Lullaby Wave.swift
[95/108] Compiling Lullaby Wavetable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/108] Emitting module Lullaby
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:12:23: warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
| |- warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampUp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:13:23: warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
| |- warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampDown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let constant = wavetable(from: [1])
15 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:14:23: warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
| |- warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// A pre-defined wavetable based sine wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:17:23: warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A pre-defined wavetable based sine wave function.
17 | public static let sine = wavetable(from: LookupTables.sineTable)
| |- warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:20:23: warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
20 | public static let triangle = linearInterpolatedWavetable(samplePoints: [0, 1, 0, -1, 0])
| |- warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// A pre-defined wavetable based square wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:23:23: warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// A pre-defined wavetable based square wave function.
23 | public static let square = wavetable(from: LookupTables.squareTable)
| |- warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'square' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[97/108] Compiling Lullaby Signal.swift
[98/108] Compiling Lullaby ADSR.swift
[99/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 | }
[100/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 | }
[101/108] Compiling Lullaby Envelope.swift
[102/108] Compiling Lullaby Gate.swift
[103/108] Compiling Lullaby Engine.swift
[104/108] Compiling Lullaby Signal+Basic.swift
[105/108] Compiling Lullaby Oscillator+Basic.swift
[106/108] Compiling Lullaby Oscillator.swift
[107/108] Compiling Lullaby LinearInterpolatedWavetable.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:12:23: warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
| |- warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampUp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:13:23: warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
| |- warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampDown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let constant = wavetable(from: [1])
15 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:14:23: warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
| |- warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// A pre-defined wavetable based sine wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:17:23: warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A pre-defined wavetable based sine wave function.
17 | public static let sine = wavetable(from: LookupTables.sineTable)
| |- warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:20:23: warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
20 | public static let triangle = linearInterpolatedWavetable(samplePoints: [0, 1, 0, -1, 0])
| |- warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// A pre-defined wavetable based square wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:23:23: warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// A pre-defined wavetable based square wave function.
23 | public static let square = wavetable(from: LookupTables.squareTable)
| |- warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'square' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
[108/108] Compiling Lullaby Wave+Basic.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:12:23: warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
| |- warning: static property 'rampUp' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampUp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:13:23: warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
11 | public enum BasicWaves {
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
| |- warning: static property 'rampDown' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rampDown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static let constant = wavetable(from: [1])
15 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:14:23: warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
12 | public static let rampUp: Wave = { phase in max(min(phase, 1), 0) }
13 | public static let rampDown: Wave = { phase in max(min(1 - phase, 1), 0) }
14 | public static let constant = wavetable(from: [1])
| |- warning: static property 'constant' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'constant' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// A pre-defined wavetable based sine wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:17:23: warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | /// A pre-defined wavetable based sine wave function.
17 | public static let sine = wavetable(from: LookupTables.sineTable)
| |- warning: static property 'sine' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:20:23: warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
18 |
19 | /// A pre-defined linear-interpolated wavetable based triangle wave function.
20 | public static let triangle = linearInterpolatedWavetable(samplePoints: [0, 1, 0, -1, 0])
| |- warning: static property 'triangle' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'triangle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// A pre-defined wavetable based square wave function.
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:23:23: warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | /// A pre-defined wavetable based square wave function.
23 | public static let square = wavetable(from: LookupTables.squareTable)
| |- warning: static property 'square' is not concurrency-safe because non-'Sendable' type 'Wave' (aka '(Float) -> Float') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'square' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/69] Compiling OrderedCollections OrderedDictionary+Elements.swift
[3/69] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[4/69] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[5/71] Compiling OrderedCollections _HashTable+Bucket.swift
[6/71] Compiling OrderedCollections _HashTable+BucketIterator.swift
[7/71] Compiling OrderedCollections _HashTable+Constants.swift
[8/71] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[9/71] Compiling OrderedCollections _Hashtable+Header.swift
[10/71] Compiling OrderedCollections OrderedDictionary+Codable.swift
[11/71] Compiling OrderedCollections OrderedDictionary+CustomDebugStringConvertible.swift
[12/71] Compiling DequeModule _DequeSlot.swift
[13/71] Compiling DequeModule _UnsafeWrappedBuffer.swift
[17/71] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[18/71] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[19/71] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[23/77] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[24/77] Compiling OrderedCollections OrderedDictionary+CustomStringConvertible.swift
[25/77] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[26/77] Compiling OrderedCollections OrderedDictionary+Elements+SubSequence.swift
[27/77] Compiling LullabyMusic Scale.swift
[28/77] Compiling LullabyMusic Extensions.swift
[29/77] Compiling LullabyMusic Interval.swift
[30/77] Emitting module LullabyMusic
[31/77] Compiling LullabyMusic Tuning.swift
[36/78] Compiling OrderedCollections OrderedSet+Hashable.swift
[37/78] Compiling OrderedCollections OrderedSet+Initializers.swift
[38/78] Compiling OrderedCollections OrderedSet+Insertions.swift
[39/78] Compiling OrderedCollections OrderedSet+Invariants.swift
[40/78] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[41/78] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[42/78] Compiling OrderedCollections OrderedSet+CustomDebugStringConvertible.swift
[43/78] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[44/78] Compiling OrderedCollections OrderedSet+CustomStringConvertible.swift
[45/78] Compiling OrderedCollections OrderedSet+Diffing.swift
[46/78] Compiling OrderedCollections OrderedSet+Equatable.swift
[47/78] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[48/78] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[49/78] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Operations.swift
[50/78] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Predicates.swift
[51/78] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[52/78] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[53/78] Compiling OrderedCollections OrderedSet+SubSequence.swift
[54/78] Emitting module DequeModule
[59/79] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[60/79] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[61/79] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[62/79] Compiling OrderedCollections OrderedDictionary+Values.swift
[63/79] Compiling OrderedCollections OrderedDictionary.swift
[64/79] Compiling OrderedCollections OrderedSet+Codable.swift
[72/79] Compiling OrderedCollections _HashTable.swift
[73/79] Compiling OrderedCollections OrderedSet+Testing.swift
[74/79] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[75/79] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[76/79] Compiling OrderedCollections OrderedSet.swift
[77/79] Compiling OrderedCollections RandomAccessCollection+Offsets.swift
[78/79] Compiling OrderedCollections _UnsafeBitset.swift
[79/79] Emitting module OrderedCollections
[81/82] Compiling Collections Collections.swift
[82/82] Emitting module Collections
error: emit-module command failed with exit code 1 (use -v to see invocation)
[84/99] Emitting module Lullaby
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
[85/101] Compiling Lullaby Wave.swift
[86/101] Compiling Lullaby Wavetable.swift
[87/101] Compiling Lullaby Synth.swift
[88/101] Compiling Lullaby Print.swift
[89/101] Compiling Lullaby Envelope.swift
[90/101] Compiling Lullaby Gate.swift
[91/101] Compiling Lullaby Engine.swift
[92/101] Compiling Lullaby Signal+Basic.swift
[93/101] Compiling Lullaby Signal.swift
[94/101] Compiling Lullaby ADSR.swift
[95/101] Compiling Lullaby Oscillator+Basic.swift
[96/101] Compiling Lullaby Oscillator.swift
[97/101] Compiling Lullaby Basic.swift
[98/101] Compiling Lullaby Buffer.swift
[99/101] Compiling Lullaby DummyEngine.swift
[100/101] Compiling Lullaby LinearInterpolatedWavetable.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
[101/101] Compiling Lullaby Wave+Basic.swift
/host/spi-builder-workspace/Sources/Lullaby/Wave/Wave+Basic.swift:4:16: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
2 |
3 | internal enum LookupTables {
4 | static let sineTable: [Float] = (0..<44100).map {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
5 | return sin(2 * .pi * (Float($0) / 44100))
6 | }
BUILD FAILURE 6.1 android