Build Information
Failed to build OptionalAPI, reference master (07bcdb), with Swift 6.1 for Wasm on 6 Apr 2026 20:10:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sloik/OptionalAPI.git
Reference: master
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/sloik/OptionalAPI
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 07bcdb8 Update actions/configure-pages action to v6 (#83)
Cloned https://github.com/sloik/OptionalAPI.git
Revision (git rev-parse @):
07bcdb84c0c61f04f087217325fdd4b3519ef542
SUCCESS checkout https://github.com/sloik/OptionalAPI.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/sloik/OptionalAPI.git
https://github.com/sloik/OptionalAPI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "aliaswonderland",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/sloik/AliasWonderland.git"
}
],
"manifest_display_name" : "OptionalAPI",
"name" : "OptionalAPI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "OptionalAPI",
"targets" : [
"OptionalAPI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OptionalAPITests",
"module_type" : "SwiftTarget",
"name" : "OptionalAPITests",
"path" : "Tests/OptionalAPITests",
"sources" : [
"AlternativeTests.swift",
"AndThenTests.swift",
"ApplicativeTests.swift",
"AsyncDefaultSomeTests.swift",
"AsyncMapNoneTests.swift",
"AsyncMapsTests.swift",
"AsyncOrTests.swift",
"AsyncRecoverFromEmptyTests.swift",
"CastTests.swift",
"ConditionalConstructionTests.swift",
"FilterTests.swift",
"FlattenTests.swift",
"FreeFunctionsTest.swift",
"OptionalAPITests.swift",
"OptionalCodableTests.swift",
"RunWhenTests.swift",
"SUTs.swift",
"SendableTests.swift",
"TraversableTests.swift",
"TryAsyncMapsTests.swift"
],
"target_dependencies" : [
"OptionalAPI"
],
"type" : "test"
},
{
"c99name" : "OptionalAPI",
"module_type" : "SwiftTarget",
"name" : "OptionalAPI",
"path" : "Sources/OptionalAPI",
"product_dependencies" : [
"AliasWonderland"
],
"product_memberships" : [
"OptionalAPI"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/OptionalAPI/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Alternative.swift",
"AndThen.swift",
"Applicative.swift",
"AsyncMaps.swift",
"Cast.swift",
"ConditionalConstruction.swift",
"Filter.swift",
"Flatten.swift",
"Folds.swift",
"Maps.swift",
"OptionalCodable.swift",
"OptionalCollection.swift",
"OptionalError.swift",
"OptionalFreeFunctions.swift",
"OptionalProperties.swift",
"Or.swift",
"RunWhen.swift",
"Traversable.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
Fetching https://github.com/sloik/AliasWonderland.git
[1/217] Fetching aliaswonderland
Fetched https://github.com/sloik/AliasWonderland.git from cache (0.23s)
Computing version for https://github.com/sloik/AliasWonderland.git
Computed https://github.com/sloik/AliasWonderland.git at 4.0.1 (0.78s)
Creating working copy for https://github.com/sloik/AliasWonderland.git
Working copy of https://github.com/sloik/AliasWonderland.git resolved at 4.0.1
Building for debugging...
[0/7] Write sources
[1/7] Copying PrivacyInfo.xcprivacy
[3/7] Write swift-version-24593BA9C3E375BF.txt
[5/10] Compiling AliasWonderland ClosuresAliases.swift
[6/10] Emitting module AliasWonderland
[7/10] Compiling AliasWonderland SideEffectAliases.swift
[8/11] Wrapping AST for AliasWonderland for debugging
[9/11] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[10/11] Linking libAliasWonderland.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/4] Write swift-version-24593BA9C3E375BF.txt
[2/7] Emitting module AliasWonderland
[3/7] Compiling AliasWonderland SideEffectAliases.swift
[4/7] Compiling AliasWonderland ClosuresAliases.swift
[5/7] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[6/7] Linking libAliasWonderland.wasm
BUILD FAILURE 6.1 wasm