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 HapticFeedback, reference main (97c91b), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 07:27:02 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/space-code/haptic-feedback.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/space-code/haptic-feedback
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 97c91b2 Implement the `play(_:)` method (#4)
Cloned https://github.com/space-code/haptic-feedback.git
Revision (git rev-parse @):
97c91b249a5ae4e255f63af913758526d70c69ad
SUCCESS checkout https://github.com/space-code/haptic-feedback.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/space-code/haptic-feedback.git
https://github.com/space-code/haptic-feedback.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HapticFeedback",
  "name" : "HapticFeedback",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "HapticFeedback",
      "targets" : [
        "HapticFeedback"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HapticFeedback",
      "module_type" : "SwiftTarget",
      "name" : "HapticFeedback",
      "path" : "Sources/HapticFeedback",
      "product_memberships" : [
        "HapticFeedback"
      ],
      "sources" : [
        "Classes/Core/Helpers/OperationQueue+Serial.swift",
        "Classes/Core/Operations/HapticOperation.swift",
        "Classes/Core/Operations/WaitOperation.swift",
        "Classes/HapticFeedback.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
[3/7] Compiling HapticFeedback HapticFeedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
[4/7] Compiling HapticFeedback WaitOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module HapticFeedback
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
[6/7] Compiling HapticFeedback OperationQueue+Serial.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
[7/7] Compiling HapticFeedback HapticOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
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/6] Emitting module HapticFeedback
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
[3/6] Compiling HapticFeedback HapticOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
[4/6] Compiling HapticFeedback HapticFeedback.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
[5/6] Compiling HapticFeedback OperationQueue+Serial.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
[6/6] Compiling HapticFeedback WaitOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/HapticFeedback/Classes/HapticFeedback.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | // MARK: - HapticFeedback
BUILD FAILURE 6.1 macosSpm