Build Information
Successful build of snap-navigation, reference 0.1.0 (2bbef2
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 15:22:13 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonnickel/snap-navigation.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonnickel/snap-navigation
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 2bbef2a Update readme
Cloned https://github.com/simonnickel/snap-navigation.git
Revision (git rev-parse @):
2bbef2a37ffdcba193544724bd6550440bdf87c3
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-navigation.git at 0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/simonnickel/snap-navigation.git
https://github.com/simonnickel/snap-navigation.git
{
"dependencies" : [
],
"manifest_display_name" : "snap-navigation",
"name" : "snap-navigation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SnapNavigation",
"targets" : [
"SnapNavigation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SnapNavigation",
"module_type" : "SwiftTarget",
"name" : "SnapNavigation",
"path" : "Sources/SnapNavigation",
"product_memberships" : [
"SnapNavigation"
],
"sources" : [
"Internals/SnapNavigation+Constants.swift",
"Internals/SnapNavigation+ModalPresentationModifier.swift",
"Internals/SnapNavigation+RouteEntry.swift",
"Internals/SnapNavigation.swift",
"Internals/SnapNavigationProvier+Route.swift",
"Internals/Views/SnapNavigationDestinationScreen.swift",
"Internals/Views/SnapNavigationStack.swift",
"Internals/Views/SnapNavigationTabView.swift",
"SnapNavigation+Navigator.swift",
"SnapNavigation+PresentationStyle.swift",
"SnapNavigationProvider.swift",
"SnapNavigationScreen.swift",
"SnapNavigationView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/15] Compiling SnapNavigation SnapNavigation+PresentationStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigation+PresentationStyle.swift:10:2: warning: 'public' modifier is redundant for enum declared in a public extension
8 | public extension SnapNavigation {
9 |
10 | public enum PresentationStyle {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
11 | case select
12 | case push
[4/16] Compiling SnapNavigation SnapNavigationView.swift
[5/16] Compiling SnapNavigation SnapNavigation+Navigator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigation+Navigator.swift:13:2: warning: 'public' modifier is redundant for generic class declared in a public extension
11 | @MainActor
12 | @Observable
13 | public class Navigator<NavigationProvider: SnapNavigationProvider> {
| `- warning: 'public' modifier is redundant for generic class declared in a public extension
14 |
15 | public typealias Screen = NavigationProvider.Screen
[6/16] Compiling SnapNavigation SnapNavigationScreen.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigationScreen.swift:28:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | }
27 |
28 | extension Array: Hashable, Identifiable where Element: SnapNavigationScreen {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var id: Int { hashValue }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigationScreen.swift:28:18: warning: conformance of 'Array<Element>' to protocol 'Hashable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
26 | }
27 |
28 | extension Array: Hashable, Identifiable where Element: SnapNavigationScreen {
| `- warning: conformance of 'Array<Element>' to protocol 'Hashable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
29 | public var id: Int { hashValue }
30 | }
Swift.Array:1:11: note: 'Array<Element>' declares conformance to protocol 'Hashable' here
1 | extension Array : Hashable where Element : Hashable {
| `- note: 'Array<Element>' declares conformance to protocol 'Hashable' here
2 | @inlinable public func hash(into hasher: inout Hasher)
3 | public var hashValue: Int { get }
[7/16] Compiling SnapNavigation SnapNavigationProvider.swift
[8/16] Compiling SnapNavigation SnapNavigationTabView.swift
[9/16] Compiling SnapNavigation SnapNavigationStack.swift
[10/16] Compiling SnapNavigation SnapNavigation+RouteEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+RouteEntry.swift:8:2: warning: 'internal' modifier is redundant for generic struct declared in an internal extension
6 | internal extension SnapNavigation {
7 |
8 | internal struct RouteEntry<Screen: SnapNavigationScreen>: Equatable, Identifiable, Hashable {
| `- warning: 'internal' modifier is redundant for generic struct declared in an internal extension
9 |
10 | internal typealias Path = [Screen]
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+RouteEntry.swift:23:2: warning: 'internal' modifier is redundant for instance method declared in an internal extension
21 |
22 | /// Join an Array of `RouteEntry` based on their `PresentationStyle` into one or multiple`RouteEntry` with elements on their path.
23 | internal func condense<Screen>() -> Self where Element == SnapNavigation.RouteEntry<Screen> {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
24 | var route = self
25 | var result: Self = []
[11/16] Compiling SnapNavigation SnapNavigation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+RouteEntry.swift:8:2: warning: 'internal' modifier is redundant for generic struct declared in an internal extension
6 | internal extension SnapNavigation {
7 |
8 | internal struct RouteEntry<Screen: SnapNavigationScreen>: Equatable, Identifiable, Hashable {
| `- warning: 'internal' modifier is redundant for generic struct declared in an internal extension
9 |
10 | internal typealias Path = [Screen]
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+RouteEntry.swift:23:2: warning: 'internal' modifier is redundant for instance method declared in an internal extension
21 |
22 | /// Join an Array of `RouteEntry` based on their `PresentationStyle` into one or multiple`RouteEntry` with elements on their path.
23 | internal func condense<Screen>() -> Self where Element == SnapNavigation.RouteEntry<Screen> {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
24 | var route = self
25 | var result: Self = []
[12/16] Emitting module SnapNavigation
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+Constants.swift:10:2: warning: 'internal' modifier is redundant for type alias declared in an internal extension
8 | internal extension SnapNavigation {
9 |
10 | internal typealias ModalLevel = Int
| `- warning: 'internal' modifier is redundant for type alias declared in an internal extension
11 |
12 | internal enum Constants {
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+Constants.swift:12:2: warning: 'internal' modifier is redundant for enum declared in an internal extension
10 | internal typealias ModalLevel = Int
11 |
12 | internal enum Constants {
| `- warning: 'internal' modifier is redundant for enum declared in an internal extension
13 | static let modalLevelMin: ModalLevel = 0
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+RouteEntry.swift:8:2: warning: 'internal' modifier is redundant for generic struct declared in an internal extension
6 | internal extension SnapNavigation {
7 |
8 | internal struct RouteEntry<Screen: SnapNavigationScreen>: Equatable, Identifiable, Hashable {
| `- warning: 'internal' modifier is redundant for generic struct declared in an internal extension
9 |
10 | internal typealias Path = [Screen]
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+RouteEntry.swift:23:2: warning: 'internal' modifier is redundant for instance method declared in an internal extension
21 |
22 | /// Join an Array of `RouteEntry` based on their `PresentationStyle` into one or multiple`RouteEntry` with elements on their path.
23 | internal func condense<Screen>() -> Self where Element == SnapNavigation.RouteEntry<Screen> {
| `- warning: 'internal' modifier is redundant for instance method declared in an internal extension
24 | var route = self
25 | var result: Self = []
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigation+Navigator.swift:13:2: warning: 'public' modifier is redundant for generic class declared in a public extension
11 | @MainActor
12 | @Observable
13 | public class Navigator<NavigationProvider: SnapNavigationProvider> {
| `- warning: 'public' modifier is redundant for generic class declared in a public extension
14 |
15 | public typealias Screen = NavigationProvider.Screen
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigation+PresentationStyle.swift:10:2: warning: 'public' modifier is redundant for enum declared in a public extension
8 | public extension SnapNavigation {
9 |
10 | public enum PresentationStyle {
| `- warning: 'public' modifier is redundant for enum declared in a public extension
11 | case select
12 | case push
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigationScreen.swift:28:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
26 | }
27 |
28 | extension Array: Hashable, Identifiable where Element: SnapNavigationScreen {
| |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
29 | public var id: Int { hashValue }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/SnapNavigationScreen.swift:28:18: warning: conformance of 'Array<Element>' to protocol 'Hashable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
26 | }
27 |
28 | extension Array: Hashable, Identifiable where Element: SnapNavigationScreen {
| `- warning: conformance of 'Array<Element>' to protocol 'Hashable' conflicts with that stated in the type's module 'Swift' and will be ignored; there cannot be more than one conformance, even with different conditional bounds
29 | public var id: Int { hashValue }
30 | }
Swift.Array:1:11: note: 'Array<Element>' declares conformance to protocol 'Hashable' here
1 | extension Array : Hashable where Element : Hashable {
| `- note: 'Array<Element>' declares conformance to protocol 'Hashable' here
2 | @inlinable public func hash(into hasher: inout Hasher)
3 | public var hashValue: Int { get }
[13/16] Compiling SnapNavigation SnapNavigation+Constants.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+Constants.swift:10:2: warning: 'internal' modifier is redundant for type alias declared in an internal extension
8 | internal extension SnapNavigation {
9 |
10 | internal typealias ModalLevel = Int
| `- warning: 'internal' modifier is redundant for type alias declared in an internal extension
11 |
12 | internal enum Constants {
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+Constants.swift:12:2: warning: 'internal' modifier is redundant for enum declared in an internal extension
10 | internal typealias ModalLevel = Int
11 |
12 | internal enum Constants {
| `- warning: 'internal' modifier is redundant for enum declared in an internal extension
13 | static let modalLevelMin: ModalLevel = 0
14 | }
[14/16] Compiling SnapNavigation SnapNavigation+ModalPresentationModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+Constants.swift:10:2: warning: 'internal' modifier is redundant for type alias declared in an internal extension
8 | internal extension SnapNavigation {
9 |
10 | internal typealias ModalLevel = Int
| `- warning: 'internal' modifier is redundant for type alias declared in an internal extension
11 |
12 | internal enum Constants {
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigation+Constants.swift:12:2: warning: 'internal' modifier is redundant for enum declared in an internal extension
10 | internal typealias ModalLevel = Int
11 |
12 | internal enum Constants {
| `- warning: 'internal' modifier is redundant for enum declared in an internal extension
13 | static let modalLevelMin: ModalLevel = 0
14 | }
[15/16] Compiling SnapNavigation SnapNavigationProvier+Route.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigationProvier+Route.swift:24:48: warning: left side of nil coalescing operator '??' has non-optional type '[SnapNavigation.RouteEntry<Self.Screen>]', so the right side is never used
22 | }
23 |
24 | var routeToParent = routeEntries(to: parent) ?? []
| `- warning: left side of nil coalescing operator '??' has non-optional type '[SnapNavigation.RouteEntry<Self.Screen>]', so the right side is never used
25 | routeToParent.append(RouteEntry(root: screen, path: [], style: screen.definition.presentationStyle))
26 |
[16/16] Compiling SnapNavigation SnapNavigationDestinationScreen.swift
/Users/admin/builder/spi-builder-workspace/Sources/SnapNavigation/Internals/SnapNavigationProvier+Route.swift:24:48: warning: left side of nil coalescing operator '??' has non-optional type '[SnapNavigation.RouteEntry<Self.Screen>]', so the right side is never used
22 | }
23 |
24 | var routeToParent = routeEntries(to: parent) ?? []
| `- warning: left side of nil coalescing operator '??' has non-optional type '[SnapNavigation.RouteEntry<Self.Screen>]', so the right side is never used
25 | routeToParent.append(RouteEntry(root: screen, path: [], style: screen.definition.presentationStyle))
26 |
Build complete! (10.17s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "snap-navigation",
"name" : "snap-navigation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SnapNavigation",
"targets" : [
"SnapNavigation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SnapNavigation",
"module_type" : "SwiftTarget",
"name" : "SnapNavigation",
"path" : "Sources/SnapNavigation",
"product_memberships" : [
"SnapNavigation"
],
"sources" : [
"Internals/SnapNavigation+Constants.swift",
"Internals/SnapNavigation+ModalPresentationModifier.swift",
"Internals/SnapNavigation+RouteEntry.swift",
"Internals/SnapNavigation.swift",
"Internals/SnapNavigationProvier+Route.swift",
"Internals/Views/SnapNavigationDestinationScreen.swift",
"Internals/Views/SnapNavigationStack.swift",
"Internals/Views/SnapNavigationTabView.swift",
"SnapNavigation+Navigator.swift",
"SnapNavigation+PresentationStyle.swift",
"SnapNavigationProvider.swift",
"SnapNavigationScreen.swift",
"SnapNavigationView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.