This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 UIPreview with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0111b/UIPreview.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/0111b/UIPreview
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 036c769 Merge pull request #9 from 0111b/develop
Cloned https://github.com/0111b/UIPreview.git
Revision (git rev-parse @):
036c76904e772bdfaa57c6509f299009022391f3
SUCCESS checkout https://github.com/0111b/UIPreview.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/0111b/UIPreview.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/21] Emitting module UIPreview
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[4/21] Compiling UIPreview PreviewItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[5/21] Compiling UIPreview PreviewLegend.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[6/21] Compiling UIPreview PreviewConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[7/21] Compiling UIPreview PreviewDescriptor.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[8/21] Compiling UIPreview UICatalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[9/21] Compiling UIPreview UICatalogPresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[10/21] Compiling UIPreview ComponentPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[11/21] Compiling UIPreview ScreenPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[12/21] Compiling UIPreview ForEach+Raw.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[13/21] Compiling UIPreview View+Any.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[14/21] Compiling UIPreview GroupItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[15/21] Compiling UIPreview Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[16/21] Compiling UIPreview View+UIViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[17/21] Compiling UIPreview ColorSchemePreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[18/21] Compiling UIPreview CatalogItemView.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[19/21] Compiling UIPreview ExpandGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[20/21] Compiling UIPreview UIViewControllerWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[21/21] Compiling UIPreview UIViewWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
[22/22] Compiling UIPreview ViewCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/UIPreview/Extensions/View+UIViewController.swift:4:8: error: no such module 'UIKit'
 2 | import SwiftUI
 3 | #endif
 4 | import UIKit
   |        `- error: no such module 'UIKit'
 5 |
 6 | @available(iOS 13, *)
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.