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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.37.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonat/AvailableHapticFeedback.git
Reference: 1.0.5
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/yonat/AvailableHapticFeedback
 * tag               1.0.5      -> FETCH_HEAD
HEAD is now at 6921d50 bump version to 1.0.5
Cloned https://github.com/yonat/AvailableHapticFeedback.git
Revision (git rev-parse @):
6921d50a363b0f8b389f835e1a517144a25f5373
SUCCESS checkout https://github.com/yonat/AvailableHapticFeedback.git at 1.0.5
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/yonat/AvailableHapticFeedback.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module AvailableHapticFeedback
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
[2/2] Compiling AvailableHapticFeedback AvailableHapticFeedback.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module AvailableHapticFeedback
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
[2/2] Compiling AvailableHapticFeedback AvailableHapticFeedback.swift
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/AvailableHapticFeedback.swift:7:8: error: no such module 'UIKit'
import UIKit
       ^
warning: 'spi-builder-workspace': Invalid Resource 'PrivacyInfo.xcprivacy': File not found.
BUILD FAILURE 5.8 macosSpm