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 develop (473d89), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:13:26 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: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lucaswkuipers/SoundKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 473d897 Update README.md
Cloned https://github.com/lucaswkuipers/SoundKit.git
Revision (git rev-parse @):
473d8976a26e3e4ce36ab36ba4fde8ee8354443c
SUCCESS checkout https://github.com/lucaswkuipers/SoundKit.git at develop
========================================
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.64s)
Creating working copy for https://github.com/lucaswkuipers/SoundKit.git
Working copy of https://github.com/lucaswkuipers/SoundKit.git resolved at develop (473d897)
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 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 {
[4/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/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 {
[6/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 {
[7/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 {
[8/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 {
[9/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 {
[10/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 {
[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