Build Information
Failed to build SwiftMpg123, reference v1.1.0 (ff87b3), with Swift 6.1 for Wasm on 17 Jul 2025 23:18:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-mpg123.git
Reference: v1.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/Kosikowski/swift-mpg123
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at ff87b3c feat: Add cross-platform CI/CD, embedded mpg123, and code quality checks (#4)
Cloned https://github.com/Kosikowski/swift-mpg123.git
Revision (git rev-parse @):
ff87b3c101daf337094944d2cde9cd091c75e1f3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kosikowski/swift-mpg123.git at v1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kosikowski/swift-mpg123.git
https://github.com/Kosikowski/swift-mpg123.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftMpg123",
"name" : "SwiftMpg123",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftMpg123",
"targets" : [
"SwiftMpg123"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "cmpg123",
"module_type" : "ClangTarget",
"name" : "cmpg123",
"path" : "Sources/mpg123",
"product_memberships" : [
"SwiftMpg123"
],
"sources" : [
"src/compat/compat.c",
"src/compat/compat_dl.c",
"src/compat/compat_str.c",
"src/filters.c",
"src/genre.c",
"src/getlopt.c",
"src/libmpg123/dct64.c",
"src/libmpg123/dct64_i386.c",
"src/libmpg123/dct64_i486.c",
"src/libmpg123/dither.c",
"src/libmpg123/equalizer.c",
"src/libmpg123/feature.c",
"src/libmpg123/format.c",
"src/libmpg123/frame.c",
"src/libmpg123/icy.c",
"src/libmpg123/icy2utf8.c",
"src/libmpg123/id3.c",
"src/libmpg123/index.c",
"src/libmpg123/layer1.c",
"src/libmpg123/layer2.c",
"src/libmpg123/layer3.c",
"src/libmpg123/lfs_wrap.c",
"src/libmpg123/libmpg123.c",
"src/libmpg123/ntom.c",
"src/libmpg123/optimize.c",
"src/libmpg123/parse.c",
"src/libmpg123/readers.c",
"src/libmpg123/stringbuf.c",
"src/libmpg123/synth.c",
"src/libmpg123/synth_8bit.c",
"src/libmpg123/synth_real.c",
"src/libmpg123/synth_s32.c",
"src/libmpg123/tabinit.c",
"src/libout123/buffer.c",
"src/libout123/hextxt.c",
"src/libout123/libout123.c",
"src/libout123/module.c",
"src/libout123/sfifo.c",
"src/libout123/stringlists.c",
"src/libout123/wav.c",
"src/libout123/xfermem.c",
"src/libsyn123/filter.c",
"src/libsyn123/geiger.c",
"src/libsyn123/libsyn123.c",
"src/libsyn123/pinknoise.c",
"src/libsyn123/resample.c",
"src/libsyn123/sampleconv.c",
"src/libsyn123/volume.c",
"src/local.c",
"src/sysutil.c"
],
"type" : "library"
},
{
"c99name" : "SwiftMpg123Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftMpg123Tests",
"path" : "Tests/SwiftMpg123Tests",
"sources" : [
"MPG123Tests.swift"
],
"target_dependencies" : [
"SwiftMpg123"
],
"type" : "test"
},
{
"c99name" : "SwiftMpg123",
"module_type" : "SwiftTarget",
"name" : "SwiftMpg123",
"path" : "Sources/SwiftMpg123",
"product_memberships" : [
"SwiftMpg123"
],
"sources" : [
"MPG123.swift",
"MPG123AudioStream.swift",
"MPG123Types.swift"
],
"target_dependencies" : [
"cmpg123"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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/mpg123/src/compat/compat_str.c:14:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/compat/compat.h:33:
/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/52] Compiling compat_str.c
[0/52] Compiling libout123.c
[0/52] Compiling readers.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/compat/compat_dl.c:17:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/compat/compat.h:33:
/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/52] Compiling compat_dl.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/dct64.c:20:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/mpg123lib_intern.h:20:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/../compat/compat.h:33:
/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, \
| ^
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/dct64.c:20:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/mpg123lib_intern.h:307:
/host/spi-builder-workspace/Sources/mpg123/src/libmpg123/optimize.h:369:10: warning: 'defopt' macro redefined [-Wmacro-redefined]
369 | # define defopt nodec
| ^
/host/spi-builder-workspace/Sources/mpg123/include/config.h:47:9: note: previous definition is here
47 | #define defopt generic
| ^
[0/52] Compiling dct64.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/compat/compat.c:15:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/compat/compat.h:33:
/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, \
| ^
[0/52] Compiling compat.c
[0/52] Compiling synth.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/stringbuf.c:10:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/mpg123lib_intern.h:20:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/../compat/compat.h:33:
/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, \
| ^
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/stringbuf.c:10:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/mpg123lib_intern.h:307:
/host/spi-builder-workspace/Sources/mpg123/src/libmpg123/optimize.h:369:10: warning: 'defopt' macro redefined [-Wmacro-redefined]
369 | # define defopt nodec
| ^
/host/spi-builder-workspace/Sources/mpg123/include/config.h:47:9: note: previous definition is here
47 | #define defopt generic
| ^
[0/52] Compiling stringbuf.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/mpg123/src/local.c:25:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/compat/compat.h:33:
/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/52] Compiling local.c
[0/52] Compiling libsyn123.c
[0/52] Compiling pinknoise.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libsyn123/volume.c:13:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libsyn123/syn123_int.h:21:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libsyn123/../compat/compat.h:33:
/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/52] Compiling volume.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libsyn123/sampleconv.c:21:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libsyn123/syn123_int.h:21:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libsyn123/../compat/compat.h:33:
/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, \
| ^
[0/52] Compiling sampleconv.c
[0/52] Compiling resample.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/sysutil.c:9:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/mpg123app.h:25:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/compat/compat.h:33:
/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/52] Compiling sysutil.c
[0/52] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm