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 ViewControllerPresentationSpy, reference main (c7d116), with Swift 5.9 for macOS (SPM) on 30 Mar 2025 03:07:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonreid/ViewControllerPresentationSpy.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jonreid/ViewControllerPresentationSpy
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7d116d . t Test suites on main actor and sendable
Cloned https://github.com/jonreid/ViewControllerPresentationSpy.git
Revision (git rev-parse @):
c7d116d972e55eb28f26bc2d12e38d5e64b7471e
SUCCESS checkout https://github.com/jonreid/ViewControllerPresentationSpy.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/jonreid/ViewControllerPresentationSpy.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/10] Compiling ViewControllerPresentationSpy UIAlertController+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[2/11] Compiling ViewControllerPresentationSpy UIViewController+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[3/11] Compiling ViewControllerPresentationSpy UIAlertAction+Mocking.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[4/11] Compiling ViewControllerPresentationSpy PresentationVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[5/11] Compiling ViewControllerPresentationSpy VerifyHelpers.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/11] Emitting module ViewControllerPresentationSpy
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[7/11] Compiling ViewControllerPresentationSpy DismissalVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[8/11] Compiling ViewControllerPresentationSpy Fail.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[9/11] Compiling ViewControllerPresentationSpy AlertVerifier.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[10/11] Compiling ViewControllerPresentationSpy NSObject+Swizzling.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
[11/11] Compiling ViewControllerPresentationSpy ClosureContainer.swift
/Users/admin/builder/spi-builder-workspace/Source/ViewControllerPresentationSpy/AlertVerifier.swift:5:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 macosSpm