The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftUIMessage, reference main (4ff474), with Swift 6.1 for Wasm on 17 Dec 2025 22:14:11 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/edonv/SwiftUIMessage.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/edonv/SwiftUIMessage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4ff4748 Added view modifier overloads that take arrays
Cloned https://github.com/edonv/SwiftUIMessage.git
Revision (git rev-parse @):
4ff4748429285b16cad3cccf727742cd24887083
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/SwiftUIMessage.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/edonv/SwiftUIMessage.git
https://github.com/edonv/SwiftUIMessage.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUIMessage",
  "name" : "SwiftUIMessage",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIMessage",
      "targets" : [
        "SwiftUIMessage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIMessageTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIMessageTests",
      "path" : "Tests/SwiftUIMessageTests",
      "sources" : [
        "SwiftUIMessageTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIMessage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIMessage",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIMessage",
      "path" : "Sources/SwiftUIMessage",
      "product_memberships" : [
        "SwiftUIMessage"
      ],
      "sources" : [
        "MFMailComposeViewController/MailComposeView+ViewModifiers.swift",
        "MFMailComposeViewController/MailComposeView.swift",
        "MFMessageComposeViewController/MessageComposeView+ViewModifiers.swift",
        "MFMessageComposeViewController/MessageComposeView.swift",
        "NotificationName+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling SwiftUIMessage MessageComposeView.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module SwiftUIMessage
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[5/8] Compiling SwiftUIMessage MailComposeView.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[6/8] Compiling SwiftUIMessage MailComposeView+ViewModifiers.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[7/8] Compiling SwiftUIMessage MessageComposeView+ViewModifiers.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[8/8] Compiling SwiftUIMessage NotificationName+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/7] Emitting module SwiftUIMessage
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[3/7] Compiling SwiftUIMessage MailComposeView+ViewModifiers.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[4/7] Compiling SwiftUIMessage MailComposeView.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[5/7] Compiling SwiftUIMessage MessageComposeView.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[6/7] Compiling SwiftUIMessage NotificationName+Extensions.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
[7/7] Compiling SwiftUIMessage MessageComposeView+ViewModifiers.swift
/host/spi-builder-workspace/Sources/SwiftUIMessage/MFMailComposeViewController/MailComposeView+ViewModifiers.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | extension View where Self == MailComposeView {
BUILD FAILURE 6.1 wasm