Build Information
Failed to build swift-cwinrt, reference v0.1.2 (601287), with Swift 6.2 for Wasm on 11 Apr 2026 12:53:41 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/moreSwift/swift-cwinrt.git
Reference: v0.1.2
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-cwinrt
* tag v0.1.2 -> FETCH_HEAD
HEAD is now at 601287a Generate C ABI for XamlToolkit (WinRT port of CommunityToolkit)
Cloned https://github.com/moreSwift/swift-cwinrt.git
Revision (git rev-parse @):
601287a2a89e8e56e8aa53782b6054db8be0bce8
SUCCESS checkout https://github.com/moreSwift/swift-cwinrt.git at v0.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/moreSwift/swift-cwinrt.git
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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/6] Write sources
[1/6] Compiling CWinRT shim.c
[1/6] Write swift-version-24593BA9C3E375BF.txt
[4/8] Emitting module SwiftDummy
[5/8] Compiling SwiftDummy Dummy.swift
[6/9] Wrapping AST for SwiftDummy for debugging
[7/9] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasip1'
[8/9] Linking libCWinRT.wasm
BUILD FAILURE 6.2 wasm