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 ControlKit, reference main (105f28), with Swift 5.10 for macOS (SPM) on 6 Nov 2024 06:46:16 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/superturboryan/ControlKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/superturboryan/ControlKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 105f28a 🤖 CI: Add build-package workflow
Cloned https://github.com/superturboryan/ControlKit.git
Revision (git rev-parse @):
105f28a3cab96e660ed2e74693d6d4013403a489
SUCCESS checkout https://github.com/superturboryan/ControlKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/superturboryan/ControlKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-33747A42983211AE.txt
[4/10] Compiling Control Haptics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[5/10] Compiling Control Volume.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[6/10] Compiling Control Playback.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Emitting module Control
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[8/10] Compiling Control MPVolumeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[9/10] Compiling Control BetweenZeroAndOneInclusive.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
[10/10] Compiling Control Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
Fetching https://github.com/spotify/ios-sdk.git
[1/1802] Fetching ios-sdk
Fetched https://github.com/spotify/ios-sdk.git from cache (4.10s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (2.92s)
Creating working copy for https://github.com/spotify/ios-sdk.git
Working copy of https://github.com/spotify/ios-sdk.git resolved at 3.0.0
BUILD FAILURE 5.10 macosSpm