Build Information
Failed to build Lullaby, reference 0.2.3 (f1f42e), with Swift 6.1 for Wasm on 29 May 2025 16:36:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaekong/Lullaby.git
Reference: 0.2.3
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jaekong/Lullaby
* tag 0.2.3 -> FETCH_HEAD
HEAD is now at f1f42ec docs: remove Synth from future plans
Cloned https://github.com/jaekong/Lullaby.git
Revision (git rev-parse @):
f1f42ec442d7711ecbe457f17dc159962d65731c
SUCCESS checkout https://github.com/jaekong/Lullaby.git at 0.2.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jaekong/Lullaby.git
https://github.com/jaekong/Lullaby.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "Lullaby",
"name" : "Lullaby",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Lullaby",
"targets" : [
"Lullaby"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LullabyMusic",
"targets" : [
"LullabyMusic"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LullabyMiniAudioEngine",
"targets" : [
"LullabyMiniAudioEngine"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LullabyTests",
"module_type" : "SwiftTarget",
"name" : "LullabyTests",
"path" : "Tests/LullabyTests",
"sources" : [
"LullabyTests.swift"
],
"target_dependencies" : [
"Lullaby",
"LullabyMiniAudioEngine"
],
"type" : "test"
},
{
"c99name" : "LullabyMusic",
"module_type" : "SwiftTarget",
"name" : "LullabyMusic",
"path" : "Sources/LullabyMusic",
"product_memberships" : [
"Lullaby",
"LullabyMusic",
"LullabyMiniAudioEngine"
],
"sources" : [
"Extensions/Extensions.swift",
"Harmony/Interval.swift",
"Tuning/Tuning.swift"
],
"type" : "library"
},
{
"c99name" : "LullabyMiniAudioEngine",
"module_type" : "SwiftTarget",
"name" : "LullabyMiniAudioEngine",
"path" : "Sources/LullabyMiniAudioEngine",
"product_memberships" : [
"LullabyMiniAudioEngine"
],
"sources" : [
"MiniAudioEngine.swift"
],
"target_dependencies" : [
"CMiniAudio",
"Lullaby"
],
"type" : "library"
},
{
"c99name" : "Lullaby",
"module_type" : "SwiftTarget",
"name" : "Lullaby",
"path" : "Sources/Lullaby",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"Lullaby",
"LullabyMiniAudioEngine"
],
"sources" : [
"Audio/Basic.swift",
"Audio/Buffer.swift",
"Audio/Engine/DummyEngine.swift",
"Audio/Engine/Engine.swift",
"Audio/Signal.swift",
"Envelope/ADSR.swift",
"Envelope/Envelope.swift",
"Envelope/Gate.swift",
"Oscillator/Oscillator+Basic.swift",
"Oscillator/Oscillator.swift",
"Synth/Synth.swift",
"Utility/Print.swift",
"Wave/LinearInterpolatedWavetable.swift",
"Wave/Wave+Basic.swift",
"Wave/Wave.swift",
"Wave/Wavetable.swift"
],
"target_dependencies" : [
"LullabyMusic"
],
"type" : "library"
},
{
"c99name" : "CMiniAudio",
"module_type" : "ClangTarget",
"name" : "CMiniAudio",
"path" : "Sources/CMiniAudio",
"product_memberships" : [
"LullabyMiniAudioEngine"
],
"sources" : [
"miniaudio.c"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-collections.git
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 0.0.7 (2.70s)
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
In file included from /host/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/host/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:3656:14: fatal error: 'pthread.h' file not found
3656 | #include <pthread.h> /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
| ^~~~~~~~~~~
1 error generated.
[6/8] Compiling CMiniAudio miniaudio.c
[6/8] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CMiniAudio/miniaudio.c:1:
/host/spi-builder-workspace/Sources/CMiniAudio/include/miniaudio.h:3656:14: fatal error: 'pthread.h' file not found
3656 | #include <pthread.h> /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
| ^~~~~~~~~~~
1 error generated.
[1/69] Compiling CMiniAudio miniaudio.c
BUILD FAILURE 6.1 wasm