The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FunctionTools, reference 2.0.0 (0cc208), with Swift 6.1 for Wasm on 28 Mar 2026 03:34:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/RougeWare/Swift-Function-Tools.git
Reference: 2.0.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/RougeWare/Swift-Function-Tools
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 0cc2083 Merge pull request #22 from RougeWare/feature/Typed-throws
Cloned https://github.com/RougeWare/Swift-Function-Tools.git
Revision (git rev-parse @):
0cc2083f05dc12fa70451985c0c3390e63b468ed
SUCCESS checkout https://github.com/RougeWare/Swift-Function-Tools.git at 2.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RougeWare/Swift-Function-Tools.git
https://github.com/RougeWare/Swift-Function-Tools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FunctionTools",
  "name" : "FunctionTools",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FunctionTools",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "FunctionTools_dynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "FunctionToolsDynamic",
      "targets" : [
        "FunctionTools"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FunctionToolsTests",
      "module_type" : "SwiftTarget",
      "name" : "FunctionToolsTests",
      "path" : "Tests/FunctionToolsTests",
      "sources" : [
        "XCTestManifests.swift",
        "`!` tests.swift",
        "`call` tests.swift",
        "`curry` tests.swift",
        "`echo` tests.swift",
        "test utilities.swift"
      ],
      "target_dependencies" : [
        "FunctionTools"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FunctionTools",
      "module_type" : "SwiftTarget",
      "name" : "FunctionTools",
      "path" : "Sources/FunctionTools",
      "product_memberships" : [
        "FunctionTools",
        "FunctionTools_dynamic",
        "FunctionToolsDynamic"
      ],
      "sources" : [
        "!.swift",
        "Blackholes.swift",
        "Call.swift",
        "Constant.swift",
        "Curry.swift",
        "Echo.swift",
        "Function types.swift",
        "Null functions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 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/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling FunctionTools Blackholes.swift
[4/16] Compiling FunctionTools Constant.swift
[5/16] Compiling FunctionTools Echo.swift
[6/16] Compiling FunctionTools Curry.swift
[7/16] Compiling FunctionTools Function types.swift
[8/16] Compiling FunctionTools Call.swift
[9/16] Compiling FunctionTools !.swift
[10/16] Emitting module FunctionTools
[11/16] Compiling FunctionTools Null functions.swift
[12/17] Wrapping AST for FunctionTools for debugging
[13/17] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[15/17] Linking libFunctionTools_dynamic.wasm
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[15/17] Linking libFunctionToolsDynamic.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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...
[0/6] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling FunctionTools Function types.swift
[3/15] Compiling FunctionTools Curry.swift
[4/15] Compiling FunctionTools Constant.swift
[5/15] Compiling FunctionTools Echo.swift
[6/15] Compiling FunctionTools !.swift
[7/15] Compiling FunctionTools Blackholes.swift
[8/15] Emitting module FunctionTools
[9/15] Compiling FunctionTools Call.swift
[10/15] Compiling FunctionTools Null functions.swift
[11/15] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[13/15] Linking libFunctionToolsDynamic.wasm
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[13/15] Linking libFunctionTools_dynamic.wasm
BUILD FAILURE 6.1 wasm