The Swift Package Index logo.Swift Package Index

Build Information

Failed to build fpzip, reference 1.3.0 (0ec6d4), with Swift 6.1 for Wasm on 2 Apr 2026 12:59:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/weiyanlin117/swift-fpzip-support.git
Reference: 1.3.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/weiyanlin117/swift-fpzip-support
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 0ec6d46 support Swift package
Cloned https://github.com/weiyanlin117/swift-fpzip-support.git
Revision (git rev-parse @):
0ec6d4668c9c83bc3da0f8b2d6dfc46da0b98609
SUCCESS checkout https://github.com/weiyanlin117/swift-fpzip-support.git at 1.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/weiyanlin117/swift-fpzip-support.git
https://github.com/weiyanlin117/swift-fpzip-support.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "fpzip",
  "name" : "fpzip",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "C_fpzip",
      "targets" : [
        "C_fpzip"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "testfpzip",
      "targets" : [
        "testfpzip"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "testfpzip",
      "module_type" : "ClangTarget",
      "name" : "testfpzip",
      "path" : "tests",
      "product_memberships" : [
        "testfpzip"
      ],
      "sources" : [
        "testfpzip.c"
      ],
      "target_dependencies" : [
        "C_fpzip"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "C_fpzip",
      "module_type" : "ClangTarget",
      "name" : "C_fpzip",
      "path" : ".",
      "product_memberships" : [
        "C_fpzip",
        "testfpzip"
      ],
      "sources" : [
        "src/error.cpp",
        "src/rcdecoder.cpp",
        "src/rcencoder.cpp",
        "src/rcqsmodel.cpp",
        "src/read.cpp",
        "src/version.cpp",
        "src/write.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/10] Compiling error.cpp
[1/10] Compiling version.cpp
[1/10] Compiling rcencoder.cpp
[3/10] Compiling rcdecoder.cpp
[4/10] Compiling testfpzip testfpzip.c
[5/10] Compiling rcqsmodel.cpp
[6/10] Compiling read.cpp
[7/10] Compiling write.cpp
[8/10] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
wasm-ld: error: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/wasm32/swiftrt.o: undefined symbol: swift_addNewDSOImage
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_allocate_exception
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_throw
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_allocate_exception
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_throw
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[9/10] Linking testfpzip.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
error: link command failed with exit code 1 (use -v to see invocation)
wasm-ld: error: /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/swift.xctoolchain/usr/lib/swift_static/wasi/wasm32/swiftrt.o: undefined symbol: swift_addNewDSOImage
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_allocate_exception
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_throw
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_allocate_exception
wasm-ld: error: /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/C_fpzip.build/src/rcqsmodel.cpp.o: undefined symbol: __cxa_throw
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[0/1] Linking testfpzip.wasm
BUILD FAILURE 6.1 wasm