The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WWUserDefaults, reference 1.1.0 (06668c), with Swift 6.2 for Android on 17 Mar 2026 06:40:47 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWUserDefaults.git
Reference: 1.1.0
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/WWUserDefaults
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 06668c7 - 增加WWUserDefaultsCodable (可以存class)
Cloned https://github.com/William-Weng/WWUserDefaults.git
Revision (git rev-parse @):
06668c74c56cc0dc430a39989c09a3b7f37e9b29
SUCCESS checkout https://github.com/William-Weng/WWUserDefaults.git at 1.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/William-Weng/WWUserDefaults.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ed06329bcd62885fa27d8bb2bd26ede56f367c486166aaeeac553557f3a78bad
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying Privacy
[2/3] Write swift-version--11D90AFD9DD3AB2.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module WWUserDefaults
/host/spi-builder-workspace/Sources/WWUserDefaults/WWUserDefaults.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [利用「屬性包裝器」做成UserDefaults加強版](https://medium.com/jeremy-xue-s-blog/swift-程式語言-property-wrappers-574e25cdcd44)
[5/6] Compiling WWUserDefaults WWUserDefaults.swift
/host/spi-builder-workspace/Sources/WWUserDefaults/WWUserDefaults.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [利用「屬性包裝器」做成UserDefaults加強版](https://medium.com/jeremy-xue-s-blog/swift-程式語言-property-wrappers-574e25cdcd44)
[6/6] Compiling WWUserDefaults resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WWUserDefaults/WWUserDefaults.swift:8:8: error: no such module 'UIKit'
 6 | //
 7 |
 8 | import UIKit
   |        `- error: no such module 'UIKit'
 9 |
10 | // MARK: - [利用「屬性包裝器」做成UserDefaults加強版](https://medium.com/jeremy-xue-s-blog/swift-程式語言-property-wrappers-574e25cdcd44)
BUILD FAILURE 6.2 android