The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWEventSource, reference main (f9fa1a), with Swift 6.1 for Wasm on 26 Feb 2026 12:20:53 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/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/William-Weng/WWEventSource.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/William-Weng/WWEventSource
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f9fa1a3 - update ReadMe
Cloned https://github.com/William-Weng/WWEventSource.git
Revision (git rev-parse @):
f9fa1a39a5d94c29b51ba6a7c13e7a2238da8305
SUCCESS checkout https://github.com/William-Weng/WWEventSource.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWEventSource.git
https://github.com/William-Weng/WWEventSource.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "wwregularexpression",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWRegularExpression"
    }
  ],
  "manifest_display_name" : "WWEventSource",
  "name" : "WWEventSource",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "WWEventSource",
      "targets" : [
        "WWEventSource"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWEventSource",
      "module_type" : "SwiftTarget",
      "name" : "WWEventSource",
      "path" : "Sources/WWEventSource",
      "product_dependencies" : [
        "WWRegularExpression"
      ],
      "product_memberships" : [
        "WWEventSource"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WWEventSource/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Utility/Constant.swift",
        "Utility/Delegate.swift",
        "Utility/Extension.swift",
        "WWEventSource.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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/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/William-Weng/WWRegularExpression
[1/59] Fetching wwregularexpression
Fetched https://github.com/William-Weng/WWRegularExpression from cache (0.22s)
Computing version for https://github.com/William-Weng/WWRegularExpression
Computed https://github.com/William-Weng/WWRegularExpression at 1.0.1 (0.82s)
Creating working copy for https://github.com/William-Weng/WWRegularExpression
Working copy of https://github.com/William-Weng/WWRegularExpression resolved at 1.0.1
Building for debugging...
[0/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module WWRegularExpression
/host/spi-builder-workspace/.build/checkouts/WWRegularExpression/Sources/WWRegularExpression/WWRegularExpression.swift:4:8: error: no such module 'UIKit'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import UIKit
    |        `- error: no such module 'UIKit'
  5 |
  6 | open class WWRegularExpression: NSObject {
[7/8] Compiling WWRegularExpression resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWRegularExpression/Sources/WWRegularExpression/WWRegularExpression.swift:4:8: error: no such module 'UIKit'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import UIKit
    |        `- error: no such module 'UIKit'
  5 |
  6 | open class WWRegularExpression: NSObject {
[8/8] Compiling WWRegularExpression WWRegularExpression.swift
/host/spi-builder-workspace/.build/checkouts/WWRegularExpression/Sources/WWRegularExpression/WWRegularExpression.swift:4:8: error: no such module 'UIKit'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import UIKit
    |        `- error: no such module 'UIKit'
  5 |
  6 | open class WWRegularExpression: NSObject {
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/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/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/4] Emitting module WWRegularExpression
/host/spi-builder-workspace/.build/checkouts/WWRegularExpression/Sources/WWRegularExpression/WWRegularExpression.swift:4:8: error: no such module 'UIKit'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import UIKit
    |        `- error: no such module 'UIKit'
  5 |
  6 | open class WWRegularExpression: NSObject {
[3/4] Compiling WWRegularExpression resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWRegularExpression/Sources/WWRegularExpression/WWRegularExpression.swift:4:8: error: no such module 'UIKit'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import UIKit
    |        `- error: no such module 'UIKit'
  5 |
  6 | open class WWRegularExpression: NSObject {
[4/4] Compiling WWRegularExpression WWRegularExpression.swift
/host/spi-builder-workspace/.build/checkouts/WWRegularExpression/Sources/WWRegularExpression/WWRegularExpression.swift:4:8: error: no such module 'UIKit'
  2 | // https://docs.swift.org/swift-book
  3 |
  4 | import UIKit
    |        `- error: no such module 'UIKit'
  5 |
  6 | open class WWRegularExpression: NSObject {
BUILD FAILURE 6.1 wasm