Build Information
Failed to build displayAllFonts, reference main (8267c2
), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 00:00:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/huabin/displayAllFonts.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/huabin/displayAllFonts
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8267c23 fixed error
Cloned https://github.com/huabin/displayAllFonts.git
Revision (git rev-parse @):
8267c23f3c40a96e6a7c9fd6ba5a135ff61a0bb5
SUCCESS checkout https://github.com/huabin/displayAllFonts.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "displayallfonts",
"name": "displayAllFonts",
"url": "https://github.com/huabin/displayAllFonts.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/displayAllFonts",
"dependencies": [
]
}
]
}
Fetching https://github.com/huabin/displayAllFonts.git
[1/19] Fetching displayallfonts
Fetched https://github.com/huabin/displayAllFonts.git from cache (0.65s)
Creating working copy for https://github.com/huabin/displayAllFonts.git
Working copy of https://github.com/huabin/displayAllFonts.git resolved at main (8267c23)
warning: '.resolve-product-dependencies': dependency 'displayallfonts' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/huabin/displayAllFonts.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module displayAllFonts
/Users/admin/builder/spi-builder-workspace/Sources/displayAllFonts/displayAllFonts.swift:4:8: error: no such module 'UIKit'
2 | // https://docs.swift.org/swift-book
3 | // Bin Hua <https://binhua.org>
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | public func displayAllFonts(hideSystemFonts: Bool) {
[4/4] Compiling displayAllFonts displayAllFonts.swift
/Users/admin/builder/spi-builder-workspace/Sources/displayAllFonts/displayAllFonts.swift:4:8: error: no such module 'UIKit'
2 | // https://docs.swift.org/swift-book
3 | // Bin Hua <https://binhua.org>
4 | import UIKit
| `- error: no such module 'UIKit'
5 |
6 | public func displayAllFonts(hideSystemFonts: Bool) {
BUILD FAILURE 6.0 macosSpm