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 Player, reference 0.14.0 (d6a6c2), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 08:15:18 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/piemonte/Player.git
Reference: 0.14.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/piemonte/Player
 * tag               0.14.0     -> FETCH_HEAD
HEAD is now at d6a6c26 update min deployment version
Cloned https://github.com/piemonte/Player.git
Revision (git rev-parse @):
d6a6c266e80f90fa93430371076964c196a1d2ec
SUCCESS checkout https://github.com/piemonte/Player.git at 0.14.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": "player",
      "name": "Player",
      "url": "https://github.com/piemonte/Player.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Player",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/piemonte/Player.git
[1/2877] Fetching player
Fetched https://github.com/piemonte/Player.git from cache (2.16s)
Creating working copy for https://github.com/piemonte/Player.git
Working copy of https://github.com/piemonte/Player.git resolved at 0.14.0 (d6a6c26)
warning: '.resolve-product-dependencies': dependency 'player' 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/piemonte/Player.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/4] Emitting module Player
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:27:8: error: no such module 'UIKit'
  25 | //  SOFTWARE.
  26 |
  27 | import UIKit
     |        `- error: no such module 'UIKit'
  28 | import Foundation
  29 | import AVFoundation
[4/4] Compiling Player Player.swift
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:27:8: error: no such module 'UIKit'
  25 | //  SOFTWARE.
  26 |
  27 | import UIKit
     |        `- error: no such module 'UIKit'
  28 | import Foundation
  29 | import AVFoundation
BUILD FAILURE 6.0 macosSpm