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 (5c262e), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 15:59:54 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.2
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 5c262e9 📝 Readme: Add SPI badges
Cloned https://github.com/superturboryan/ControlKit.git
Revision (git rev-parse @):
5c262e9f60da2b8cc6bc45a682563b0daea66cd3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/superturboryan/ControlKit.git at main
Fetching https://github.com/spotify/ios-sdk.git
[1/1806] Fetching ios-sdk
Fetched https://github.com/spotify/ios-sdk.git from cache (3.47s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (2.90s)
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/109] Fetching controlkit
Fetched https://github.com/superturboryan/ControlKit.git from cache (0.69s)
Fetching https://github.com/spotify/ios-sdk.git from cache
Fetched https://github.com/spotify/ios-sdk.git from cache (0.47s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (0.02s)
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
Creating working copy for https://github.com/superturboryan/ControlKit.git
Working copy of https://github.com/superturboryan/ControlKit.git resolved at main (5c262e9)
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
{
  "dependencies" : [
    {
      "identity" : "ios-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/spotify/ios-sdk.git"
    }
  ],
  "manifest_display_name" : "ControlKit",
  "name" : "ControlKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "Controllers",
      "targets" : [
        "Controllers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Control",
      "targets" : [
        "Control"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Controllers",
      "module_type" : "SwiftTarget",
      "name" : "Controllers",
      "path" : "Sources/Controllers",
      "product_dependencies" : [
        "SpotifyiOS"
      ],
      "product_memberships" : [
        "Controllers"
      ],
      "sources" : [
        "AppleMusicController.swift",
        "Controllers.swift",
        "Extensions/DAO.swift",
        "Extensions/SPTAppRemote.swift",
        "PlaybackController.swift",
        "SpotifyController.swift",
        "SystemController.swift",
        "VolumeController.swift"
      ],
      "target_dependencies" : [
        "Control"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Control",
      "module_type" : "SwiftTarget",
      "name" : "Control",
      "path" : "Sources/Control",
      "product_memberships" : [
        "Controllers",
        "Control"
      ],
      "sources" : [
        "Control.swift",
        "Extensions/BetweenZeroAndOneInclusive.swift",
        "Extensions/MPMusicPlaybackState.swift",
        "Extensions/MPVolumeView.swift",
        "Haptics.swift",
        "Playback.swift",
        "Volume.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/11] 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 {
[5/11] 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 {
[6/11] Compiling Control MPMusicPlaybackState.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/11] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/11] 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 {
[9/11] 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/11] 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 {
[11/11] 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