Build Information
Failed to build KeyboardHost, reference 1.0.1 (858f99
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 02:49:55 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/HumorousGhost/KeyboardHost.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/HumorousGhost/KeyboardHost
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 858f997 change package
Cloned https://github.com/HumorousGhost/KeyboardHost.git
Revision (git rev-parse @):
858f997a59f746216f2c0ef7fcce46f95840e092
SUCCESS checkout https://github.com/HumorousGhost/KeyboardHost.git at 1.0.1
========================================
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": "keyboardhost",
"name": "KeyboardHost",
"url": "https://github.com/HumorousGhost/KeyboardHost.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KeyboardHost",
"dependencies": [
]
}
]
}
Fetching https://github.com/HumorousGhost/KeyboardHost.git
[1/31] Fetching keyboardhost
Fetched https://github.com/HumorousGhost/KeyboardHost.git from cache (0.48s)
Creating working copy for https://github.com/HumorousGhost/KeyboardHost.git
Working copy of https://github.com/HumorousGhost/KeyboardHost.git resolved at 1.0.1 (858f997)
warning: '.resolve-product-dependencies': dependency 'keyboardhost' 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/HumorousGhost/KeyboardHost.git
https://github.com/HumorousGhost/KeyboardHost.git
{
"dependencies" : [
],
"manifest_display_name" : "KeyboardHost",
"name" : "KeyboardHost",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "KeyboardHost",
"targets" : [
"KeyboardHost"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KeyboardHostTests",
"module_type" : "SwiftTarget",
"name" : "KeyboardHostTests",
"path" : "Tests/KeyboardHostTests",
"sources" : [
"KeyboardHostTests.swift"
],
"target_dependencies" : [
"KeyboardHost"
],
"type" : "test"
},
{
"c99name" : "KeyboardHost",
"module_type" : "SwiftTarget",
"name" : "KeyboardHost",
"path" : "Sources/KeyboardHost",
"product_memberships" : [
"KeyboardHost"
],
"sources" : [
"KeyboardHost.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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 -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
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/4] Emitting module KeyboardHost
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:30:15: error: cannot find 'UIResponder' in scope
28 | private let showPublisher = NotificationCenter.Publisher.init(
29 | center: .default,
30 | name: UIResponder.keyboardWillShowNotification
| `- error: cannot find 'UIResponder' in scope
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:32:46: error: cannot find 'UIResponder' in scope
30 | name: UIResponder.keyboardWillShowNotification
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
| `- error: cannot find 'UIResponder' in scope
33 | return rect.size.height
34 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:41:15: error: cannot find 'UIResponder' in scope
39 | private let hidePublisher = NotificationCenter.Publisher.init(
40 | center: .default,
41 | name: UIResponder.keyboardWillHideNotification
| `- error: cannot find 'UIResponder' in scope
42 | ).map { _ -> CGFloat in
43 | return 0
[4/4] Compiling KeyboardHost KeyboardHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:30:15: error: cannot find 'UIResponder' in scope
28 | private let showPublisher = NotificationCenter.Publisher.init(
29 | center: .default,
30 | name: UIResponder.keyboardWillShowNotification
| `- error: cannot find 'UIResponder' in scope
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:32:46: error: cannot find 'UIResponder' in scope
30 | name: UIResponder.keyboardWillShowNotification
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
| `- error: cannot find 'UIResponder' in scope
33 | return rect.size.height
34 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:41:15: error: cannot find 'UIResponder' in scope
39 | private let hidePublisher = NotificationCenter.Publisher.init(
40 | center: .default,
41 | name: UIResponder.keyboardWillHideNotification
| `- error: cannot find 'UIResponder' in scope
42 | ).map { _ -> CGFloat in
43 | return 0
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/3] Emitting module KeyboardHost
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:30:15: error: cannot find 'UIResponder' in scope
28 | private let showPublisher = NotificationCenter.Publisher.init(
29 | center: .default,
30 | name: UIResponder.keyboardWillShowNotification
| `- error: cannot find 'UIResponder' in scope
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:32:46: error: cannot find 'UIResponder' in scope
30 | name: UIResponder.keyboardWillShowNotification
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
| `- error: cannot find 'UIResponder' in scope
33 | return rect.size.height
34 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:41:15: error: cannot find 'UIResponder' in scope
39 | private let hidePublisher = NotificationCenter.Publisher.init(
40 | center: .default,
41 | name: UIResponder.keyboardWillHideNotification
| `- error: cannot find 'UIResponder' in scope
42 | ).map { _ -> CGFloat in
43 | return 0
[3/3] Compiling KeyboardHost KeyboardHost.swift
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:30:15: error: cannot find 'UIResponder' in scope
28 | private let showPublisher = NotificationCenter.Publisher.init(
29 | center: .default,
30 | name: UIResponder.keyboardWillShowNotification
| `- error: cannot find 'UIResponder' in scope
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:32:46: error: cannot find 'UIResponder' in scope
30 | name: UIResponder.keyboardWillShowNotification
31 | ).map { (notification) -> CGFloat in
32 | if let rect = notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? CGRect {
| `- error: cannot find 'UIResponder' in scope
33 | return rect.size.height
34 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/KeyboardHost/KeyboardHost.swift:41:15: error: cannot find 'UIResponder' in scope
39 | private let hidePublisher = NotificationCenter.Publisher.init(
40 | center: .default,
41 | name: UIResponder.keyboardWillHideNotification
| `- error: cannot find 'UIResponder' in scope
42 | ).map { _ -> CGFloat in
43 | return 0
BUILD FAILURE 6.1 macosSpm