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 AirKit, reference main (f275c0), with Swift 6.0 for macOS (SPM) on 17 Nov 2024 08:54:52 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.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heestand-xyz/AirKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/heestand-xyz/AirKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f275c0a AirPlay
Cloned https://github.com/heestand-xyz/AirKit.git
Revision (git rev-parse @):
f275c0a7242fe14fc143ebf929630f46468b0adc
SUCCESS checkout https://github.com/heestand-xyz/AirKit.git at main
========================================
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": "airkit",
      "name": "AirKit",
      "url": "https://github.com/heestand-xyz/AirKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AirKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/heestand-xyz/AirKit.git
[1/77] Fetching airkit
Fetched https://github.com/heestand-xyz/AirKit.git from cache (0.69s)
Creating working copy for https://github.com/heestand-xyz/AirKit.git
Working copy of https://github.com/heestand-xyz/AirKit.git resolved at main (f275c0a)
warning: '.resolve-product-dependencies': dependency 'airkit' 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/heestand-xyz/AirKit.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module AirKit
/Users/admin/builder/spi-builder-workspace/Sources/AirKit/Air.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import SwiftUI
  3 |
[4/5] Compiling AirKit AirPlay.swift
/Users/admin/builder/spi-builder-workspace/Sources/AirKit/Air.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import SwiftUI
  3 |
[5/5] Compiling AirKit Air.swift
/Users/admin/builder/spi-builder-workspace/Sources/AirKit/Air.swift:1:8: error: no such module 'UIKit'
  1 | import UIKit
    |        `- error: no such module 'UIKit'
  2 | import SwiftUI
  3 |
BUILD FAILURE 6.0 macosSpm