This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build KeyboardHost with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/HumorousGhost/KeyboardHost.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/HumorousGhost/KeyboardHost
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at db282c3 1.0.1
Cloned https://github.com/HumorousGhost/KeyboardHost.git
Revision (git rev-parse @):
db282c3af68e04b6424f03db10d7ad43adec3344
SUCCESS checkout https://github.com/HumorousGhost/KeyboardHost.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/HumorousGhost/KeyboardHost.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.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
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.