The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Navigator, reference 0.0.1 (e7c852), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 21:18:09 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taji-taji/Navigator.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/taji-taji/Navigator
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at e7c8526 Merge pull request #3 from taji-taji/fix-platform
Cloned https://github.com/taji-taji/Navigator.git
Revision (git rev-parse @):
e7c8526ad37e94f06e5992a3612430883f33d08e
SUCCESS checkout https://github.com/taji-taji/Navigator.git at 0.0.1
Fetching https://github.com/apple/swift-syntax
[1/66360] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax from cache (3.52s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 509.1.1 (3.94s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 509.1.1
========================================
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": "navigator",
      "name": "Navigator",
      "url": "https://github.com/taji-taji/Navigator.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Navigator",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax",
          "version": "509.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/taji-taji/Navigator.git
[1/82] Fetching navigator
Fetched https://github.com/taji-taji/Navigator.git from cache (0.69s)
Fetching https://github.com/apple/swift-syntax from cache
Fetched https://github.com/apple/swift-syntax from cache (0.86s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 509.1.1 (0.03s)
Creating working copy for https://github.com/apple/swift-syntax
Working copy of https://github.com/apple/swift-syntax resolved at 509.1.1
Creating working copy for https://github.com/taji-taji/Navigator.git
Working copy of https://github.com/taji-taji/Navigator.git resolved at 0.0.1 (e7c8526)
warning: '.resolve-product-dependencies': dependency 'navigator' is not used by any target
Found 1 product dependencies
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/taji-taji/Navigator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/17] Write sources
[14/17] Write swift-version--7754E27361AE5C74.txt
[16/19] Emitting module SwiftSyntax509
[17/19] Compiling SwiftSyntax509 Empty.swift
[18/65] Compiling SwiftSyntax Syntax.swift
[19/65] Compiling SwiftSyntax SyntaxArena.swift
[20/65] Compiling SwiftSyntax SyntaxChildren.swift
[21/65] Compiling SwiftSyntax SyntaxCollection.swift
[22/65] Compiling SwiftSyntax SyntaxData.swift
[23/70] Emitting module SwiftSyntax
[24/70] Compiling SwiftSyntax SyntaxText.swift
[25/70] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[26/70] Compiling SwiftSyntax TokenDiagnostic.swift
[27/70] Compiling SwiftSyntax TokenSyntax.swift
[28/70] Compiling SwiftSyntax Trivia.swift
[29/70] Compiling SwiftSyntax Utils.swift
[30/70] Compiling SwiftSyntax ChildNameForKeyPath.swift
[31/70] Compiling SwiftSyntax Keyword.swift
[32/70] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[33/70] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[34/70] Compiling SwiftSyntax RawSyntaxTokenView.swift
[35/70] Compiling SwiftSyntax SourceLength.swift
[36/70] Compiling SwiftSyntax SourceLocation.swift
[37/70] Compiling SwiftSyntax SourcePresence.swift
[38/70] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[39/70] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[40/70] Compiling SwiftSyntax SyntaxBaseNodes.swift
[41/70] Compiling SwiftSyntax SyntaxCollections.swift
[42/70] Compiling SwiftSyntax SyntaxEnum.swift
[43/70] Compiling SwiftSyntax SyntaxKind.swift
[44/70] Compiling SwiftSyntax Tokens.swift
[45/70] Compiling SwiftSyntax TriviaPieces.swift
[46/70] Compiling SwiftSyntax RawSyntaxNodes.swift
[47/70] Compiling SwiftSyntax RawSyntaxValidation.swift
[48/70] Compiling SwiftSyntax SyntaxDeclNodes.swift
[49/70] Compiling SwiftSyntax MemoryLayout.swift
[50/70] Compiling SwiftSyntax MissingNodeInitializers.swift
[51/70] Compiling SwiftSyntax RawSyntax.swift
[52/70] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[53/70] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[54/70] Compiling SwiftSyntax AbsolutePosition.swift
[55/70] Compiling SwiftSyntax Assert.swift
[56/70] Compiling SwiftSyntax BumpPtrAllocator.swift
[57/70] Compiling SwiftSyntax CommonAncestor.swift
[58/70] Compiling SwiftSyntax Convenience.swift
[59/70] Compiling SwiftSyntax SyntaxRewriter.swift
[60/70] Compiling SwiftSyntax SyntaxTraits.swift
[61/70] Compiling SwiftSyntax SyntaxTransform.swift
[62/70] Compiling SwiftSyntax SyntaxVisitor.swift
[63/70] Compiling SwiftSyntax TokenKind.swift
[64/70] Compiling SwiftSyntax SyntaxExprNodes.swift
[65/70] Compiling SwiftSyntax SyntaxNodes.swift
[66/70] Compiling SwiftSyntax SyntaxPatternNodes.swift
[67/70] Compiling SwiftSyntax SyntaxStmtNodes.swift
[68/70] Compiling SwiftSyntax SyntaxTypeNodes.swift
[69/122] Compiling SwiftDiagnostics Note.swift
[70/122] Compiling SwiftBasicFormat Syntax+Extensions.swift
[71/122] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[72/122] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[73/122] Compiling SwiftDiagnostics Message.swift
[74/122] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[75/122] Compiling SwiftDiagnostics Convenience.swift
[76/122] Emitting module SwiftDiagnostics
[77/122] Compiling SwiftDiagnostics FixIt.swift
[78/122] Compiling SwiftDiagnostics Diagnostic.swift
[79/122] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[80/122] Emitting module SwiftBasicFormat
[81/122] Compiling SwiftBasicFormat BasicFormat.swift
[82/122] Compiling SwiftParser Names.swift
[83/122] Compiling SwiftParser Nominals.swift
[84/122] Compiling SwiftParser Parameters.swift
[85/122] Compiling SwiftParser ParseSourceFile.swift
[86/122] Compiling SwiftParser Statements.swift
[87/122] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[88/122] Compiling SwiftParser StringLiterals.swift
[89/122] Compiling SwiftParser SwiftParserCompatibility.swift
[90/126] Compiling SwiftParser Parser.swift
[91/126] Compiling SwiftParser Patterns.swift
[92/126] Compiling SwiftParser Recovery.swift
[93/126] Compiling SwiftParser Specifiers.swift
[94/126] Compiling SwiftParser TokenSpecSet.swift
[95/126] Compiling SwiftParser TopLevel.swift
[96/126] Compiling SwiftParser TriviaParser.swift
[97/126] Compiling SwiftParser Types.swift
[98/126] Compiling SwiftParser SyntaxUtils.swift
[99/126] Compiling SwiftParser TokenConsumer.swift
[100/126] Compiling SwiftParser TokenPrecedence.swift
[101/126] Compiling SwiftParser TokenSpec.swift
[102/126] Compiling SwiftParser UnicodeScalarExtensions.swift
[103/126] Compiling SwiftParser Lookahead.swift
[104/126] Compiling SwiftParser LoopProgressCondition.swift
[105/126] Compiling SwiftParser Modifiers.swift
[106/126] Emitting module SwiftParser
[107/126] Compiling SwiftParser Attributes.swift
[108/126] Compiling SwiftParser Availability.swift
[109/126] Compiling SwiftParser CharacterInfo.swift
[110/126] Compiling SwiftParser CollectionNodes+Parsable.swift
[111/126] Compiling SwiftParser Declarations.swift
[112/126] Compiling SwiftParser Lexeme.swift
[113/126] Compiling SwiftParser LexemeSequence.swift
[114/126] Compiling SwiftParser Lexer.swift
[115/126] Compiling SwiftParser RegexLiteralLexer.swift
[116/126] Compiling SwiftParser Directives.swift
[117/126] Compiling SwiftParser ExperimentalFeatures.swift
[118/126] Compiling SwiftParser Expressions.swift
[119/126] Compiling SwiftParser IncrementalParseTransition.swift
[120/126] Compiling SwiftParser Cursor.swift
[121/126] Compiling SwiftParser IsLexerClassified.swift
[122/126] Compiling SwiftParser LayoutNodes+Parsable.swift
[123/126] Compiling SwiftParser Parser+TokenSpecSet.swift
[124/126] Compiling SwiftParser TokenSpecStaticMembers.swift
[125/149] Compiling SwiftOperators PrecedenceGroup.swift
[126/150] Compiling SwiftOperators SyntaxSynthesis.swift
[127/150] Compiling SwiftOperators OperatorTable.swift
[128/150] Compiling SwiftOperators OperatorError.swift
[129/150] Compiling SwiftOperators PrecedenceGraph.swift
[130/150] Compiling SwiftOperators OperatorTable+Semantics.swift
[131/150] Compiling SwiftOperators OperatorTable+Defaults.swift
[132/150] Compiling SwiftOperators OperatorError+Diagnostics.swift
[133/150] Compiling SwiftOperators OperatorTable+Folding.swift
[134/150] Compiling SwiftOperators Operator.swift
[135/150] Emitting module SwiftOperators
[136/150] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[137/150] Compiling SwiftParserDiagnostics Utils.swift
[138/150] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[139/150] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[140/151] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[141/151] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[142/151] Compiling SwiftParserDiagnostics MissingNodesError.swift
[143/151] Compiling SwiftParserDiagnostics MissingTokenError.swift
[144/151] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[145/151] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[146/151] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/151] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/151] Emitting module SwiftParserDiagnostics
[149/151] Compiling SwiftParserDiagnostics PresenceUtils.swift
[150/165] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[151/166] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[152/166] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[153/166] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[154/166] Compiling SwiftSyntaxBuilder Indenter.swift
[155/166] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[156/166] Emitting module SwiftSyntaxBuilder
[157/166] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[158/166] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[159/166] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[160/166] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[161/166] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[162/166] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[163/166] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[164/166] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[165/180] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[166/180] Compiling SwiftSyntaxMacros Macro+Format.swift
[167/180] Compiling SwiftSyntaxMacros Macro.swift
[168/180] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[169/180] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[170/180] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[171/180] Compiling SwiftSyntaxMacros MemberMacro.swift
[172/180] Compiling SwiftSyntaxMacros AccessorMacro.swift
[173/180] Compiling SwiftSyntaxMacros AttachedMacro.swift
[174/180] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[175/180] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[176/181] Emitting module SwiftSyntaxMacros
[177/181] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[178/181] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[179/181] Compiling SwiftSyntaxMacros PeerMacro.swift
[180/189] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[181/189] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[182/189] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[183/189] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[184/189] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[185/189] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[186/189] Emitting module SwiftSyntaxMacroExpansion
[187/189] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[188/196] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[189/196] Emitting module SwiftCompilerPluginMessageHandling
[190/196] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[191/196] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[192/196] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[193/196] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[194/196] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[195/198] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[196/198] Emitting module SwiftCompilerPlugin
[197/200] Compiling NavigatableMacros NavigatableMacro.swift
[198/200] Emitting module NavigatableMacros
[198/200] Write Objects.LinkFileList
[199/200] Linking NavigatableMacros-tool
[201/204] Compiling Navigator RootView.swift
[202/204] Emitting module Navigator
[203/204] Compiling Navigator Navigatable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Navigator/Navigatable.swift:22:9: warning: call to main actor-isolated initializer 'init(viewProvider:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 |     }
20 |
21 |     func rootView(with destination: Destination) -> RootView<AnyView> {
   |          `- note: add '@MainActor' to make instance method 'rootView(with:)' part of global actor 'MainActor'
22 |         RootView(viewProvider: navigator.viewProvider) {
   |         `- warning: call to main actor-isolated initializer 'init(viewProvider:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
23 |             AnyView(navigator.view(for: destination))
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Navigator/RootView.swift:7:12: note: calls to initializer 'init(viewProvider:content:)' from outside of its actor context are implicitly asynchronous
 5 |     private let content: () -> Content
 6 |
 7 |     public init(
   |            `- note: calls to initializer 'init(viewProvider:content:)' from outside of its actor context are implicitly asynchronous
 8 |         @ViewBuilder viewProvider: @escaping (any NavigationDestination) -> some View,
 9 |         @ViewBuilder content: @escaping () -> Content
/Users/admin/builder/spi-builder-workspace/Sources/Navigator/Navigatable.swift:22:9: warning: sending 'self.navigator.viewProvider' risks causing data races; this is an error in the Swift 6 language mode
20 |
21 |     func rootView(with destination: Destination) -> RootView<AnyView> {
22 |         RootView(viewProvider: navigator.viewProvider) {
   |         |- warning: sending 'self.navigator.viewProvider' risks causing data races; this is an error in the Swift 6 language mode
   |         `- note: sending task-isolated 'self.navigator.viewProvider' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
23 |             AnyView(navigator.view(for: destination))
24 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Navigator/Navigatable.swift:22:9: warning: sending task-isolated value of type '() -> AnyView' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
20 |
21 |     func rootView(with destination: Destination) -> RootView<AnyView> {
22 |         RootView(viewProvider: navigator.viewProvider) {
   |         `- warning: sending task-isolated value of type '() -> AnyView' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
23 |             AnyView(navigator.view(for: destination))
24 |         }
[204/204] Compiling Navigator Navigator.swift
Build complete! (58.12s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax"
    }
  ],
  "manifest_display_name" : "Navigator",
  "name" : "Navigator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Navigator",
      "targets" : [
        "Navigator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NavigatableMacros",
      "targets" : [
        "NavigatableMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NavigatorTests",
      "module_type" : "SwiftTarget",
      "name" : "NavigatorTests",
      "path" : "Tests",
      "sources" : [
        "NavigatorTests.swift"
      ],
      "target_dependencies" : [
        "Navigator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Navigator",
      "module_type" : "SwiftTarget",
      "name" : "Navigator",
      "path" : "Sources/Navigator",
      "product_memberships" : [
        "Navigator"
      ],
      "sources" : [
        "Navigatable.swift",
        "Navigator.swift",
        "RootView.swift"
      ],
      "target_dependencies" : [
        "NavigatableMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NavigatableMacros",
      "module_type" : "SwiftTarget",
      "name" : "NavigatableMacros",
      "path" : "Sources/NavigatableMacros",
      "product_dependencies" : [
        "SwiftCompilerPlugin",
        "SwiftSyntax",
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "Navigator",
        "NavigatableMacros"
      ],
      "sources" : [
        "NavigatableMacro.swift"
      ],
      "type" : "macro"
    }
  ],
  "tools_version" : "5.9"
}
Done.