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 KeyboardHelper with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ml-opensource/KeyboardHelper.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ml-opensource/KeyboardHelper
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a4e9845 Update README.md
Cloned https://github.com/ml-opensource/KeyboardHelper.git
Revision (git rev-parse @):
a4e9845648d15107c6d67630c8bc41eee57c4b2a
SUCCESS checkout https://github.com/ml-opensource/KeyboardHelper.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "keyboardhelper",
      "name": "KeyboardHelper",
      "url": "https://github.com/ml-opensource/KeyboardHelper.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/KeyboardHelper",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ml-opensource/KeyboardHelper.git from cache
Fetched https://github.com/ml-opensource/KeyboardHelper.git from cache (0.20s)
Creating working copy for https://github.com/ml-opensource/KeyboardHelper.git
Working copy of https://github.com/ml-opensource/KeyboardHelper.git resolved at master (a4e9845)
warning: '.resolve-product-dependencies': dependency 'keyboardhelper' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ml-opensource/KeyboardHelper.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module KeyboardHelper
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KeyboardHelper/KeyboardAppearanceInfo.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[4/5] Compiling KeyboardHelper KeyboardHelper.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KeyboardHelper/KeyboardAppearanceInfo.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
[5/5] Compiling KeyboardHelper KeyboardAppearanceInfo.swift
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/KeyboardHelper/KeyboardAppearanceInfo.swift:10:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7