The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMpg123, reference main (806e37), with Swift 6.1 for Wasm on 27 Nov 2025 18:53:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-mpg123.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/Kosikowski/swift-mpg123
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 806e37d Build(deps): Bump actions/checkout from 5 to 6 (#6)
Cloned https://github.com/Kosikowski/swift-mpg123.git
Revision (git rev-parse @):
806e37d4fa0cbc4cba8c74a50c518e2abee259e5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Kosikowski/swift-mpg123.git at main
========================================
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-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/52] Compiling genre.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/filters.c:9:
In file included from /host/spi-builder-workspace/Sources/mpg123/src/filters.h:22:
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.
[1/52] Compiling filters.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.
[1/52] Compiling compat_dl.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/getlopt.c:11:
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.
[1/52] Compiling getlopt.c
[1/52] Compiling local.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libmpg123/id3.c:86:
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, \
      |  ^
[1/52] Compiling id3.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/52] Compiling sysutil.c
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.
[1/52] Compiling compat_str.c
[1/52] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4dfe22dedd7a52399668938cbd466a34545eff77bced906005dc4032a6549d90
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/libsyn123/pinknoise.c:32:
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/51] 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/51] Compiling volume.c
[0/51] Compiling local.c
[0/51] Compiling sampleconv.c
In file included from /host/spi-builder-workspace/Sources/mpg123/src/libsyn123/resample.c:84:
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/51] Compiling resample.c
[0/51] Compiling libsyn123.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, \
      |  ^
[0/51] Compiling sysutil.c
[0/51] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm