The Swift Package Index logo.Swift Package Index

Build Information

Failed to build navigation-stack-backport, reference 1.1.0 (55acfe), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 06:08:23 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lm/navigation-stack-backport.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lm/navigation-stack-backport
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 55acfe7 Release 1.1.0
Cloned https://github.com/lm/navigation-stack-backport.git
Revision (git rev-parse @):
55acfe7693c233ddc7f62f887f0df6ebd779ef01
SUCCESS checkout https://github.com/lm/navigation-stack-backport.git at 1.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/lm/navigation-stack-backport.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] NavigationStackBackport
[30 / 106]
[33 / 106]
[41 / 106]
[43 / 106]
[44 / 106]
[49 / 106]
[52 / 106]
[55 / 106]
[61 / 106]
[64 / 106]
[66 / 106]
[67 / 106]
[77 / 106]
[79 / 106]
[80 / 106]
[83 / 106]
[85 / 106]
[97 / 106] NavigationStackBackport
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:5:33: error: cannot find type 'UINavigationController' in scope
  3 |
  4 | class NavigationAuthority: NSObject, ObservableObject {
  5 | 	weak var navigationController: UINavigationController? {
    |                                 `- error: cannot find type 'UINavigationController' in scope
  6 | 		didSet { navigationController?.delegate = self }
  7 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:52: error: cannot find type 'UINavigationController' in scope
 95 |
 96 | extension NavigationAuthority: UINavigationControllerDelegate {
 97 | 	func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
    |                                                    `- error: cannot find type 'UINavigationController' in scope
 98 | 		let count = navigationController.viewControllers.count
 99 | 		defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:97:100: error: cannot find type 'UIViewController' in scope
 95 |
 96 | extension NavigationAuthority: UINavigationControllerDelegate {
 97 | 	func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
    |                                                                                                    `- error: cannot find type 'UIViewController' in scope
 98 | 		let count = navigationController.viewControllers.count
 99 | 		defer { viewControllersCount = count }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift:96:32: error: cannot find type 'UINavigationControllerDelegate' in scope
 94 | }
 95 |
 96 | extension NavigationAuthority: UINavigationControllerDelegate {
    |                                `- error: cannot find type 'UINavigationControllerDelegate' in scope
 97 | 	func navigationController(_ navigationController: UINavigationController, didShow viewController: UIViewController, animated: Bool) {
 98 | 		let count = navigationController.viewControllers.count
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift:11:27: error: 'NavigationPath' is only available in macOS 13.0 or newer
 1 | import SwiftUI
 2 |
 3 | public struct NavigationPath {
   |               `- note: add '@available' attribute to enclosing struct
 4 | 	public var count: Int { box.count }
 5 | 	public var isEmpty: Bool { box.isEmpty }
   :
 9 |
10 | 	@available(iOS 16.0, *)
11 | 	var swiftUIPath: SwiftUI.NavigationPath {
   |      |                    `- error: 'NavigationPath' is only available in macOS 13.0 or newer
   |      `- note: add '@available' attribute to enclosing property
12 | 		get { box as! SwiftUI.NavigationPath }
13 | 		set { box = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift:14:19: error: 'NavigationPath' is only available in macOS 13.0 or newer
12 |
13 | @available(iOS 16.0, *)
14 | extension SwiftUI.NavigationPath: NavigationPathBox {
   | |                 `- error: 'NavigationPath' is only available in macOS 13.0 or newer
   | `- note: add '@available' attribute to enclosing extension
15 | 	var backportedCodable: NavigationPath.CodableRepresentation? {
16 | 		codable.map(NavigationPath.CodableRepresentation.init(storage:))
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:4:24: error: cannot find type 'UIViewController' in scope
 2 |
 3 | @MainActor struct NavigationUpdate {
 4 | 	var viewControllers: [UIViewController] {
   |                        `- error: cannot find type 'UIViewController' in scope
 5 | 		didSet { changed = true }
 6 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:8:36: error: cannot find type 'UINavigationController' in scope
 6 | 	}
 7 |
 8 | 	private let navigationController: UINavigationController
   |                                    `- error: cannot find type 'UINavigationController' in scope
 9 | 	private var addedViewControllers: [UIViewController] = []
10 | 	private var changed = false
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:9:37: error: cannot find type 'UIViewController' in scope
 7 |
 8 | 	private let navigationController: UINavigationController
 9 | 	private var addedViewControllers: [UIViewController] = []
   |                                     `- error: cannot find type 'UIViewController' in scope
10 | 	private var changed = false
11 |
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift:12:29: error: cannot find type 'UINavigationController' in scope
10 | 	private var changed = false
11 |
12 | 	init(navigationController: UINavigationController) {
   |                             `- error: cannot find type 'UINavigationController' in scope
13 | 		self.navigationController = navigationController
14 | 		viewControllers = navigationController.viewControllers
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:49: error: cannot find type 'UINavigationController' in scope
 6 | 	@Environment(\.navigationAuthority) private var authority
 7 |
 8 | 	func makeUIViewController(context: Context) -> UINavigationController {
   |                                                 `- error: cannot find type 'UINavigationController' in scope
 9 | 		let navigationController = UINavigationController()
10 | 		navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:8:37: error: cannot find type 'Context' in scope
 6 | 	@Environment(\.navigationAuthority) private var authority
 7 |
 8 | 	func makeUIViewController(context: Context) -> UINavigationController {
   |                                     `- error: cannot find type 'Context' in scope
 9 | 		let navigationController = UINavigationController()
10 | 		navigationController.navigationBar.prefersLargeTitles = true
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:54: error: cannot find type 'UINavigationController' in scope
15 | 	}
16 |
17 | 	func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
   |                                                      `- error: cannot find type 'UINavigationController' in scope
18 | 		if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | 			hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:17:87: error: cannot find type 'Context' in scope
15 | 	}
16 |
17 | 	func updateUIViewController(_ navigationController: UINavigationController, context: Context) {
   |                                                                                       `- error: cannot find type 'Context' in scope
18 | 		if !navigationController.viewControllers.isEmpty, let hostingController = navigationController.viewControllers[0] as? UIHostingController<Root> {
19 | 			hostingController.rootView = root
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:3:37: error: cannot find type 'UIViewControllerRepresentable' in scope
 1 | import SwiftUI
 2 |
 3 | struct UIKitNavigation<Root: View>: UIViewControllerRepresentable {
   |                                     `- error: cannot find type 'UIViewControllerRepresentable' in scope
 4 | 	let root: Root
 5 | 	let path: NavigationPathBackport
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:37: error: cannot find type 'UIHostingController' in scope
29 |
30 | private extension UIKitNavigation {
31 | 	func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
   |                                     `- error: cannot find type 'UIHostingController' in scope
32 | 		navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | 		navigationController.addChild(rootViewController)
/Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift:31:86: error: cannot find type 'UINavigationController' in scope
29 |
30 | private extension UIKitNavigation {
31 | 	func prelayout(rootViewController: UIHostingController<Root>, navigationController: UINavigationController) {
   |                                                                                      `- error: cannot find type 'UINavigationController' in scope
32 | 		navigationController.view.insertSubview(rootViewController.view, at: 0)
33 | 		navigationController.addChild(rootViewController)
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Backport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/CodableRepresentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Destination.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationAuthority.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationLink.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPath.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBackport.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathBox.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationPathItem.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationStack.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/NavigationUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/Presentation.swift /Users/admin/builder/spi-builder-workspace/Sources/NavigationStackBackport/UIKitNavigation.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NavigationStackBackport -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/navigation-stack-backport.build/Debug/NavigationStackBackport-t.build/Objects-normal/arm64/NavigationStackBackport.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm