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 0.0.1 (105f28), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 06:46: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/superturboryan/ControlKit.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/superturboryan/ControlKit
 * tag               0.0.1      -> FETCH_HEAD
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 0.0.1
Fetching https://github.com/spotify/ios-sdk.git
[1/1802] Fetching ios-sdk
Fetched https://github.com/spotify/ios-sdk.git from cache (3.55s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (3.17s)
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
========================================
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": "controlkit",
      "name": "ControlKit",
      "url": "https://github.com/superturboryan/ControlKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ControlKit",
      "dependencies": [
        {
          "identity": "ios-sdk",
          "name": "SpotifyiOS",
          "url": "https://github.com/spotify/ios-sdk.git",
          "version": "3.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ios-sdk",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/superturboryan/ControlKit.git
[1/55] Fetching controlkit
Fetched https://github.com/superturboryan/ControlKit.git from cache (0.65s)
Fetching https://github.com/spotify/ios-sdk.git from cache
Fetched https://github.com/spotify/ios-sdk.git from cache (0.49s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (0.03s)
Creating working copy for https://github.com/superturboryan/ControlKit.git
Working copy of https://github.com/superturboryan/ControlKit.git resolved at 0.0.1 (105f28a)
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
warning: '.resolve-product-dependencies': dependency 'controlkit' is not used by any target
Found 1 product dependencies
  - SpotifyiOS
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/superturboryan/ControlKit.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Emitting module Control
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | public extension Control {
[5/10] Compiling Control Volume.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | public extension Control {
[6/10] Compiling Control Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | public extension Control {
[7/10] Compiling Control Haptics.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | public extension Control {
[8/10] Compiling Control Playback.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | public extension Control {
[9/10] Compiling Control BetweenZeroAndOneInclusive.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | public extension Control {
[10/10] Compiling Control MPVolumeView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Control/Haptics.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | public extension Control {
BUILD FAILURE 6.0 macosSpm