Build Information
Successful build of snap-navigation, reference 0.1.0 (2bbef2
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 00:32:04 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "snap-navigation",
"name": "snap-navigation",
"url": "https://github.com/simonnickel/snap-navigation.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/snap-navigation",
"dependencies": [
]
}
]
}
Fetching https://github.com/simonnickel/snap-navigation.git
[1/1149] Fetching snap-navigation
Fetched https://github.com/simonnickel/snap-navigation.git from cache (0.96s)
Creating working copy for https://github.com/simonnickel/snap-navigation.git
Working copy of https://github.com/simonnickel/snap-navigation.git resolved at 0.1.0 (2bbef2a)
warning: '.resolve-product-dependencies': dependency 'snap-navigation' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/simonnickel/snap-navigation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun 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--7754E27361AE5C74.txt
[3/15] Compiling SnapNavigation SnapNavigationProvider.swift
[4/16] 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
[5/16] Compiling SnapNavigation SnapNavigationView.swift
[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 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
[8/16] Compiling SnapNavigation SnapNavigationTabView.swift
[9/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 = []
[10/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 = []
[11/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 |
[12/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 |
[13/16] Compiling SnapNavigation SnapNavigationStack.swift
[14/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 | }
[15/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 | }
[16/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 }
Build complete! (23.99s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/simonnickel/snap-navigation/0.1.0
Repository: simonnickel/snap-navigation
Swift version used: 6.0
Target: Target
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.30s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (2.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[2/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit Mixin+Equals.swift
[7/53] Compiling SymbolKit Mixin+Hash.swift
[8/53] Compiling SymbolKit Mixin.swift
[9/53] Compiling SymbolKit LineList.swift
[10/53] Compiling SymbolKit Position.swift
[11/57] Compiling SymbolKit Names.swift
[12/57] Compiling SymbolKit SPI.swift
[13/57] Compiling SymbolKit Snippet.swift
[14/57] Compiling SymbolKit Extension.swift
[15/57] Compiling SymbolKit Identifier.swift
[16/57] Compiling SymbolKit KindIdentifier.swift
[17/57] Compiling SymbolKit Location.swift
[18/57] Compiling SymbolKit Mutability.swift
[19/57] Emitting module SymbolKit
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Compiling SymbolKit GenericConstraint.swift
[26/57] Compiling SymbolKit GenericParameter.swift
[27/57] Compiling SymbolKit Generics.swift
[28/57] Compiling SymbolKit Namespace.swift
[29/57] Compiling SymbolKit Symbol.swift
[30/57] Compiling SymbolKit SymbolKind.swift
[31/57] Compiling SymbolKit SymbolGraph.swift
[32/57] Compiling SymbolKit GraphCollector.swift
[33/57] Compiling SymbolKit DeclarationFragments.swift
[34/57] Compiling SymbolKit Fragment.swift
[35/57] Compiling SymbolKit FragmentKind.swift
[36/57] Compiling SymbolKit FunctionParameter.swift
[37/57] Compiling SymbolKit FunctionSignature.swift
[38/57] Compiling Snippets SnippetParser.swift
[39/57] Compiling Snippets Snippet.swift
[40/57] Emitting module Snippets
[41/57] Compiling SymbolKit Relationship.swift
[42/57] Compiling SymbolKit RelationshipKind.swift
[43/57] Compiling SymbolKit SourceOrigin.swift
[44/57] Compiling SymbolKit GenericConstraints.swift
[45/57] Compiling SymbolKit Swift.swift
[46/57] Compiling SymbolKit SourceRange.swift
[47/57] Compiling SymbolKit Metadata.swift
[48/57] Compiling SymbolKit Module.swift
[49/57] Compiling SymbolKit OperatingSystem.swift
[50/57] Compiling SymbolKit Platform.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.52s)
error: no target named 'Target'
compatible targets: 'SnapNavigation'
1
0 /Users/admin/builder/spi-builder-workspace/.docs/simonnickel/snap-navigation/0.1.0
✅ Doc result (uploading) reported
Error while generating docs: Error Domain=NSCocoaErrorDomain Code=260 "The folder “documentation” doesn’t exist." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.docs/simonnickel/snap-navigation/0.1.0/documentation, NSUserStringVariant=(
Folder
), NSUnderlyingError=0x600003f9ae80 {Error Domain=NSOSStatusErrorDomain Code=-43 "fnfErr: File not found"}}
✅ Doc result (failed) reported
Done.