The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WrapLayout, reference main (13d49e), with Swift 6.1 for Wasm on 25 Jun 2026 03:46:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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

Build Log

========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluidGroup/swiftui-WrapLayout.git
Reference: main
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/FluidGroup/swiftui-WrapLayout
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 13d49e1 Add per-line alignment options to WrapLayout (#9)
Cloned https://github.com/FluidGroup/swiftui-WrapLayout.git
Revision (git rev-parse @):
13d49e1fa533e72f22191fceb1c22f7cf6d20435
SUCCESS checkout https://github.com/FluidGroup/swiftui-WrapLayout.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/FluidGroup/swiftui-WrapLayout.git
https://github.com/FluidGroup/swiftui-WrapLayout.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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 -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:87277f180438764e0763769462b4e00642129a1e8364b1cdaa91f88fde66785b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16173] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.99s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (2.24s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5609] Fetching swift-custom-dump
[5610/81352] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (2.39s)
Fetched https://github.com/swiftlang/swift-syntax from cache (2.41s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.6.1 (2.64s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5880] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (0.98s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.10.1 (0.22s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.10.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module WrapLayout
/host/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | public struct WrapLayout: Layout {
[4/4] Compiling WrapLayout WrapLayout.swift
/host/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | public struct WrapLayout: Layout {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:87277f180438764e0763769462b4e00642129a1e8364b1cdaa91f88fde66785b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 5 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/WrapLayoutTests/__Snapshots__/WrapLayoutTests/testCenterAligned.1.png
    /host/spi-builder-workspace/Tests/WrapLayoutTests/__Snapshots__/WrapLayoutTests/testWrapping.1.png
    /host/spi-builder-workspace/Tests/WrapLayoutTests/__Snapshots__/WrapLayoutTests/testTrailingAligned.1.png
    /host/spi-builder-workspace/Tests/WrapLayoutTests/__Snapshots__/WrapLayoutTests/testVerticalBottomAligned.1.png
    /host/spi-builder-workspace/Tests/WrapLayoutTests/__Snapshots__/WrapLayoutTests/testVerticalCenterAligned.1.png
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module WrapLayout
/host/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | public struct WrapLayout: Layout {
[3/3] Compiling WrapLayout WrapLayout.swift
/host/spi-builder-workspace/Sources/WrapLayout/WrapLayout.swift:1:8: error: no such module 'SwiftUI'
  1 | import SwiftUI
    |        `- error: no such module 'SwiftUI'
  2 |
  3 | public struct WrapLayout: Layout {
BUILD FAILURE 6.1 wasm