The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OwlNav, reference main (1f4404), with Swift 6.4 for macOS (SPM) on 25 Sep 2026 13:39:02 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/dewangga18/OwlNav.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dewangga18/OwlNav
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f44043 Merge pull request #2 from dewangga18/dev
Cloned https://github.com/dewangga18/OwlNav.git
Revision (git rev-parse @):
1f440436598a3172ee69d107a998eb0321a52479
SUCCESS checkout https://github.com/dewangga18/OwlNav.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/dewangga18/OwlNav.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] OwlNav
[30 / 103]
[33 / 103]
[41 / 103]
[43 / 103]
[44 / 103]
[49 / 103]
[51 / 103]
[53 / 103]
[56 / 103]
[61 / 103]
[64 / 103]
[66 / 103]
[67 / 103]
[77 / 103]
[79 / 103]
[80 / 103]
[83 / 103]
[85 / 103]
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Modifier/SwipeBack.swift:37:59: error: cannot find type 'UIViewController' in scope
35 |     var onPopCompleted: (() -> Void)?
36 |
37 |     public func makeUIViewController(context: Context) -> UIViewController {
   |                                                           `- error: cannot find type 'UIViewController' in scope
38 |         let controller = UIViewController()
39 |         controller.view.isHidden = true
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Modifier/SwipeBack.swift:37:47: error: cannot find type 'Context' in scope
35 |     var onPopCompleted: (() -> Void)?
36 |
37 |     public func makeUIViewController(context: Context) -> UIViewController {
   |                                               `- error: cannot find type 'Context' in scope
38 |         let controller = UIViewController()
39 |         controller.view.isHidden = true
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Modifier/SwipeBack.swift:43:46: error: cannot find type 'UIViewController' in scope
41 |     }
42 |
43 |     public func updateUIViewController(_ vc: UIViewController, context: Context) {
   |                                              `- error: cannot find type 'UIViewController' in scope
44 |         // Walk up to the nearest UIHostingController to set associated-object flags.
45 |         guard let hostingVC = vc.parent else { return }
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Modifier/SwipeBack.swift:43:73: error: cannot find type 'Context' in scope
41 |     }
42 |
43 |     public func updateUIViewController(_ vc: UIViewController, context: Context) {
   |                                                                         `- error: cannot find type 'Context' in scope
44 |         // Walk up to the nearest UIHostingController to set associated-object flags.
45 |         guard let hostingVC = vc.parent else { return }
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Modifier/SwipeBack.swift:30:36: error: cannot find type 'UIViewControllerRepresentable' in scope
28 |
29 | /// A background utility controller that enables the native swipe-back gesture based on stack state.
30 | public struct SwipeBackController: UIViewControllerRepresentable {
   |                                    `- error: cannot find type 'UIViewControllerRepresentable' in scope
31 |     /// Whether the swipe-back gesture is enabled.
32 |     @Binding var isEnabled: Bool
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift:12:63: error: cannot find type 'UIHostingController' in scope
 10 | /// A lightweight `UIHostingController` subclass that stores its route value directly,
 11 | /// avoiding the need to access `.view.tag` (which force-loads the view hierarchy).
 12 | final class OwlHostingController<T: Equatable, Screen: View>: UIHostingController<Screen> {
    |                                                               `- error: cannot find type 'UIHostingController' in scope
 13 |     /// The route this controller represents.
 14 |     let route: T
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift:47:59: error: cannot find type 'UINavigationController' in scope
 45 |
 46 |     /// Creates the underlying `UINavigationController`.
 47 |     public func makeUIViewController(context: Context) -> UINavigationController {
    |                                                           `- error: cannot find type 'UINavigationController' in scope
 48 |         let navigation = OwlNavigationController()
 49 |
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift:47:47: error: cannot find type 'Context' in scope
 45 |
 46 |     /// Creates the underlying `UINavigationController`.
 47 |     public func makeUIViewController(context: Context) -> UINavigationController {
    |                                               `- error: cannot find type 'Context' in scope
 48 |         let navigation = OwlNavigationController()
 49 |
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift:58:54: error: cannot find type 'UINavigationController' in scope
 56 |
 57 |     /// Updates the `UINavigationController` to match the current state of the `OwlNav` stack.
 58 |     public func updateUIViewController(_ navigation: UINavigationController, context: Context) {
    |                                                      `- error: cannot find type 'UINavigationController' in scope
 59 |         syncNavigation(navigation)
 60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift:58:87: error: cannot find type 'Context' in scope
 56 |
 57 |     /// Updates the `UINavigationController` to match the current state of the `OwlNav` stack.
 58 |     public func updateUIViewController(_ navigation: UINavigationController, context: Context) {
    |                                                                                       `- error: cannot find type 'Context' in scope
 59 |         syncNavigation(navigation)
 60 |     }
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift:62:47: error: cannot find type 'UINavigationController' in scope
 60 |     }
 61 |
 62 |     private func syncNavigation(_ navigation: UINavigationController) {
    |                                               `- error: cannot find type 'UINavigationController' in scope
 63 |         // Prevent duplicate sync calls when a transition is in flight.
 64 |         if let owlNav = navigation as? OwlNavigationController, owlNav.isSyncScheduled {
/Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift:30:57: error: cannot find type 'UIViewControllerRepresentable' in scope
 28 | ///
 29 | /// `OwlContainer` manages a `UINavigationController` and synchronizes its state with an `OwlNav` instance.
 30 | public struct OwlContainer<T: Equatable, Screen: View>: UIViewControllerRepresentable {
    |                                                         `- error: cannot find type 'UIViewControllerRepresentable' in scope
 31 |     /// The navigation manager that holds the route stack.
 32 |     @ObservedObject public var owl: InOwl<T>
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/OwlNav/Extensions/Views+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Internal/OwlNavigationController.swift /Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Modifier/SwipeBack.swift /Users/admin/builder/spi-builder-workspace/Sources/OwlNav/OwlNav.swift /Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/InOwl.swift /Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlContainer.swift /Users/admin/builder/spi-builder-workspace/Sources/OwlNav/Setup/OwlInject.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/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav-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/OwlNav.build/Debug/OwlNav-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OwlNav -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav_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/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/OwlNav.build/Debug/OwlNav-t.build/Objects-normal/arm64/OwlNav.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm