Build Information
Successful build of swiftui-navigation, reference 1.5.5 (e62880
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 23:32:56 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pointfreeco/swiftui-navigation.git
Reference: 1.5.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pointfreeco/swiftui-navigation
* tag 1.5.5 -> FETCH_HEAD
HEAD is now at e628806 Workaround for @State bug. (#2)
Cloned https://github.com/pointfreeco/swiftui-navigation.git
Revision (git rev-parse @):
e628806aeaa9efe25c1abcd97931a7c498fab281
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pointfreeco/swiftui-navigation.git at 1.5.5
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pointfreeco/swiftui-navigation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/29] Write sources
[25/29] Compiling _SwiftSyntaxCShims dummy.c
[26/29] Write swift-version-1EA4D86E10B52AF.txt
[28/56] Compiling SwiftSyntax510 Empty.swift
[29/56] Emitting module SwiftSyntax510
[30/56] Compiling SwiftSyntax509 Empty.swift
[31/56] Emitting module SwiftSyntax600
[32/56] Emitting module SwiftSyntax509
[33/56] Compiling SwiftSyntax600 Empty.swift
[34/56] Compiling SwiftSyntax601 Empty.swift
[35/56] Emitting module SwiftSyntax601
[36/122] Compiling SwiftSyntax AbsolutePosition.swift
[37/122] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[38/122] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[39/122] Compiling SwiftSyntax Assert.swift
[40/122] Compiling SwiftSyntax BumpPtrAllocator.swift
[41/122] Compiling SwiftSyntax CommonAncestor.swift
[42/122] Compiling SwiftSyntax Convenience.swift
[43/122] Compiling SwiftSyntax CustomTraits.swift
[44/129] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[45/129] Compiling SwiftSyntax SyntaxChildren.swift
[46/129] Compiling SwiftSyntax SyntaxCollection.swift
[47/129] Compiling SwiftSyntax SyntaxHashable.swift
[48/129] Compiling SwiftSyntax SyntaxIdentifier.swift
[49/129] Compiling SwiftSyntax SyntaxNodeFactory.swift
[50/129] Compiling SwiftSyntax SyntaxNodeStructure.swift
[51/129] Compiling SwiftSyntax EditorPlaceholder.swift
[52/129] Compiling SwiftSyntax Identifier.swift
[53/129] Compiling SwiftSyntax MemoryLayout.swift
[54/129] Compiling SwiftSyntax MissingNodeInitializers.swift
[55/129] Compiling SwiftSyntax RawSyntax.swift
[56/129] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[57/129] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[58/129] Compiling SwiftSyntax RawSyntaxTokenView.swift
[59/129] Compiling SwiftSyntax SourceEdit.swift
[60/129] Compiling SwiftSyntax SourceLength.swift
[61/129] Compiling SwiftSyntax SourceLocation.swift
[62/129] Compiling SwiftSyntax SourcePresence.swift
[63/129] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[64/129] Compiling SwiftSyntax Syntax.swift
[65/129] Compiling SwiftSyntax SyntaxArena.swift
[66/129] Compiling SwiftSyntax SyntaxProtocol.swift
[67/129] Compiling SwiftSyntax SyntaxText.swift
[68/129] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[69/129] Compiling SwiftSyntax TokenDiagnostic.swift
[70/129] Compiling SwiftSyntax TokenSequence.swift
[71/129] Compiling SwiftSyntax TokenSyntax.swift
[72/129] Compiling SwiftSyntax Trivia.swift
[75/131] Compiling IssueReporting WithExpectedIssue.swift
[76/131] Compiling IssueReporting WithIssueContext.swift
[77/131] Emitting module IssueReporting
[94/134] Compiling XCTestDynamicOverlay Exports.swift
[95/134] Emitting module XCTestDynamicOverlay
[96/134] Compiling XCTestDynamicOverlay Deprecations.swift
[97/172] Compiling CasePathsCore UncheckedSendable.swift
[98/172] Compiling CasePathsCore Never+CasePathable.swift
[99/172] Compiling CasePathsCore TypeName.swift
[100/172] Compiling CasePathsCore KeyPath+Sendable.swift
[101/172] Compiling CasePathsCore CasePathReflectable.swift
[102/172] Compiling CasePathsCore AnyCasePath.swift
[103/172] Compiling CasePathsCore Optional+CasePathable.swift
[104/173] Compiling CasePathsCore CasePathIterable.swift
[105/173] Emitting module CasePathsCore
[106/173] Compiling CasePathsCore CasePathable.swift
[107/173] Compiling CasePathsCore Result+CasePathable.swift
[108/173] Emitting module SwiftSyntax
[109/173] Compiling SwiftSyntax Tokens.swift
[110/173] Compiling SwiftSyntax TriviaPieces.swift
[111/173] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[112/173] Compiling SwiftSyntax RawSyntaxNodesC.swift
[113/173] Compiling SwiftSyntax RawSyntaxNodesD.swift
[114/173] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[115/173] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[116/173] Compiling SwiftSyntax SyntaxCollections.swift
[117/173] Compiling SwiftSyntax SyntaxEnum.swift
[118/173] Compiling SwiftSyntax SyntaxKind.swift
[119/173] Compiling SwiftSyntax SyntaxRewriter.swift
[120/173] Compiling SwiftSyntax SyntaxTraits.swift
[121/173] Compiling SwiftSyntax SyntaxVisitor.swift
[122/173] Compiling SwiftSyntax TokenKind.swift
[123/173] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[124/173] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[125/173] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[126/173] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[127/173] Compiling SwiftSyntax RawSyntaxValidation.swift
[128/173] Compiling SwiftSyntax SyntaxNodesAB.swift
[129/173] Compiling SwiftSyntax SyntaxNodesC.swift
[130/173] Compiling CustomDump Mirror.swift
[131/173] Compiling CustomDump String.swift
[132/173] Compiling CustomDump Unordered.swift
[133/173] Compiling CustomDump AnyType.swift
[134/173] Compiling CustomDump CollectionDifference.swift
[135/173] Compiling CustomDump Identifiable.swift
[136/175] Compiling CustomDump XCTAssertDifference.swift
[137/175] Compiling CustomDump XCTAssertNoDifference.swift
[138/175] Compiling CustomDump Dump.swift
[139/175] Compiling CustomDump ExpectDifference.swift
[140/175] Compiling CustomDump ExpectNoDifference.swift
[141/175] Compiling CustomDump CustomDumpRepresentable.swift
[142/175] Compiling CustomDump CustomDumpStringConvertible.swift
[143/175] Compiling CustomDump Diff.swift
[144/175] Emitting module CustomDump
[145/175] Compiling CustomDump CoreImage.swift
[146/175] Compiling CustomDump CoreLocation.swift
[147/175] Compiling CustomDump CoreMotion.swift
[148/175] Compiling CustomDump UserNotifications.swift
[149/175] Compiling CustomDump UserNotificationsUI.swift
[150/175] Compiling CustomDump CustomDumpReflectable.swift
[151/175] Compiling CustomDump Swift.swift
[152/175] Compiling CustomDump SwiftUI.swift
[153/175] Compiling CustomDump UIKit.swift
[154/175] Compiling CustomDump Foundation.swift
[155/175] Compiling CustomDump GameKit.swift
[156/175] Compiling CustomDump KeyPath.swift
[157/175] Compiling CustomDump Photos.swift
[158/175] Compiling CustomDump Speech.swift
[159/175] Compiling CustomDump StoreKit.swift
[160/186] Compiling SwiftSyntax Utils.swift
[161/186] Compiling SwiftSyntax ChildNameForKeyPath.swift
[162/186] Compiling SwiftSyntax Keyword.swift
[163/186] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[164/186] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[165/186] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[166/186] Compiling SwiftSyntax SyntaxBaseNodes.swift
[167/186] Compiling SwiftSyntax SyntaxNodesD.swift
[168/186] Compiling SwiftSyntax SyntaxNodesEF.swift
[169/186] Compiling SwiftSyntax SyntaxNodesGHI.swift
[170/186] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[171/186] Compiling SwiftSyntax SyntaxNodesOP.swift
[172/186] Compiling SwiftSyntax SyntaxNodesQRS.swift
[173/186] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[174/245] Compiling SwiftDiagnostics Message.swift
[175/246] Emitting module SwiftBasicFormat
[176/246] Compiling SwiftDiagnostics Note.swift
[177/246] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[178/246] Compiling SwiftBasicFormat Indenter.swift
[179/246] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[180/246] Compiling SwiftDiagnostics FixIt.swift
[181/246] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[182/246] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[183/246] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[184/246] Compiling SwiftDiagnostics Diagnostic.swift
[185/246] Emitting module SwiftDiagnostics
[186/246] Compiling SwiftDiagnostics Convenience.swift
[187/246] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[188/246] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[189/246] Compiling SwiftBasicFormat InferIndentation.swift
[190/246] Compiling SwiftBasicFormat Syntax+Extensions.swift
[191/246] Compiling SwiftBasicFormat BasicFormat.swift
[192/246] Compiling SwiftParser TopLevel.swift
[193/246] Compiling SwiftParser TriviaParser.swift
[194/246] Compiling SwiftParser Types.swift
[195/246] Compiling SwiftParser ExperimentalFeatures.swift
[196/250] Compiling SwiftParser Nominals.swift
[197/250] Compiling SwiftParser Parameters.swift
[198/250] Compiling SwiftParser ParseSourceFile.swift
[199/250] Compiling SwiftParser Parser.swift
[200/250] Compiling SwiftParser Patterns.swift
[201/250] Compiling SwiftParser TokenConsumer.swift
[202/250] Compiling SwiftParser TokenPrecedence.swift
[203/250] Compiling SwiftParser TokenSpec.swift
[204/250] Compiling SwiftParser TokenSpecSet.swift
[205/250] Compiling SwiftParser StringLiterals.swift
[206/250] Compiling SwiftParser SwiftParserCompatibility.swift
[207/250] Compiling SwiftParser SwiftVersion.swift
[208/250] Compiling SwiftParser SyntaxUtils.swift
[209/250] Compiling SwiftParser Recovery.swift
[210/250] Compiling SwiftParser Specifiers.swift
[211/250] Compiling SwiftParser Statements.swift
[212/250] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[213/250] Emitting module SwiftParser
[214/250] Compiling SwiftParser Directives.swift
[215/250] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[216/250] Compiling SwiftParser Expressions.swift
[217/250] Compiling SwiftParser IncrementalParseTransition.swift
[218/250] Compiling SwiftParser IsValidIdentifier.swift
[219/250] Compiling SwiftParser UnicodeScalarExtensions.swift
[220/250] Compiling SwiftParser Lookahead.swift
[221/250] Compiling SwiftParser LoopProgressCondition.swift
[222/250] Compiling SwiftParser Modifiers.swift
[223/250] Compiling SwiftParser Names.swift
[224/250] Compiling SwiftParser Attributes.swift
[225/250] Compiling SwiftParser Availability.swift
[226/250] Compiling SwiftParser CharacterInfo.swift
[227/250] Compiling SwiftParser CollectionNodes+Parsable.swift
[228/250] Compiling SwiftParser Declarations.swift
[229/250] Compiling SwiftParser Cursor.swift
[230/250] Compiling SwiftParser Lexeme.swift
[231/250] Compiling SwiftParser LexemeSequence.swift
[232/250] Compiling SwiftParser Lexer.swift
[233/250] Compiling SwiftParser RegexLiteralLexer.swift
[234/250] Compiling SwiftParser IsLexerClassified.swift
[235/250] Compiling SwiftParser LayoutNodes+Parsable.swift
[236/250] Compiling SwiftParser Parser+TokenSpecSet.swift
[237/250] Compiling SwiftParser TokenSpecStaticMembers.swift
[238/273] Emitting module SwiftOperators
[239/273] Compiling SwiftOperators Operator.swift
[240/273] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[241/275] Compiling SwiftOperators PrecedenceGroup.swift
[242/275] Compiling SwiftOperators OperatorTable+Folding.swift
[243/275] Compiling SwiftOperators PrecedenceGraph.swift
[244/275] Compiling SwiftOperators OperatorTable.swift
[245/275] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[246/275] Compiling SwiftOperators SyntaxSynthesis.swift
[247/275] Compiling SwiftParserDiagnostics PresenceUtils.swift
[248/275] Compiling SwiftOperators OperatorError.swift
[249/275] Compiling SwiftOperators OperatorTable+Semantics.swift
[250/275] Compiling SwiftOperators OperatorError+Diagnostics.swift
[251/275] Compiling SwiftOperators OperatorTable+Defaults.swift
[252/275] Compiling SwiftParserDiagnostics Utils.swift
[253/275] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[254/275] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[255/275] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[256/275] Compiling SwiftParserDiagnostics MissingNodesError.swift
[257/275] Compiling SwiftParserDiagnostics MissingTokenError.swift
[258/275] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[259/275] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[260/275] Emitting module SwiftParserDiagnostics
[261/275] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[262/275] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[263/290] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[264/290] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[265/290] Compiling SwiftSyntaxBuilder Indenter.swift
[266/290] Compiling SwiftSyntaxBuilder ListBuilder.swift
[267/291] Compiling SwiftUINavigationCore Deprecations.swift
[268/292] Compiling SwiftUINavigationCore ConfirmationDialog.swift
[269/292] Compiling SwiftUINavigationCore NavigationDestination.swift
[270/292] Emitting module SwiftSyntaxBuilder
[271/292] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[272/292] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[273/292] Emitting module SwiftUINavigationCore
[276/292] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[277/292] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[278/292] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[279/292] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[280/292] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[281/292] Compiling SwiftUINavigationCore ButtonStateBuilder.swift
[282/292] Compiling SwiftUINavigationCore ButtonState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationCore/ButtonState.swift:302:19: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
300 | self.init(
301 | role: button.role.map(ButtonRole.init),
302 | action: { button.withAction(action) }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
303 | ) {
304 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigationCore/ButtonState.swift:302:37: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
300 | self.init(
301 | role: button.role.map(ButtonRole.init),
302 | action: { button.withAction(action) }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode [#SendingRisksDataRace]
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
303 | ) {
304 | Text(button.label)
[#SendingRisksDataRace]: <https://docs.swift.org/compiler/documentation/diagnostics/sending-risks-data-race>
[283/292] Compiling SwiftUINavigationCore ConfirmationDialogState.swift
[284/292] Compiling SwiftUINavigationCore Binding.swift
[285/292] Compiling SwiftUINavigationCore Bind.swift
[286/292] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[287/292] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[288/292] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[289/292] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[290/310] Compiling SwiftUINavigationCore TextState.swift
[291/310] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[292/310] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[293/311] Compiling SwiftSyntaxMacros AttachedMacro.swift
[294/311] Compiling SwiftSyntaxMacros BodyMacro.swift
[295/311] Compiling SwiftSyntaxMacros Macro.swift
[296/311] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[297/311] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[298/311] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[299/311] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[300/311] Compiling SwiftSyntaxMacros AccessorMacro.swift
[301/311] Compiling SwiftSyntaxMacros PreambleMacro.swift
[302/311] Compiling SwiftSyntaxMacros MemberMacro.swift
[303/311] Compiling SwiftSyntaxMacros PeerMacro.swift
[304/311] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[305/311] Compiling SwiftSyntaxMacros Macro+Format.swift
[306/311] Emitting module SwiftSyntaxMacros
[307/311] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[308/311] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[309/311] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[310/321] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[311/321] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[312/321] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[313/321] Emitting module SwiftSyntaxMacroExpansion
[314/321] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[315/321] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[316/321] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[317/321] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[318/321] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[319/321] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[320/333] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[321/333] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[322/333] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[323/333] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[324/333] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[325/333] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[326/334] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[327/334] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[328/334] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[329/334] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[330/334] Emitting module SwiftCompilerPluginMessageHandling
[331/334] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[332/334] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[333/336] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[334/336] Emitting module SwiftCompilerPlugin
[335/339] Compiling CasePathsMacros Plugin.swift
[336/339] Compiling CasePathsMacros CasePathableMacro.swift
[337/339] Emitting module CasePathsMacros
[337/339] Write Objects.LinkFileList
[338/339] Linking CasePathsMacros-tool
[340/346] Compiling CasePaths Exports.swift
[341/346] Compiling CasePaths Deprecations.swift
[342/346] Compiling CasePaths Macros.swift
[343/346] Compiling CasePaths LockIsolated.swift
[344/346] Compiling CasePaths XCTestSupport.swift
[345/346] Compiling CasePaths EnumReflection.swift
[346/346] Emitting module CasePaths
[347/361] Compiling SwiftUINavigation Sheet.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Sheet.swift:60:23: warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
58 | @ViewBuilder content: @escaping (Binding<Item>) -> Content
59 | ) -> some View {
60 | sheet(item: item[id: id], onDismiss: onDismiss) {
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
61 | content(Binding(unwrapping: item, default: $0.initialValue))
62 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[348/362] Compiling SwiftUINavigation Popover.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Popover.swift:63:19: warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
61 | ) -> some View {
62 | popover(
63 | item: item[id: id],
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
64 | attachmentAnchor: attachmentAnchor,
65 | arrowEdge: arrowEdge
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[349/362] Compiling SwiftUINavigation Identified.swift
[350/362] Compiling SwiftUINavigation LockIsolated.swift
[351/362] Compiling SwiftUINavigation WithState.swift
[352/362] Compiling SwiftUINavigation NavigationLink.swift
[353/362] Compiling SwiftUINavigation NavigationDestination.swift
[354/362] Emitting module SwiftUINavigation
[355/362] Compiling SwiftUINavigation HashableObject.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Binding+Internal.swift:7:16: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
5 | func didSet(_ perform: @escaping @Sendable (Value) -> Void) -> Self {
6 | .init(
7 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
8 | set: { newValue, transaction in
9 | self.transaction(transaction).wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Binding+Internal.swift:9:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
7 | get: { self.wrappedValue },
8 | set: { newValue, transaction in
9 | self.transaction(transaction).wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
10 | perform(newValue)
11 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[356/362] Compiling SwiftUINavigation Binding+Internal.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Binding+Internal.swift:7:16: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
5 | func didSet(_ perform: @escaping @Sendable (Value) -> Void) -> Self {
6 | .init(
7 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
8 | set: { newValue, transaction in
9 | self.transaction(transaction).wrappedValue = newValue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Binding+Internal.swift:9:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
7 | get: { self.wrappedValue },
8 | set: { newValue, transaction in
9 | self.transaction(transaction).wrappedValue = newValue
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
10 | perform(newValue)
11 | }
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[357/362] Compiling SwiftUINavigation Deprecations.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:459:41: warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
449 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
450 | )
451 | public init?<Enum>(unwrapping enum: Binding<Enum>, case casePath: AnyCasePath<Enum, Value>)
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
452 | where Value: Sendable {
453 | guard let `case` = casePath.extract(from: `enum`.wrappedValue).map({ LockIsolated($0) })
:
457 | get: {
458 | `case`.withLock {
459 | $0 = casePath.extract(from: `enum`.wrappedValue) ?? $0
| `- warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
460 | return $0
461 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:459:41: warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
449 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
450 | )
451 | public init?<Enum>(unwrapping enum: Binding<Enum>, case casePath: AnyCasePath<Enum, Value>)
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
452 | where Value: Sendable {
453 | guard let `case` = casePath.extract(from: `enum`.wrappedValue).map({ LockIsolated($0) })
:
457 | get: {
458 | `case`.withLock {
459 | $0 = casePath.extract(from: `enum`.wrappedValue) ?? $0
| `- warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
460 | return $0
461 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:464:40: warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
449 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
450 | )
451 | public init?<Enum>(unwrapping enum: Binding<Enum>, case casePath: AnyCasePath<Enum, Value>)
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
452 | where Value: Sendable {
453 | guard let `case` = casePath.extract(from: `enum`.wrappedValue).map({ LockIsolated($0) })
:
462 | },
463 | set: { newValue, transaction in
464 | guard casePath.extract(from: `enum`.wrappedValue) != nil else { return }
| `- warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
465 | `case`.withLock { $0 = newValue }
466 | `enum`.transaction(transaction).wrappedValue = casePath.embed(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:494:16: warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
489 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
490 | )
491 | public func `case`<Enum, Case>(_ casePath: AnyCasePath<Enum, Case>) -> Binding<Case?>
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
492 | where Value == Enum? {
493 | .init(
494 | get: { self.wrappedValue.flatMap(casePath.extract(from:)) },
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
495 | set: { newValue, transaction in
496 | self.transaction(transaction).wrappedValue = newValue.map(casePath.embed)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:496:11: warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
489 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
490 | )
491 | public func `case`<Enum, Case>(_ casePath: AnyCasePath<Enum, Case>) -> Binding<Case?>
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
492 | where Value == Enum? {
493 | .init(
494 | get: { self.wrappedValue.flatMap(casePath.extract(from:)) },
495 | set: { newValue, transaction in
496 | self.transaction(transaction).wrappedValue = newValue.map(casePath.embed)
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
497 | }
498 | )
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[358/362] Compiling SwiftUINavigation Exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:459:41: warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
449 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
450 | )
451 | public init?<Enum>(unwrapping enum: Binding<Enum>, case casePath: AnyCasePath<Enum, Value>)
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
452 | where Value: Sendable {
453 | guard let `case` = casePath.extract(from: `enum`.wrappedValue).map({ LockIsolated($0) })
:
457 | get: {
458 | `case`.withLock {
459 | $0 = casePath.extract(from: `enum`.wrappedValue) ?? $0
| `- warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
460 | return $0
461 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:459:41: warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
449 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
450 | )
451 | public init?<Enum>(unwrapping enum: Binding<Enum>, case casePath: AnyCasePath<Enum, Value>)
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
452 | where Value: Sendable {
453 | guard let `case` = casePath.extract(from: `enum`.wrappedValue).map({ LockIsolated($0) })
:
457 | get: {
458 | `case`.withLock {
459 | $0 = casePath.extract(from: `enum`.wrappedValue) ?? $0
| `- warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure; this is an error in the Swift 6 language mode [#SendableClosureCaptures]
460 | return $0
461 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:464:40: warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
449 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
450 | )
451 | public init?<Enum>(unwrapping enum: Binding<Enum>, case casePath: AnyCasePath<Enum, Value>)
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
452 | where Value: Sendable {
453 | guard let `case` = casePath.extract(from: `enum`.wrappedValue).map({ LockIsolated($0) })
:
462 | },
463 | set: { newValue, transaction in
464 | guard casePath.extract(from: `enum`.wrappedValue) != nil else { return }
| `- warning: capture of 'enum' with non-sendable type 'Binding<Enum>' in a '@Sendable' closure [#SendableClosureCaptures]
465 | `case`.withLock { $0 = newValue }
466 | `enum`.transaction(transaction).wrappedValue = casePath.embed(newValue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:494:16: warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
489 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
490 | )
491 | public func `case`<Enum, Case>(_ casePath: AnyCasePath<Enum, Case>) -> Binding<Case?>
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
492 | where Value == Enum? {
493 | .init(
494 | get: { self.wrappedValue.flatMap(casePath.extract(from:)) },
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
495 | set: { newValue, transaction in
496 | self.transaction(transaction).wrappedValue = newValue.map(casePath.embed)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Internal/Deprecations.swift:496:11: warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
489 | "Chain a '@CasePathable' enum binding into a case directly instead of specifying a case path."
490 | )
491 | public func `case`<Enum, Case>(_ casePath: AnyCasePath<Enum, Case>) -> Binding<Case?>
| `- note: consider making generic parameter 'Enum' conform to the 'Sendable' protocol
492 | where Value == Enum? {
493 | .init(
494 | get: { self.wrappedValue.flatMap(casePath.extract(from:)) },
495 | set: { newValue, transaction in
496 | self.transaction(transaction).wrappedValue = newValue.map(casePath.embed)
| `- warning: capture of 'self' with non-sendable type 'Binding<Optional<Enum>>' in a '@Sendable' closure [#SendableClosureCaptures]
497 | }
498 | )
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[359/362] Compiling SwiftUINavigation ConfirmationDialog.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/FullScreenCover.swift:56:33: warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
54 | @ViewBuilder content: @escaping (Binding<Item>) -> Content
55 | ) -> some View {
56 | fullScreenCover(item: item[id: id], onDismiss: onDismiss) {
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
57 | content(Binding(unwrapping: item, default: $0.initialValue))
58 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[360/362] Compiling SwiftUINavigation FullScreenCover.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/FullScreenCover.swift:56:33: warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
54 | @ViewBuilder content: @escaping (Binding<Item>) -> Content
55 | ) -> some View {
56 | fullScreenCover(item: item[id: id], onDismiss: onDismiss) {
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Item, ID>'; this is an error in the Swift 6 language mode
57 | content(Binding(unwrapping: item, default: $0.initialValue))
58 | }
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
[361/362] Compiling SwiftUINavigation Alert.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:17:41: warning: cannot form key path that captures non-sendable type 'KeyPath<Value.AllCasePaths, AnyCasePath<Value, Member>>'; this is an error in the Swift 6 language mode
15 | ) -> Binding<Member>?
16 | where Value: CasePathable {
17 | Binding<Member>(unwrapping: self[keyPath])
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Value.AllCasePaths, AnyCasePath<Value, Member>>'; this is an error in the Swift 6 language mode
18 | }
19 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:30:13: warning: cannot form key path that captures non-sendable type 'KeyPath<Enum.AllCasePaths, AnyCasePath<Enum, Member>>'; this is an error in the Swift 6 language mode
28 | ) -> Binding<Member?>
29 | where Value == Enum? {
30 | self[keyPath]
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Enum.AllCasePaths, AnyCasePath<Enum, Member>>'; this is an error in the Swift 6 language mode
31 | }
32 | #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:54:18: warning: cannot form key path that captures non-sendable type 'DefaultSubscript<Value>'; this is an error in the Swift 6 language mode
52 |
53 | public init(unwrapping base: Binding<Value?>, default value: Value) {
54 | self = base[default: DefaultSubscript(value)]
| `- warning: cannot form key path that captures non-sendable type 'DefaultSubscript<Value>'; this is an error in the Swift 6 language mode
55 | }
56 |
:
121 | }
122 |
123 | private final class DefaultSubscript<Value>: Hashable {
| `- note: generic class 'DefaultSubscript' does not conform to the 'Sendable' protocol
124 | var value: Value
125 | init(_ value: Value) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:72:16: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
70 | ) -> Self {
71 | .init(
72 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
73 | set: { newValue, transaction in
74 | guard !isDuplicate(self.wrappedValue, newValue) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:74:30: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
72 | get: { self.wrappedValue },
73 | set: { newValue, transaction in
74 | guard !isDuplicate(self.wrappedValue, newValue) else { return }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
75 | self.transaction(transaction).wrappedValue = newValue
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:90:38: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | /// [FB9404926]: https://gist.github.com/mbrandonw/70df235e42d505b3b1b9b7d0d006b049
89 | public func removeDuplicates() -> Self {
90 | self.removeDuplicates(by: { $0 == $1 })
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:97:16: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
95 | public func _printChanges(_ prefix: String = "") -> Self {
96 | Self(
97 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
98 | set: { newValue, transaction in
99 | var oldDescription = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:100:22: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
98 | set: { newValue, transaction in
99 | var oldDescription = ""
100 | debugPrint(self.wrappedValue, terminator: "", to: &oldDescription)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
101 | var newDescription = ""
102 | debugPrint(newValue, terminator: "", to: &newDescription)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[362/362] Compiling SwiftUINavigation Binding.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:17:41: warning: cannot form key path that captures non-sendable type 'KeyPath<Value.AllCasePaths, AnyCasePath<Value, Member>>'; this is an error in the Swift 6 language mode
15 | ) -> Binding<Member>?
16 | where Value: CasePathable {
17 | Binding<Member>(unwrapping: self[keyPath])
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Value.AllCasePaths, AnyCasePath<Value, Member>>'; this is an error in the Swift 6 language mode
18 | }
19 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:30:13: warning: cannot form key path that captures non-sendable type 'KeyPath<Enum.AllCasePaths, AnyCasePath<Enum, Member>>'; this is an error in the Swift 6 language mode
28 | ) -> Binding<Member?>
29 | where Value == Enum? {
30 | self[keyPath]
| `- warning: cannot form key path that captures non-sendable type 'KeyPath<Enum.AllCasePaths, AnyCasePath<Enum, Member>>'; this is an error in the Swift 6 language mode
31 | }
32 | #endif
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:54:18: warning: cannot form key path that captures non-sendable type 'DefaultSubscript<Value>'; this is an error in the Swift 6 language mode
52 |
53 | public init(unwrapping base: Binding<Value?>, default value: Value) {
54 | self = base[default: DefaultSubscript(value)]
| `- warning: cannot form key path that captures non-sendable type 'DefaultSubscript<Value>'; this is an error in the Swift 6 language mode
55 | }
56 |
:
121 | }
122 |
123 | private final class DefaultSubscript<Value>: Hashable {
| `- note: generic class 'DefaultSubscript' does not conform to the 'Sendable' protocol
124 | var value: Value
125 | init(_ value: Value) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:72:16: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
70 | ) -> Self {
71 | .init(
72 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
73 | set: { newValue, transaction in
74 | guard !isDuplicate(self.wrappedValue, newValue) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:74:30: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
72 | get: { self.wrappedValue },
73 | set: { newValue, transaction in
74 | guard !isDuplicate(self.wrappedValue, newValue) else { return }
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
75 | self.transaction(transaction).wrappedValue = newValue
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:90:38: warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | /// [FB9404926]: https://gist.github.com/mbrandonw/70df235e42d505b3b1b9b7d0d006b049
89 | public func removeDuplicates() -> Self {
90 | self.removeDuplicates(by: { $0 == $1 })
| `- warning: capture of non-sendable type 'Value.Type' in an isolated closure; this is an error in the Swift 6 language mode
91 | }
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:97:16: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
95 | public func _printChanges(_ prefix: String = "") -> Self {
96 | Self(
97 | get: { self.wrappedValue },
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
98 | set: { newValue, transaction in
99 | var oldDescription = ""
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUINavigation/Binding.swift:100:22: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
98 | set: { newValue, transaction in
99 | var oldDescription = ""
100 | debugPrint(self.wrappedValue, terminator: "", to: &oldDescription)
| `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure [#SendableClosureCaptures]
101 | var newDescription = ""
102 | debugPrint(newValue, terminator: "", to: &newDescription)
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
Build complete! (50.10s)
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/pointfreeco/swift-case-paths
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/apple/swift-docc-plugin
[1/4394] Fetching swift-case-paths
[133/6476] Fetching swift-case-paths, swift-docc-plugin
[855/11057] Fetching swift-case-paths, swift-docc-plugin, swift-custom-dump
[1289/16524] Fetching swift-case-paths, swift-docc-plugin, swift-custom-dump, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.24s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.24s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.24s)
Fetched https://github.com/pointfreeco/swift-case-paths from cache (1.24s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (1.69s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 1.7.1 (2.64s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70924] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.26s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (5.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.11s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.65s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.38s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.74s)
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 1.7.1
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
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.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/601.0.1/swiftlang-6.2.0.9.909-MacroSupport-macos_aarch64.zip
Build complete.
{
"dependencies" : [
{
"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"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
}
],
"manifest_display_name" : "swiftui-navigation",
"name" : "swiftui-navigation",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SwiftUINavigation",
"targets" : [
"SwiftUINavigation"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftUINavigationCore",
"targets" : [
"SwiftUINavigationCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftUINavigationTests",
"module_type" : "SwiftTarget",
"name" : "SwiftUINavigationTests",
"path" : "Tests/SwiftUINavigationTests",
"sources" : [
"AlertTests.swift",
"BindingTests.swift",
"ButtonStateTests.swift",
"SwiftUINavigationTests.swift",
"TextStateTests.swift"
],
"target_dependencies" : [
"SwiftUINavigation"
],
"type" : "test"
},
{
"c99name" : "SwiftUINavigationCore",
"module_type" : "SwiftTarget",
"name" : "SwiftUINavigationCore",
"path" : "Sources/SwiftUINavigationCore",
"product_dependencies" : [
"CustomDump",
"IssueReporting"
],
"product_memberships" : [
"SwiftUINavigation",
"SwiftUINavigationCore"
],
"sources" : [
"Alert.swift",
"AlertState.swift",
"Bind.swift",
"Binding.swift",
"ButtonState.swift",
"ButtonStateBuilder.swift",
"ConfirmationDialog.swift",
"ConfirmationDialogState.swift",
"Internal/Deprecations.swift",
"NavigationDestination.swift",
"TextState.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftUINavigation",
"module_type" : "SwiftTarget",
"name" : "SwiftUINavigation",
"path" : "Sources/SwiftUINavigation",
"product_dependencies" : [
"CasePaths",
"IssueReporting"
],
"product_memberships" : [
"SwiftUINavigation"
],
"sources" : [
"Alert.swift",
"Binding.swift",
"ConfirmationDialog.swift",
"FullScreenCover.swift",
"HashableObject.swift",
"Internal/Binding+Internal.swift",
"Internal/Deprecations.swift",
"Internal/Exports.swift",
"Internal/Identified.swift",
"Internal/LockIsolated.swift",
"NavigationDestination.swift",
"NavigationLink.swift",
"Popover.swift",
"Sheet.swift",
"WithState.swift"
],
"target_dependencies" : [
"SwiftUINavigationCore"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.