Build Information
Failed to build CoreProtocolLibrary, reference main (ea93f5), with Swift 6.1 for macOS (SPM) on 26 Sep 2025 11:31:08 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tommysima163/CoreProtocolLibrary.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tommysima163/CoreProtocolLibrary
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ea93f53 fix a issue
Cloned https://github.com/tommysima163/CoreProtocolLibrary.git
Revision (git rev-parse @):
ea93f534db7a7c0b8d6ba5b6db7b1ddd3b917301
SUCCESS checkout https://github.com/tommysima163/CoreProtocolLibrary.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": "coreprotocollibrary",
"name": "CoreProtocolLibrary",
"url": "https://github.com/tommysima163/CoreProtocolLibrary.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CoreProtocolLibrary",
"dependencies": [
]
}
]
}
Fetching https://github.com/tommysima163/CoreProtocolLibrary.git
[1/14] Fetching coreprotocollibrary
Fetched https://github.com/tommysima163/CoreProtocolLibrary.git from cache (0.63s)
Creating working copy for https://github.com/tommysima163/CoreProtocolLibrary.git
Working copy of https://github.com/tommysima163/CoreProtocolLibrary.git resolved at main (ea93f53)
warning: '.resolve-product-dependencies': dependency 'coreprotocollibrary' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/tommysima163/CoreProtocolLibrary.git
https://github.com/tommysima163/CoreProtocolLibrary.git
{
"dependencies" : [
],
"manifest_display_name" : "CoreProtocolLibrary",
"name" : "CoreProtocolLibrary",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "CoreProtocolLibrary",
"targets" : [
"CoreProtocolLibrary"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreProtocolLibrary",
"module_type" : "SwiftTarget",
"name" : "CoreProtocolLibrary",
"path" : "Sources/CoreProtocolLibrary",
"product_memberships" : [
"CoreProtocolLibrary"
],
"sources" : [
"CoreProtocolLibrary.swift",
"LoginModuleProtocol.swift",
"ModuleRouter.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module CoreProtocolLibrary
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[4/6] Compiling CoreProtocolLibrary CoreProtocolLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[5/6] Compiling CoreProtocolLibrary LoginModuleProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[6/6] Compiling CoreProtocolLibrary ModuleRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/5] Emitting module CoreProtocolLibrary
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[3/5] Compiling CoreProtocolLibrary CoreProtocolLibrary.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[4/5] Compiling CoreProtocolLibrary ModuleRouter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
[5/5] Compiling CoreProtocolLibrary LoginModuleProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CoreProtocolLibrary/CoreProtocolLibrary.swift:3:8: error: no such module 'UIKit'
1 | // The Swift Programming Language
2 | // https://docs.swift.org/swift-book
3 | import UIKit
| `- error: no such module 'UIKit'
4 |
5 | /// 登录模块对外提供的功能契约
BUILD FAILURE 6.1 macosSpm