The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWDetectDevice, reference 1.5.1 (025943), with Swift 6.1 for Android on 13 Aug 2026 06:07:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWDetectDevice.git
Reference: 1.5.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/WWDetectDevice
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at 025943a - 加上對APP的資訊取得
Cloned https://github.com/William-Weng/WWDetectDevice.git
Revision (git rev-parse @):
025943aa329b7eac5a0443a6e3d7b6586061a967
SUCCESS checkout https://github.com/William-Weng/WWDetectDevice.git at 1.5.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/William-Weng/WWDetectDevice.git
https://github.com/William-Weng/WWDetectDevice.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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 saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Building for debugging...
[0/4] Write sources
[0/4] Copying Privacy
[0/4] Copying JSON
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling WWDetectDevice WWDetectDevice.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[6/16] Compiling WWDetectDevice Protocol.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[7/16] Compiling WWDetectDevice Model.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[8/16] Compiling WWDetectDevice resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/16] Emitting module WWDetectDevice
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[10/16] Compiling WWDetectDevice Extension.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[11/16] Compiling WWDetectDevice InfoPlistKey.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[12/16] Compiling WWDetectDevice iPadType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[13/16] Compiling WWDetectDevice AppleTVType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[14/16] Compiling WWDetectDevice AppleWatchType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[15/16] Compiling WWDetectDevice iPhoneType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[16/16] Compiling WWDetectDevice Constant.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0cd0efb458d677a6de9b5e028d30e2aa1d1b247c2277202ba317a28ce9e867e0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling WWDetectDevice Protocol.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[3/12] Compiling WWDetectDevice Model.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[4/12] Compiling WWDetectDevice WWDetectDevice.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[5/13] Compiling WWDetectDevice Extension.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[6/13] Compiling WWDetectDevice iPhoneType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[7/13] Compiling WWDetectDevice Constant.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[8/13] Compiling WWDetectDevice AppleTVType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[9/13] Compiling WWDetectDevice AppleWatchType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[10/13] Compiling WWDetectDevice InfoPlistKey.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[11/13] Compiling WWDetectDevice iPadType.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/13] Emitting module WWDetectDevice
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
[13/13] Compiling WWDetectDevice resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WWDetectDevice/Utility/Constant.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - APPLE裝置分類
BUILD FAILURE 6.1 android