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 SoundKit, reference v0.1.0-alpha (ad64bf), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:13:39 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lucaswkuipers/SoundKit.git
Reference: v0.1.0-alpha
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lucaswkuipers/SoundKit
 * tag               v0.1.0-alpha -> FETCH_HEAD
HEAD is now at ad64bf6 Update README.md
Cloned https://github.com/lucaswkuipers/SoundKit.git
Revision (git rev-parse @):
ad64bf6f7c92edc864623e0cf6dca337402c4e5d
SUCCESS checkout https://github.com/lucaswkuipers/SoundKit.git at v0.1.0-alpha
========================================
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": "soundkit",
      "name": "SoundKit",
      "url": "https://github.com/lucaswkuipers/SoundKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SoundKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/lucaswkuipers/SoundKit.git
[1/44] Fetching soundkit
Fetched https://github.com/lucaswkuipers/SoundKit.git from cache (0.68s)
Creating working copy for https://github.com/lucaswkuipers/SoundKit.git
Working copy of https://github.com/lucaswkuipers/SoundKit.git resolved at v0.1.0-alpha (ad64bf6)
warning: '.resolve-product-dependencies': dependency 'soundkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/lucaswkuipers/SoundKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/11] Compiling SoundKit SoundPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[4/11] Compiling SoundKit EmptySound.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[5/11] Compiling SoundKit HapticPlayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module SoundKit
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[7/11] Compiling SoundKit String+removing.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[8/11] Compiling SoundKit Haptic.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[9/11] Compiling SoundKit Array+subscript(safe).swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[10/11] Compiling SoundKit AVAudioSession+setAmbient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
[11/11] Compiling SoundKit Sound.swift
/Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Haptics/Haptic.swift:1:8: error: no such module 'UIKit'
 1 | import UIKit
   |        `- error: no such module 'UIKit'
 2 |
 3 | public protocol Haptic {
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SoundKit/Sound/Sounds/Empty/empty.mp3
BUILD FAILURE 6.0 macosSpm