The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-windowsfoundation, reference v0.1.0 (94d56a), with Swift 6.1 for Wasm on 4 Mar 2026 08:02:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/moreSwift/swift-windowsfoundation.git
Reference: v0.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/moreSwift/swift-windowsfoundation
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 94d56a5 Update to versioned swift-cwinrt dependency
Cloned https://github.com/moreSwift/swift-windowsfoundation.git
Revision (git rev-parse @):
94d56a5aea472672bc5d041c091f6cdf72e3cc44
SUCCESS checkout https://github.com/moreSwift/swift-windowsfoundation.git at v0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/moreSwift/swift-windowsfoundation.git
https://github.com/moreSwift/swift-windowsfoundation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-cwinrt",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/moreSwift/swift-cwinrt"
    }
  ],
  "manifest_display_name" : "swift-windowsfoundation",
  "name" : "swift-windowsfoundation",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "WindowsFoundation",
      "targets" : [
        "WindowsFoundation"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WindowsFoundation",
      "module_type" : "SwiftTarget",
      "name" : "WindowsFoundation",
      "path" : "Sources/WindowsFoundation",
      "product_dependencies" : [
        "CWinRT"
      ],
      "product_memberships" : [
        "WindowsFoundation"
      ],
      "sources" : [
        "Generated/Support/AGGREGATION.swift",
        "Generated/Support/ARRAY+TOVECTOR.swift",
        "Generated/Support/COM+EXTENSIONS.swift",
        "Generated/Support/COMPTR.swift",
        "Generated/Support/CPPINTEROPWORKAROUND.swift",
        "Generated/Support/CUSTOMQUERYINTERFACE.swift",
        "Generated/Support/DEBUGGING.swift",
        "Generated/Support/DICTIONARY+TOMAP.swift",
        "Generated/Support/ERROR.swift",
        "Generated/Support/ERRORHANDLING.swift",
        "Generated/Support/EVENT.swift",
        "Generated/Support/EVENTHANDLERSUBSCRIPTION.swift",
        "Generated/Support/EVENTSOURCE.swift",
        "Generated/Support/GUID.swift",
        "Generated/Support/HSTRING.swift",
        "Generated/Support/IBUFFERBYTEACCESS.swift",
        "Generated/Support/IINSPECTABLE+SWIFT.swift",
        "Generated/Support/IINSPECTABLE.swift",
        "Generated/Support/IMAP+SWIFT.swift",
        "Generated/Support/IMEMORYBUFFERBYTEACCESS.swift",
        "Generated/Support/IUNKNOWN+SWIFT.swift",
        "Generated/Support/IUNKNOWN.swift",
        "Generated/Support/IUNKNOWNREF.swift",
        "Generated/Support/IVECTOR+SWIFT.swift",
        "Generated/Support/MAKEFROMABI.swift",
        "Generated/Support/MARSHALER.swift",
        "Generated/Support/PROPERTYVALUE+ABI.swift",
        "Generated/Support/PROPERTYVALUE.swift",
        "Generated/Support/RAWTYPED.swift",
        "Generated/Support/RUNTIME+SWIFT.swift",
        "Generated/Support/SWIFT+EXTENSIONS.swift",
        "Generated/Support/TRUSTLEVEL+SWIFT.swift",
        "Generated/Support/WAITABLEEVENT.swift",
        "Generated/Support/WINRTDELEGATE.swift",
        "Generated/Support/WINRTPROTOCOLS.swift",
        "Generated/Support/WINRTWRAPPERBASE.swift",
        "Generated/Support/WINSDK+EXTENSIONS.swift",
        "Generated/Windows.Foundation+ABI.swift",
        "Generated/Windows.Foundation+Impl.swift",
        "Generated/Windows.Foundation.Collections+ABI.swift",
        "Generated/Windows.Foundation.Collections+Impl.swift",
        "Generated/Windows.Foundation.Collections.swift",
        "Generated/Windows.Foundation.Numerics+ABI.swift",
        "Generated/Windows.Foundation.Numerics+Impl.swift",
        "Generated/Windows.Foundation.Numerics.swift",
        "Generated/Windows.Foundation.swift",
        "Generated/WindowsFoundation+Generics.swift",
        "Generated/WindowsFoundation+MakeFromAbi.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/moreSwift/swift-cwinrt
[1/478] Fetching swift-cwinrt
Fetched https://github.com/moreSwift/swift-cwinrt from cache (0.58s)
Computing version for https://github.com/moreSwift/swift-cwinrt
Computed https://github.com/moreSwift/swift-cwinrt at 0.1.1 (3.02s)
Creating working copy for https://github.com/moreSwift/swift-cwinrt
Working copy of https://github.com/moreSwift/swift-cwinrt resolved at 0.1.1
Building for debugging...
[0/10] Write sources
[2/10] Compiling CWinRT shim.c
[3/10] Write swift-version-24593BA9C3E375BF.txt
[5/12] Emitting module SwiftDummy
[6/12] Compiling SwiftDummy Dummy.swift
[7/13] Wrapping AST for SwiftDummy for debugging
[8/13] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[9/13] Linking libCWinRT.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
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/7] Write swift-version-24593BA9C3E375BF.txt
[2/9] Emitting module SwiftDummy
[3/9] Compiling SwiftDummy Dummy.swift
[4/9] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[5/9] Linking libCWinRT.wasm
BUILD FAILURE 6.1 wasm