The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ControlKit, reference main (2221a2), with Swift 6.1 for macOS (SPM) on 26 May 2025 09:38:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 2221a2f ⏯️ Playback: Set AVAudioSession category
Cloned https://github.com/superturboryan/ControlKit.git
Revision (git rev-parse @):
2221a2fbde16520cec8e256da42b477a8d79500a
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.88s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (7.14s)
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.58s)
Fetching https://github.com/spotify/ios-sdk.git from cache
Fetched https://github.com/spotify/ios-sdk.git from cache (0.41s)
Computing version for https://github.com/spotify/ios-sdk.git
Computed https://github.com/spotify/ios-sdk.git at 3.0.0 (0.46s)
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 (2221a2f)
warning: '.resolve-product-dependencies': dependency 'controlkit' is not used by any target
Found 1 product dependencies
  - SpotifyiOS
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/superturboryan/ControlKit.git
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.3.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-2F0A5646E1D333AE.txt
[4/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 {
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 {
[7/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 {
[8/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 {
[9/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 {
[10/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 {
[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 {
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] 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 {
[3/9] 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 {
[4/9] 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 {
[5/9] 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 {
[6/9] 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 {
[7/9] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/9] 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 {
[9/9] 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 {
BUILD FAILURE 6.1 macosSpm