Build Information
Successful build of ProjectNavigator, reference 1.4.0 (2be0e7
), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 00:00:35 UTC.
Swift 6 data race errors: 2
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mchakravarty/ProjectNavigator.git
Reference: 1.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/mchakravarty/ProjectNavigator
* tag 1.4.0 -> FETCH_HEAD
HEAD is now at 2be0e72 Edit new file names
Cloned https://github.com/mchakravarty/ProjectNavigator.git
Revision (git rev-parse @):
2be0e722424304aaf2e96a10fe39af6174aed80d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mchakravarty/ProjectNavigator.git at 1.4.0
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2044] Fetching swift-docc-plugin
[226/17647] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.85s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.85s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (3.07s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3188] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.70s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/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
========================================
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": "projectnavigator",
"name": "ProjectNavigator",
"url": "https://github.com/mchakravarty/ProjectNavigator.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ProjectNavigator",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/mchakravarty/ProjectNavigator.git
[1/3485] Fetching projectnavigator
Fetched https://github.com/mchakravarty/ProjectNavigator.git from cache (1.20s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.02s)
Creating working copy for https://github.com/mchakravarty/ProjectNavigator.git
Working copy of https://github.com/mchakravarty/ProjectNavigator.git resolved at 1.4.0 (2be0e72)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
warning: '.resolve-product-dependencies': dependency 'projectnavigator' is not used by any target
Found 1 product dependencies
- swift-collections
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/mchakravarty/ProjectNavigator.git
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "ProjectNavigator",
"name" : "ProjectNavigator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Files",
"targets" : [
"Files"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ProjectNavigator",
"targets" : [
"ProjectNavigator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_FilesTestSupport",
"module_type" : "SwiftTarget",
"name" : "_FilesTestSupport",
"path" : "Sources/_FilesTestSupport",
"product_memberships" : [
"ProjectNavigator"
],
"sources" : [
"Payload.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "library"
},
{
"c99name" : "ProjectNavigatorTests",
"module_type" : "SwiftTarget",
"name" : "ProjectNavigatorTests",
"path" : "Tests/ProjectNavigatorTests",
"sources" : [
"NavigationViewTests.swift"
],
"target_dependencies" : [
"ProjectNavigator"
],
"type" : "test"
},
{
"c99name" : "ProjectNavigator",
"module_type" : "SwiftTarget",
"name" : "ProjectNavigator",
"path" : "Sources/ProjectNavigator",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"ProjectNavigator"
],
"sources" : [
"EditableLabel.swift",
"FileNavigator.swift",
"SwitchFileOrFolder.swift",
"WrappedUUIDSet.swift"
],
"target_dependencies" : [
"Files",
"_FilesTestSupport"
],
"type" : "library"
},
{
"c99name" : "FilesTests",
"module_type" : "SwiftTarget",
"name" : "FilesTests",
"path" : "Tests/FilesTests",
"sources" : [
"FileOperationsTests.swift",
"FilesTests.swift"
],
"target_dependencies" : [
"Files",
"_FilesTestSupport"
],
"type" : "test"
},
{
"c99name" : "Files",
"module_type" : "SwiftTarget",
"name" : "Files",
"path" : "Sources/Files",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"Files",
"ProjectNavigator"
],
"sources" : [
"FileOperations.swift",
"FileTree.swift",
"Files.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/8] Write sources
[7/8] Write swift-version--7754E27361AE5C74.txt
[9/26] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[10/27] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[11/27] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[12/27] Compiling InternalCollectionsUtilities Specialize.swift
[13/27] Compiling InternalCollectionsUtilities _SortedCollection.swift
[14/27] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/27] Compiling InternalCollectionsUtilities Debugging.swift
[16/27] Compiling InternalCollectionsUtilities Descriptions.swift
[17/27] Compiling InternalCollectionsUtilities UInt+reversed.swift
[18/27] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[19/27] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[20/27] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[21/27] Compiling InternalCollectionsUtilities Integer rank.swift
[22/27] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[23/27] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[24/27] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[25/27] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[26/27] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[27/27] Emitting module InternalCollectionsUtilities
[28/83] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[29/83] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[30/83] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[31/83] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[32/83] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[33/83] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[34/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[35/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[36/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[37/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[38/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[39/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[40/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[41/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[42/89] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[43/89] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[44/89] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[45/89] Compiling OrderedCollections OrderedSet+Sendable.swift
[46/89] Compiling OrderedCollections _Hashtable+Header.swift
[47/89] Compiling OrderedCollections OrderedDictionary+Codable.swift
[48/89] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[49/89] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[50/89] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[51/89] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[52/89] Compiling OrderedCollections OrderedDictionary+Elements.swift
[53/89] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[54/89] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[55/89] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[56/89] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[57/89] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[58/89] Compiling OrderedCollections OrderedSet+Hashable.swift
[59/89] Compiling OrderedCollections OrderedSet+Initializers.swift
[60/89] Compiling OrderedCollections OrderedSet+Insertions.swift
[61/89] Compiling OrderedCollections OrderedSet+Invariants.swift
[62/89] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[63/89] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[64/89] Compiling OrderedCollections OrderedSet+Codable.swift
[65/89] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[66/89] Compiling OrderedCollections OrderedSet+Descriptions.swift
[67/89] Compiling OrderedCollections OrderedSet+Diffing.swift
[68/89] Compiling OrderedCollections OrderedSet+Equatable.swift
[69/89] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[70/89] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[71/89] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[72/89] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[73/89] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[74/89] Compiling OrderedCollections OrderedDictionary+Values.swift
[75/89] Compiling OrderedCollections OrderedDictionary.swift
[76/89] Compiling OrderedCollections _HashTable+Bucket.swift
[77/89] Compiling OrderedCollections _HashTable+BucketIterator.swift
[78/89] Compiling OrderedCollections _HashTable+Constants.swift
[79/89] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[80/89] Compiling OrderedCollections _HashTable+Testing.swift
[81/89] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[82/89] Compiling OrderedCollections _HashTable.swift
[83/89] Compiling OrderedCollections OrderedSet+SubSequence.swift
[84/89] Compiling OrderedCollections OrderedSet+Testing.swift
[85/89] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[86/89] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[87/89] Compiling OrderedCollections OrderedSet.swift
[88/89] Compiling OrderedCollections _UnsafeBitset.swift
[89/89] Emitting module OrderedCollections
[90/93] Compiling Files Files.swift
[91/93] Emitting module Files
[92/93] Compiling Files FileOperations.swift
[93/93] Compiling Files FileTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/Files/FileTree.swift:191:22: warning: capture of 'self' with non-sendable type 'File<Contents>.Proxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 | ///
190 | public var binding: Binding<File<Contents>?> {
191 | return Binding { file } set: { newValue in
| `- warning: capture of 'self' with non-sendable type 'File<Contents>.Proxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |
193 | if let newFile = newValue {
/Users/admin/builder/spi-builder-workspace/Sources/Files/Files.swift:78:17: note: consider making struct 'Proxy' conform to the 'Sendable' protocol
76 | /// Id-only representation of a file aka file proxy.
77 | ///
78 | public struct Proxy: FileProtocol {
| `- note: consider making struct 'Proxy' conform to the 'Sendable' protocol
79 | public let id: UUID
80 |
/Users/admin/builder/spi-builder-workspace/Sources/Files/FileTree.swift:196:26: warning: capture of 'self' with non-sendable type 'File<Contents>.Proxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 |
195 | // Assigning a file with a different id makes no sense.
196 | if newFile.id == id { fileTree?.update(file: newFile) }
| `- warning: capture of 'self' with non-sendable type 'File<Contents>.Proxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
197 |
198 | }
/Users/admin/builder/spi-builder-workspace/Sources/Files/Files.swift:78:17: note: consider making struct 'Proxy' conform to the 'Sendable' protocol
76 | /// Id-only representation of a file aka file proxy.
77 | ///
78 | public struct Proxy: FileProtocol {
| `- note: consider making struct 'Proxy' conform to the 'Sendable' protocol
79 | public let id: UUID
80 |
[94/95] Emitting module _FilesTestSupport
[95/95] Compiling _FilesTestSupport Payload.swift
[96/100] Compiling ProjectNavigator SwitchFileOrFolder.swift
[97/100] Compiling ProjectNavigator WrappedUUIDSet.swift
[98/100] Compiling ProjectNavigator EditableLabel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/EditableLabel.swift:92:14: warning: capture of 'binding' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | self.init(
91 | // TODO: The last delivered value would be better, but that isn't available...
92 | get: { binding.wrappedValue ?? value },
| `- warning: capture of 'binding' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
93 | set: { binding.wrappedValue = $0 }
94 | )
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/EditableLabel.swift:92:38: warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | self.init(
91 | // TODO: The last delivered value would be better, but that isn't available...
92 | get: { binding.wrappedValue ?? value },
| `- warning: capture of 'value' with non-sendable type 'Value' in a `@Sendable` closure; this is an error in the Swift 6 language mode
93 | set: { binding.wrappedValue = $0 }
94 | )
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/EditableLabel.swift:92:38: warning: implicit capture of 'value' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
90 | self.init(
91 | // TODO: The last delivered value would be better, but that isn't available...
92 | get: { binding.wrappedValue ?? value },
| `- warning: implicit capture of 'value' requires that 'Value' conforms to `Sendable`; this is an error in the Swift 6 language mode
93 | set: { binding.wrappedValue = $0 }
94 | )
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/EditableLabel.swift:93:14: warning: capture of 'binding' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
91 | // TODO: The last delivered value would be better, but that isn't available...
92 | get: { binding.wrappedValue ?? value },
93 | set: { binding.wrappedValue = $0 }
| `- warning: capture of 'binding' with non-sendable type 'Binding<Value?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
94 | )
95 | }
[99/100] Compiling ProjectNavigator FileNavigator.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/FileNavigator.swift:21:21: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(String) -> Bool' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public struct NavigatorFilter: EnvironmentKey {
21 | public static let defaultValue: (String) -> Bool = { _ in true }
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(String) -> Bool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/FileNavigator.swift:482:5: warning: let '_tree' is not concurrency-safe because non-'Sendable' type 'OrderedDictionary<String, Any>' may have shared mutable state; this is an error in the Swift 6 language mode
480 | import _FilesTestSupport
481 |
482 | let _tree = ["Alice" : "Hello",
| |- warning: let '_tree' is not concurrency-safe because non-'Sendable' type 'OrderedDictionary<String, Any>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_tree' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
483 | "Bob" : "Howdy",
484 | "More" : ["Sun" : "Light",
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/FileNavigator.swift:134:38: warning: capture of 'self' with non-sendable type 'FileNavigatorViewState<Payload>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
46 | ///
47 | @Observable
48 | public final class FileNavigatorViewState<Payload: FileContents> {
| `- note: generic class 'FileNavigatorViewState' does not conform to the 'Sendable' protocol
49 |
50 | /// The `UUID` and name of a label that is being edited.
:
132 | // the id and text. Hence, this code path can be used to turn editing for this `id` on (if there is no other
133 | // edited label yet).
134 | if thisLabelIsBeingEdited || self?.editedLabel == nil {
| `- warning: capture of 'self' with non-sendable type 'FileNavigatorViewState<Payload>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | self?.editedLabel = FileNavigatorViewState.EditedLabel(id: id, text: newText)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/FileNavigator.swift:134:38: warning: implicit capture of 'self' requires that 'FileNavigatorViewState<Payload>?' conforms to `Sendable`; this is an error in the Swift 6 language mode
46 | ///
47 | @Observable
48 | public final class FileNavigatorViewState<Payload: FileContents> {
| `- note: generic class 'FileNavigatorViewState' does not conform to the 'Sendable' protocol
49 |
50 | /// The `UUID` and name of a label that is being edited.
:
132 | // the id and text. Hence, this code path can be used to turn editing for this `id` on (if there is no other
133 | // edited label yet).
134 | if thisLabelIsBeingEdited || self?.editedLabel == nil {
| `- warning: implicit capture of 'self' requires that 'FileNavigatorViewState<Payload>?' conforms to `Sendable`; this is an error in the Swift 6 language mode
135 | self?.editedLabel = FileNavigatorViewState.EditedLabel(id: id, text: newText)
136 | }
[100/100] Emitting module ProjectNavigator
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/FileNavigator.swift:21:21: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(String) -> Bool' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public struct NavigatorFilter: EnvironmentKey {
21 | public static let defaultValue: (String) -> Bool = { _ in true }
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '(String) -> Bool' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/ProjectNavigator/FileNavigator.swift:482:5: warning: let '_tree' is not concurrency-safe because non-'Sendable' type 'OrderedDictionary<String, Any>' may have shared mutable state; this is an error in the Swift 6 language mode
480 | import _FilesTestSupport
481 |
482 | let _tree = ["Alice" : "Hello",
| |- warning: let '_tree' is not concurrency-safe because non-'Sendable' type 'OrderedDictionary<String, Any>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate '_tree' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
483 | "Bob" : "Howdy",
484 | "More" : ["Sun" : "Light",
Build complete! (29.68s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "ProjectNavigator",
"name" : "ProjectNavigator",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "Files",
"targets" : [
"Files"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ProjectNavigator",
"targets" : [
"ProjectNavigator"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_FilesTestSupport",
"module_type" : "SwiftTarget",
"name" : "_FilesTestSupport",
"path" : "Sources/_FilesTestSupport",
"product_memberships" : [
"ProjectNavigator"
],
"sources" : [
"Payload.swift"
],
"target_dependencies" : [
"Files"
],
"type" : "library"
},
{
"c99name" : "ProjectNavigatorTests",
"module_type" : "SwiftTarget",
"name" : "ProjectNavigatorTests",
"path" : "Tests/ProjectNavigatorTests",
"sources" : [
"NavigationViewTests.swift"
],
"target_dependencies" : [
"ProjectNavigator"
],
"type" : "test"
},
{
"c99name" : "ProjectNavigator",
"module_type" : "SwiftTarget",
"name" : "ProjectNavigator",
"path" : "Sources/ProjectNavigator",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"ProjectNavigator"
],
"sources" : [
"EditableLabel.swift",
"FileNavigator.swift",
"SwitchFileOrFolder.swift",
"WrappedUUIDSet.swift"
],
"target_dependencies" : [
"Files",
"_FilesTestSupport"
],
"type" : "library"
},
{
"c99name" : "FilesTests",
"module_type" : "SwiftTarget",
"name" : "FilesTests",
"path" : "Tests/FilesTests",
"sources" : [
"FileOperationsTests.swift",
"FilesTests.swift"
],
"target_dependencies" : [
"Files",
"_FilesTestSupport"
],
"type" : "test"
},
{
"c99name" : "Files",
"module_type" : "SwiftTarget",
"name" : "Files",
"path" : "Sources/Files",
"product_dependencies" : [
"OrderedCollections"
],
"product_memberships" : [
"Files",
"ProjectNavigator"
],
"sources" : [
"FileOperations.swift",
"FileTree.swift",
"Files.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/mchakravarty/projectnavigator/1.4.0
Repository: mchakravarty/ProjectNavigator
Swift version used: 6.0
url: "https://github.com/apple/swift-docc-plugin",
Target: Files
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/swift-docc-render-artifact/.git/
From https://github.com/swiftlang/swift-docc-render-artifact
* branch 88815688627177b9716a01ca41da19397bd30e47 -> FETCH_HEAD
HEAD is now at 8881568 Update the artifact
Extracting symbol information for 'Files'...
Finished extracting symbol information for 'Files'. (6.23s)
Building documentation for 'Files'...
warning: Parameter 'filewrapper' not found in initializer declaration
--> Sources/Files/Files.swift:142:11-142:22
140 | /// - Parameters:
141 | /// - contents: The file contents.
142 + /// - filewrapper: Optional file wrapper representing the given `contents`.
| ╰─suggestion: Replace 'filewrapper' with 'fileWrapper'
143 | /// - persistentID: Persistent identifier that get's created at initialisation time if not already provided.
144 | ///
warning: External name 'persistentID' used to document parameter
--> Sources/Files/Files.swift:143:11-143:23
141 | /// - contents: The file contents.
142 | /// - filewrapper: Optional file wrapper representing the given `contents`.
143 + /// - persistentID: Persistent identifier that get's created at initialisation time if not already provided.
| ╰─suggestion: Replace 'persistentID' with 'uuid'
144 | ///
145 | public init(contents: Contents, fileWrapper: FileWrapper? = nil, persistentID uuid: UUID = UUID()) {
warning: Parameter 'fileWrapper' is missing documentation
--> Sources/Files/Files.swift:143:113-143:113
141 | /// - contents: The file contents.
142 | /// - filewrapper: Optional file wrapper representing the given `contents`.
143 + /// - persistentID: Persistent identifier that get's created at initialisation time if not already provided.
| ╰─suggestion: Document 'fileWrapper' parameter
144 | ///
145 | public init(contents: Contents, fileWrapper: FileWrapper? = nil, persistentID uuid: UUID = UUID()) {
warning: External name 'persistentIDMap' used to document parameter
--> Sources/Files/Files.swift:155:11-155:26
153 | /// - Parameters:
154 | /// - fileWrapper: The file wrapper whose contents is to be represented by the file item.
155 + /// - persistentIDMap: Contains the available persistent ids for this item and its children. If the map is not
| ╰─suggestion: Replace 'persistentIDMap' with 'fileMap'
156 | /// available, new ids are generated.
157 | ///
warning: External name 'persistentIDMap' used to document parameter
--> Sources/Files/Files.swift:300:11-300:26
298 | /// - Parameters:
299 | /// - fileWrapper: The file wrapper whose contents is to be represented by the item.
300 + /// - persistentIDMap: Contains the available persistent ids for this item and its children. If the map is not
| ╰─suggestion: Replace 'persistentIDMap' with 'fileMap'
301 | /// available, new ids are generated.
302 | ///
warning: External name 'persistentID' used to document parameter
--> Sources/Files/Files.swift:413:11-413:23
411 | /// - Parameters:
412 | /// - children: The folders *ordered* children.
413 + /// - persistentID: Persistent identifier that get's created at initialisation time if not already provided.
| ╰─suggestion: Replace 'persistentID' with 'uuid'
414 | ///
415 | public init(children: OrderedDictionary<String, FileOrFolder<FileType, Contents>>,
warning: Parameter 'fileTree' is missing documentation
--> Sources/Files/Files.swift:413:113-413:113
411 | /// - Parameters:
412 | /// - children: The folders *ordered* children.
413 + /// - persistentID: Persistent identifier that get's created at initialisation time if not already provided.
| ╰─suggestion: Document 'fileTree' parameter
414 | ///
415 | public init(children: OrderedDictionary<String, FileOrFolder<FileType, Contents>>,
warning: External name 'persistentID' used to document parameter
--> Sources/Files/Files.swift:486:11-486:23
484 | /// - tree: A nested *ordered* dictionary structure describing the contents of a folder with `Contents` at
485 | /// the leaves.
486 + /// - persistentID: Persistent identifier that get's created at initialisation time if not already provided.
| ╰─suggestion: Replace 'persistentID' with 'uuid'
487 | ///
488 | public init(tree: OrderedDictionary<String, Any>, persistentID uuid: UUID = UUID()) throws
warning: External name 'persistentIDMap' used to document parameter
--> Sources/Files/Files.swift:512:11-512:26
510 | /// - Parameters:
511 | /// - fileWrappers: The file wrappers representing the folder's children.
512 + /// - persistentIDMap: Contains the available persistent ids for this folder and its children. If the map is not
| ╰─suggestion: Replace 'persistentIDMap' with 'fileMap'
513 | /// available, new ids are generated.
514 | ///Finished building documentation for 'Files' (0.13s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/mchakravarty/projectnavigator/1.4.0
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit DeclarationFragments.swift
[8/57] Compiling SymbolKit Fragment.swift
[9/57] Compiling SymbolKit FragmentKind.swift
[10/57] Compiling SymbolKit FunctionParameter.swift
[11/57] Compiling SymbolKit FunctionSignature.swift
[12/57] Compiling SymbolKit Identifier.swift
[13/57] Compiling SymbolKit KindIdentifier.swift
[14/57] Compiling SymbolKit Location.swift
[15/57] Compiling SymbolKit Mutability.swift
[16/57] Compiling SymbolKit GenericConstraint.swift
[17/57] Compiling SymbolKit GenericParameter.swift
[18/57] Compiling SymbolKit Generics.swift
[19/57] Compiling SymbolKit Namespace.swift
[20/57] Compiling SymbolKit SourceRange.swift
[21/57] Compiling SymbolKit Metadata.swift
[22/57] Compiling SymbolKit Module.swift
[23/57] Compiling SymbolKit OperatingSystem.swift
[24/57] Compiling SymbolKit Platform.swift
[25/57] Compiling SymbolKit SemanticVersion.swift
[26/57] Compiling SymbolKit AccessControl.swift
[27/57] Compiling SymbolKit Availability.swift
[28/57] Compiling SymbolKit AvailabilityItem.swift
[29/57] Compiling SymbolKit Domain.swift
[30/57] Emitting module Snippets
[31/57] Compiling Snippets Snippet.swift
[32/57] Compiling Snippets SnippetParser.swift
[33/57] Compiling SymbolKit Names.swift
[34/57] Compiling SymbolKit SPI.swift
[35/57] Compiling SymbolKit Snippet.swift
[36/57] Compiling SymbolKit Extension.swift
[37/57] Compiling SymbolKit Mixin+Equals.swift
[38/57] Compiling SymbolKit Mixin+Hash.swift
[39/57] Compiling SymbolKit Mixin.swift
[40/57] Compiling SymbolKit LineList.swift
[41/57] Compiling SymbolKit Position.swift
[42/57] Compiling SymbolKit Relationship.swift
[43/57] Compiling SymbolKit RelationshipKind.swift
[44/57] Compiling SymbolKit SourceOrigin.swift
[45/57] Compiling SymbolKit GenericConstraints.swift
[46/57] Compiling SymbolKit Swift.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.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 URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.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.04s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/19] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[3/19] Compiling InternalCollectionsUtilities Specialize.swift
[4/20] Compiling InternalCollectionsUtilities _SortedCollection.swift
[5/20] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/20] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[7/20] Compiling InternalCollectionsUtilities Debugging.swift
[8/20] Compiling InternalCollectionsUtilities Descriptions.swift
[9/20] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[10/20] Compiling InternalCollectionsUtilities UInt+reversed.swift
[11/20] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[12/20] Compiling InternalCollectionsUtilities Integer rank.swift
[13/20] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[14/20] Emitting module InternalCollectionsUtilities
[15/20] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[16/20] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[17/20] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[18/20] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[19/20] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[20/20] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[21/76] Compiling OrderedCollections OrderedSet+Codable.swift
[22/76] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[23/76] Compiling OrderedCollections OrderedSet+Descriptions.swift
[24/76] Compiling OrderedCollections OrderedSet+Diffing.swift
[25/76] Compiling OrderedCollections OrderedSet+Equatable.swift
[26/76] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[27/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[28/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[29/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[30/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[31/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[32/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[33/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[34/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[35/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[36/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[37/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[38/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[39/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[40/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[41/82] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[42/82] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[43/82] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[44/82] Compiling OrderedCollections OrderedSet+Sendable.swift
[45/82] Compiling OrderedCollections _Hashtable+Header.swift
[46/82] Compiling OrderedCollections OrderedDictionary+Codable.swift
[47/82] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[48/82] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[49/82] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[50/82] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[51/82] Compiling OrderedCollections OrderedSet+Hashable.swift
[52/82] Compiling OrderedCollections OrderedSet+Initializers.swift
[53/82] Compiling OrderedCollections OrderedSet+Insertions.swift
[54/82] Compiling OrderedCollections OrderedSet+Invariants.swift
[55/82] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[56/82] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[57/82] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[58/82] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[59/82] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[60/82] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[61/82] Compiling OrderedCollections OrderedDictionary+Values.swift
[62/82] Compiling OrderedCollections OrderedDictionary.swift
[63/82] Compiling OrderedCollections _HashTable+Bucket.swift
[64/82] Compiling OrderedCollections _HashTable+BucketIterator.swift
[65/82] Compiling OrderedCollections _HashTable+Constants.swift
[66/82] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[67/82] Compiling OrderedCollections _HashTable+Testing.swift
[68/82] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[69/82] Compiling OrderedCollections _HashTable.swift
[70/82] Compiling OrderedCollections OrderedSet+SubSequence.swift
[71/82] Compiling OrderedCollections OrderedSet+Testing.swift
[72/82] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[73/82] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[74/82] Compiling OrderedCollections OrderedSet.swift
[75/82] Compiling OrderedCollections _UnsafeBitset.swift
[76/82] Compiling OrderedCollections OrderedDictionary+Elements.swift
[77/82] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[78/82] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[79/82] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[80/82] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[81/82] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[82/82] Emitting module OrderedCollections
[83/86] Compiling Files Files.swift
[84/86] Compiling Files FileTree.swift
[85/86] Compiling Files FileOperations.swift
[86/86] Emitting module Files
Build of target: 'Files' complete! (2.07s)
Target: ProjectNavigator
Extracting symbol information for 'ProjectNavigator'...
Finished extracting symbol information for 'ProjectNavigator'. (2.02s)
Building documentation for 'ProjectNavigator'...
Finished building documentation for 'ProjectNavigator' (2.25s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/mchakravarty/projectnavigator/1.4.0
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.21s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Emitting module _FilesTestSupport
[3/3] Compiling _FilesTestSupport Payload.swift
[4/8] Compiling ProjectNavigator WrappedUUIDSet.swift
[5/8] Compiling ProjectNavigator EditableLabel.swift
[6/8] Compiling ProjectNavigator SwitchFileOrFolder.swift
[7/8] Emitting module ProjectNavigator
[8/8] Compiling ProjectNavigator FileNavigator.swift
Build of target: 'ProjectNavigator' complete! (1.48s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/mchakravarty/projectnavigator/1.4.0/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/mchakravarty/projectnavigator/1.4.0/linkable-paths.json
7284
53 /Users/admin/builder/spi-builder-workspace/.docs/mchakravarty/projectnavigator/1.4.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/mchakravarty/projectnavigator/1.4.0
File count: 7284
Doc size: 53.0MB
Preparing doc bundle ...
Uploading prod-mchakravarty-projectnavigator-1.4.0-e7f30830.zip to s3://spi-docs-inbox/prod-mchakravarty-projectnavigator-1.4.0-e7f30830.zip
Copying... [10%]
Copying... [20%]
Copying... [30%]
Copying... [40%]
Copying... [51%]
Copying... [60%]
Copying... [70%]
Copying... [80%]
Copying... [90%]
Copying... [100%]
Done.