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 main (15bb36), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 04:46:40 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisMash/AlertPresenter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChrisMash/AlertPresenter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 15bb368 Update README.md
Cloned https://github.com/ChrisMash/AlertPresenter.git
Revision (git rev-parse @):
15bb368a0f2b7ba25a66d9172018f9d21768df3f
SUCCESS checkout https://github.com/ChrisMash/AlertPresenter.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": "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.81s)
Creating working copy for https://github.com/ChrisMash/AlertPresenter.git
Working copy of https://github.com/ChrisMash/AlertPresenter.git resolved at main (15bb368)
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 -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/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 {
[4/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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 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 {
[7/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 {
[8/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 {
[9/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 {
BUILD FAILURE 6.0 macosSpm