The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWSimpleAI_Ollama, reference 1.2.1 (518685), with Swift 6.1 for Android on 26 Feb 2026 13:20:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/WWSimpleAI_Ollama.git
Reference: 1.2.1
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/WWSimpleAI_Ollama
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 518685c - 將基本參數獨立設定
Cloned https://github.com/William-Weng/WWSimpleAI_Ollama.git
Revision (git rev-parse @):
518685c72e6fba7ae182466e3776ad564d24d068
SUCCESS checkout https://github.com/William-Weng/WWSimpleAI_Ollama.git at 1.2.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWSimpleAI_Ollama.git
https://github.com/William-Weng/WWSimpleAI_Ollama.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "wwnetworking",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.13",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/William-Weng/WWNetworking.git"
    }
  ],
  "manifest_display_name" : "WWSimpleAI_Ollama",
  "name" : "WWSimpleAI_Ollama",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "WWSimpleAI_Ollama",
      "targets" : [
        "WWSimpleAI_Ollama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "WWSimpleAI_Ollama",
      "module_type" : "SwiftTarget",
      "name" : "WWSimpleAI_Ollama",
      "path" : "Sources/WWSimpleAI_Ollama",
      "product_dependencies" : [
        "WWNetworking"
      ],
      "product_memberships" : [
        "WWSimpleAI_Ollama"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/WWSimpleAI_Ollama/Privacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Utility/Constant.swift",
        "Utility/Extension.swift",
        "Utility/Model.swift",
        "WWSimpleAI.swift",
        "WWSimpleAI_Ollama.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/William-Weng/WWNetworking.git
[1/828] Fetching wwnetworking
Fetched https://github.com/William-Weng/WWNetworking.git from cache (0.70s)
Computing version for https://github.com/William-Weng/WWNetworking.git
Computed https://github.com/William-Weng/WWNetworking.git at 1.9.0 (1.36s)
Creating working copy for https://github.com/William-Weng/WWNetworking.git
Working copy of https://github.com/William-Weng/WWNetworking.git resolved at 1.9.0
Building for debugging...
[0/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/11] Compiling WWNetworking Extension.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/11] Compiling WWNetworking Constant.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/11] Compiling WWNetworking Model.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/11] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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)
[10/11] Emitting module WWNetworking
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/11] Compiling WWNetworking Networking.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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-4606859-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/7] Compiling WWNetworking resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/7] Compiling WWNetworking Model.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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)
[4/7] Emitting module WWNetworking
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/7] Compiling WWNetworking Extension.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/7] Compiling WWNetworking Networking.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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/7] Compiling WWNetworking Constant.swift
/host/spi-builder-workspace/.build/checkouts/WWNetworking/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