Build Information
Failed to build SwiftLAME, reference 0.1.0 (45d1b0), with Swift 6.1 for Wasm on 29 May 2025 04:20:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/hidden-spectrum/SwiftLAME.git
Reference: 0.1.0
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/hidden-spectrum/SwiftLAME
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 45d1b02 Initial release 0.1.0
Cloned https://github.com/hidden-spectrum/SwiftLAME.git
Revision (git rev-parse @):
45d1b021c2bd2bbd38b9669934c0584cda0d1b6b
SUCCESS checkout https://github.com/hidden-spectrum/SwiftLAME.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hidden-spectrum/SwiftLAME.git
https://github.com/hidden-spectrum/SwiftLAME.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftLAME",
"name" : "SwiftLAME",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftLAME",
"targets" : [
"SwiftLAME"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftLAMETests",
"module_type" : "SwiftTarget",
"name" : "SwiftLAMETests",
"path" : "Tests/SwiftLAMETests",
"sources" : [
"SwiftLAMETests.swift"
],
"target_dependencies" : [
"SwiftLAME"
],
"type" : "test"
},
{
"c99name" : "SwiftLAME",
"module_type" : "SwiftTarget",
"name" : "SwiftLAME",
"path" : "Sources/SwiftLAME",
"product_memberships" : [
"SwiftLAME"
],
"sources" : [
"Models/AVAudioBufferData.swift",
"Models/SwiftLameError.swift",
"SwiftLameEncoder.swift",
"Wrappers/Lame.swift",
"Wrappers/LameBitrateMode.swift",
"Wrappers/LameConfiguration.swift",
"Wrappers/LameQuality.swift",
"Wrappers/LameSampleRate.swift"
],
"target_dependencies" : [
"LAME"
],
"type" : "library"
},
{
"c99name" : "LAME",
"module_type" : "ClangTarget",
"name" : "LAME",
"path" : "Sources/LAME",
"product_memberships" : [
"SwiftLAME"
],
"sources" : [
"libmp3lame/VbrTag.c",
"libmp3lame/bitstream.c",
"libmp3lame/encoder.c",
"libmp3lame/fft.c",
"libmp3lame/gain_analysis.c",
"libmp3lame/id3tag.c",
"libmp3lame/lame.c",
"libmp3lame/mpglib_interface.c",
"libmp3lame/newmdct.c",
"libmp3lame/presets.c",
"libmp3lame/psymodel.c",
"libmp3lame/quantize.c",
"libmp3lame/quantize_pvt.c",
"libmp3lame/reservoir.c",
"libmp3lame/set_get.c",
"libmp3lame/tables.c",
"libmp3lame/takehiro.c",
"libmp3lame/util.c",
"libmp3lame/vbrquantize.c",
"libmp3lame/vector/xmm_quantize_sub.c",
"libmp3lame/version.c",
"mpglib/common.c",
"mpglib/dct64_i386.c",
"mpglib/decode_i386.c",
"mpglib/interface.c",
"mpglib/layer1.c",
"mpglib/layer2.c",
"mpglib/layer3.c",
"mpglib/tabinit.c"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/LAME/libmp3lame/mpglib_interface.c:36:
In file included from /host/spi-builder-workspace/Sources/LAME/libmp3lame/../mpglib/interface.h:29:
In file included from /host/spi-builder-workspace/Sources/LAME/libmp3lame/../mpglib/common.h:26:
In file included from /host/spi-builder-workspace/Sources/LAME/libmp3lame/../mpglib/mpg123.h:40:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
1 error generated.
[0/31] Compiling mpglib_interface.c
[0/31] Compiling fft.c
[0/31] Compiling encoder.c
[0/31] Compiling id3tag.c
[0/31] Compiling newmdct.c
[0/31] Compiling lame.c
[0/31] Compiling VbrTag.c
[0/31] Compiling bitstream.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/31] Write sources
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/layer1.c:31:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/common.h:26:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/mpg123.h:40:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
1 error generated.
[1/31] Compiling layer1.c
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/tabinit.c:30:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/tabinit.h:25:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/mpg123.h:40:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
1 error generated.
[1/31] Compiling tabinit.c
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/layer2.c:29:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/common.h:26:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/mpg123.h:40:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
1 error generated.
[1/31] Compiling layer2.c
[1/31] Compiling dct64_i386.c
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/decode_i386.c:57:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/decode_i386.h:25:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/common.h:26:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/mpg123.h:40:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
1 error generated.
[1/31] Compiling decode_i386.c
In file included from [1/31] Compiling interface.c
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/layer3.c:30:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/common.h:26:
In file included from /host/spi-builder-workspace/Sources/LAME/mpglib/mpg123.h:40:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
| ^
[1/31] Compiling layer3.c
[1/31] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm