The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWNetworking, reference main (1fa0aa), with Swift 6.1 for Android on 6 Mar 2026 12:23: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/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWNetworking.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/WWNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1fa0aae - 加上由ContentType文字尋找ContentType類型的功能
Cloned https://github.com/William-Weng/WWNetworking.git
Revision (git rev-parse @):
1fa0aae3b22fb5f040fcb09108e39414cde0437d
SUCCESS checkout https://github.com/William-Weng/WWNetworking.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWNetworking.git
https://github.com/William-Weng/WWNetworking.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WWNetworking",
  "name" : "WWNetworking",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WWNetworking",
      "targets" : [
        "WWNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWNetworking",
      "module_type" : "SwiftTarget",
      "name" : "WWNetworking",
      "path" : "Sources/WWNetworking",
      "product_memberships" : [
        "WWNetworking"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WWNetworking/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Proxy/DataDelegateProxy.swift",
        "Proxy/Delegate.swift",
        "Proxy/DelegateProxy.swift",
        "Proxy/DownloadDelegateProxy.swift",
        "Proxy/TaskDelegateProxy.swift",
        "Utility/Constant.swift",
        "Utility/Extension.swift",
        "Utility/Model.swift",
        "Utility/Utility.swift",
        "WWNetworking.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/14] Emitting module WWNetworking
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[5/14] Compiling WWNetworking DataDelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[6/14] Compiling WWNetworking Delegate.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[7/15] Compiling WWNetworking DelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[8/15] Compiling WWNetworking DownloadDelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[9/15] Compiling WWNetworking Model.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[10/15] Compiling WWNetworking Utility.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[11/15] Compiling WWNetworking WWNetworking.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[12/15] Compiling WWNetworking Extension.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[13/15] Compiling WWNetworking TaskDelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[14/15] Compiling WWNetworking Constant.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[15/15] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling WWNetworking Extension.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[3/13] Compiling WWNetworking TaskDelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[4/13] Compiling WWNetworking Constant.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[5/13] Compiling WWNetworking Utility.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[6/13] Compiling WWNetworking DelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[7/13] Compiling WWNetworking DownloadDelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module WWNetworking
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[9/13] Compiling WWNetworking DataDelegateProxy.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[10/13] Compiling WWNetworking Delegate.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[11/13] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[12/13] Compiling WWNetworking Model.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
[13/13] Compiling WWNetworking WWNetworking.swift
/host/spi-builder-workspace/Sources/WWNetworking/Utility/Constant.swift:8:8: error: no such module 'UIKit'
  6 | //
  7 |
  8 | import UIKit
    |        `- error: no such module 'UIKit'
  9 |
 10 | // MARK: - typealias
BUILD FAILURE 6.1 android