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 AlertPresenter, reference v1.0.0 (495628), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 20:00:05 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/ChrisMash/AlertPresenter.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisMash/AlertPresenter
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 4956287 Update README.md
Cloned https://github.com/ChrisMash/AlertPresenter.git
Revision (git rev-parse @):
4956287fbb422f8147237966fe269d1bb985ea6e
SUCCESS checkout https://github.com/ChrisMash/AlertPresenter.git at v1.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": "alertpresenter",
      "name": "AlertPresenter",
      "url": "https://github.com/ChrisMash/AlertPresenter.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AlertPresenter",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ChrisMash/AlertPresenter.git
[1/200] Fetching alertpresenter
Fetched https://github.com/ChrisMash/AlertPresenter.git from cache (0.76s)
Creating working copy for https://github.com/ChrisMash/AlertPresenter.git
Working copy of https://github.com/ChrisMash/AlertPresenter.git resolved at v1.0.0 (4956287)
warning: '.resolve-product-dependencies': dependency 'alertpresenter' 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/ChrisMash/AlertPresenter.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
[3/9] Compiling AlertPresenter PopoverPresentation.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Compiling AlertPresenter AlertModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[5/9] Emitting module AlertPresenter
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[6/9] Compiling AlertPresenter Queue.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[7/9] Compiling AlertPresenter ContainterViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[8/9] Compiling AlertPresenter AlertWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
[9/9] Compiling AlertPresenter AlertPresenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/AlertPresenter/AlertModel.swift:6:8: error: no such module 'UIKit'
 4 | //
 5 |
 6 | import UIKit
   |        `- error: no such module 'UIKit'
 7 |
 8 | internal class AlertModel {
BUILD FAILURE 6.0 macosSpm