Build Information
Failed to build WWDetectDevice, reference main (025943), with Swift 6.1 for Wasm on 13 Aug 2026 06:20:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWDetectDevice.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/WWDetectDevice
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: wasm
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-54344847-0":/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: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 saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/4] Write sources
[1/4] Copying Privacy
[2/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裝置分類
[9/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裝置分類
[10/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裝置分類
[11/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裝置分類
[12/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裝置分類
[13/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裝置分類
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/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裝置分類
[15/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裝置分類
[16/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裝置分類
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/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裝置分類
[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 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裝置分類
[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裝置分類
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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裝置分類
[7/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裝置分類
[8/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裝置分類
[9/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裝置分類
[10/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裝置分類
[11/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裝置分類
[12/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裝置分類
[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 wasm