This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 swift-fatal-test-value with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CuriositySoftware/swift-fatal-test-value.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CuriositySoftware/swift-fatal-test-value
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c222973 Merge pull request #11 from CuriositySoftware/yimajo-patch-1
Cloned https://github.com/CuriositySoftware/swift-fatal-test-value.git
Revision (git rev-parse @):
c222973b23117e4c2f553077fa72a5e28c900ff5
SUCCESS checkout https://github.com/CuriositySoftware/swift-fatal-test-value.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CuriositySoftware/swift-fatal-test-value.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/22] Write sources
[14/22] Write ImplementationMacroClient-entitlement.plist
[16/22] Write swift-version-6F35C1178C84523A.txt
[18/24] Emitting module SwiftSyntax509
[19/24] Compiling SwiftSyntax509 Empty.swift
[20/70] Compiling SwiftSyntax AbsolutePosition.swift
[21/70] Compiling SwiftSyntax Assert.swift
[22/70] Compiling SwiftSyntax BumpPtrAllocator.swift
[23/70] Compiling SwiftSyntax CommonAncestor.swift
[24/70] Compiling SwiftSyntax Convenience.swift
[25/75] Compiling SwiftSyntax Syntax.swift
[26/75] Compiling SwiftSyntax SyntaxArena.swift
[27/75] Compiling SwiftSyntax SyntaxChildren.swift
[28/75] Compiling SwiftSyntax SyntaxCollection.swift
[29/75] Compiling SwiftSyntax SyntaxData.swift
[30/75] Emitting module SwiftSyntax
[31/75] Compiling SwiftSyntax Utils.swift
[32/75] Compiling SwiftSyntax ChildNameForKeyPath.swift
[33/75] Compiling SwiftSyntax Keyword.swift
[34/75] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[35/75] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[36/75] Compiling SwiftSyntax SyntaxText.swift
[37/75] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[38/75] Compiling SwiftSyntax TokenDiagnostic.swift
[39/75] Compiling SwiftSyntax TokenSyntax.swift
[40/75] Compiling SwiftSyntax Trivia.swift
[41/75] Compiling SwiftSyntax Tokens.swift
[42/75] Compiling SwiftSyntax TriviaPieces.swift
[43/75] Compiling SwiftSyntax RawSyntaxNodes.swift
[44/75] Compiling SwiftSyntax RawSyntaxValidation.swift
[45/75] Compiling SwiftSyntax SyntaxDeclNodes.swift
[46/75] Compiling SwiftSyntax RawSyntaxTokenView.swift
[47/75] Compiling SwiftSyntax SourceLength.swift
[48/75] Compiling SwiftSyntax SourceLocation.swift
[49/75] Compiling SwiftSyntax SourcePresence.swift
[50/75] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[51/75] Compiling SwiftSyntax SyntaxExprNodes.swift
[52/75] Compiling SwiftSyntax SyntaxNodes.swift
[53/75] Compiling SwiftSyntax SyntaxPatternNodes.swift
[54/75] Compiling SwiftSyntax SyntaxStmtNodes.swift
[55/75] Compiling SwiftSyntax SyntaxTypeNodes.swift
[56/75] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[57/75] Compiling SwiftSyntax SyntaxBaseNodes.swift
[58/75] Compiling SwiftSyntax SyntaxCollections.swift
[59/75] Compiling SwiftSyntax SyntaxEnum.swift
[60/75] Compiling SwiftSyntax SyntaxKind.swift
[61/75] Compiling SwiftSyntax MemoryLayout.swift
[62/75] Compiling SwiftSyntax MissingNodeInitializers.swift
[63/75] Compiling SwiftSyntax RawSyntax.swift
[64/75] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[65/75] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[66/75] Compiling SwiftSyntax SyntaxRewriter.swift
[67/75] Compiling SwiftSyntax SyntaxTraits.swift
[68/75] Compiling SwiftSyntax SyntaxTransform.swift
[69/75] Compiling SwiftSyntax SyntaxVisitor.swift
[70/75] Compiling SwiftSyntax TokenKind.swift
[71/127] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[72/127] Compiling SwiftBasicFormat Syntax+Extensions.swift
[73/127] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[74/127] Compiling SwiftDiagnostics Message.swift
[75/127] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[76/127] Compiling SwiftDiagnostics Note.swift
[77/127] Emitting module SwiftDiagnostics
[78/127] Compiling SwiftDiagnostics FixIt.swift
[79/127] Compiling SwiftDiagnostics Convenience.swift
[80/127] Compiling SwiftDiagnostics Diagnostic.swift
[81/127] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[82/127] Emitting module SwiftBasicFormat
[83/127] Compiling SwiftBasicFormat BasicFormat.swift
[84/127] Compiling SwiftParser SyntaxUtils.swift
[85/127] Compiling SwiftParser TokenConsumer.swift
[86/127] Compiling SwiftParser TokenPrecedence.swift
[87/127] Compiling SwiftParser TokenSpec.swift
[88/131] Compiling SwiftParser TokenSpecSet.swift
[89/131] Compiling SwiftParser TopLevel.swift
[90/131] Compiling SwiftParser TriviaParser.swift
[91/131] Compiling SwiftParser Types.swift
[92/131] Compiling SwiftParser Names.swift
[93/131] Compiling SwiftParser Nominals.swift
[94/131] Compiling SwiftParser Parameters.swift
[95/131] Compiling SwiftParser ParseSourceFile.swift
[96/131] Compiling SwiftParser Parser.swift
[97/131] Compiling SwiftParser Patterns.swift
[98/131] Compiling SwiftParser Recovery.swift
[99/131] Compiling SwiftParser Specifiers.swift
[100/131] Compiling SwiftParser UnicodeScalarExtensions.swift
[101/131] Compiling SwiftParser Lookahead.swift
[102/131] Compiling SwiftParser LoopProgressCondition.swift
[103/131] Compiling SwiftParser Modifiers.swift
[104/131] Compiling SwiftParser Lexeme.swift
[105/131] Compiling SwiftParser LexemeSequence.swift
[106/131] Compiling SwiftParser Lexer.swift
[107/131] Compiling SwiftParser RegexLiteralLexer.swift
[108/131] Compiling SwiftParser Statements.swift
[109/131] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[110/131] Compiling SwiftParser StringLiterals.swift
[111/131] Compiling SwiftParser SwiftParserCompatibility.swift
[112/131] Compiling SwiftParser Attributes.swift
[113/131] Compiling SwiftParser Availability.swift
[114/131] Compiling SwiftParser CharacterInfo.swift
[115/131] Compiling SwiftParser CollectionNodes+Parsable.swift
[116/131] Compiling SwiftParser Declarations.swift
[117/131] Emitting module SwiftParser
[118/131] Compiling SwiftParser Directives.swift
[119/131] Compiling SwiftParser ExperimentalFeatures.swift
[120/131] Compiling SwiftParser Expressions.swift
[121/131] Compiling SwiftParser IncrementalParseTransition.swift
[122/131] Compiling SwiftParser Cursor.swift
[123/131] Compiling SwiftParser IsLexerClassified.swift
[124/131] Compiling SwiftParser LayoutNodes+Parsable.swift
[125/131] Compiling SwiftParser Parser+TokenSpecSet.swift
[126/131] Compiling SwiftParser TokenSpecStaticMembers.swift
[127/154] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[128/155] Compiling SwiftOperators PrecedenceGroup.swift
[129/156] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[130/156] Compiling SwiftOperators PrecedenceGraph.swift
[131/156] Compiling SwiftOperators OperatorTable.swift
[132/156] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[133/156] Compiling SwiftOperators SyntaxSynthesis.swift
[134/156] Compiling SwiftOperators OperatorTable+Semantics.swift
[135/156] Compiling SwiftOperators OperatorTable+Defaults.swift
[136/156] Compiling SwiftOperators OperatorError.swift
[137/156] Compiling SwiftOperators OperatorError+Diagnostics.swift
[138/156] Emitting module SwiftOperators
[139/156] Compiling SwiftOperators Operator.swift
[140/156] Compiling SwiftOperators OperatorTable+Folding.swift
[141/156] Compiling SwiftParserDiagnostics PresenceUtils.swift
[142/156] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[143/156] Compiling SwiftParserDiagnostics Utils.swift
[144/156] Emitting module SwiftParserDiagnostics
[145/156] Compiling SwiftParserDiagnostics MissingNodesError.swift
[146/156] Compiling SwiftParserDiagnostics MissingTokenError.swift
[147/156] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[148/156] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[149/156] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[150/156] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[151/156] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[152/170] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[153/171] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[154/171] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[155/171] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[156/171] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[157/171] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[158/171] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[159/171] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[160/171] Compiling SwiftSyntaxBuilder Indenter.swift
[161/171] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[162/171] Emitting module SwiftSyntaxBuilder
[163/171] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[164/171] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[165/171] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[166/171] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[167/185] Compiling SwiftSyntaxMacros MemberMacro.swift
[168/185] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[169/185] Compiling SwiftSyntaxMacros Macro.swift
[170/186] Compiling SwiftSyntaxMacros Macro+Format.swift
[171/186] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[172/186] Compiling SwiftSyntaxMacros PeerMacro.swift
[173/186] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[174/186] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[175/186] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[176/186] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[177/186] Compiling SwiftSyntaxMacros AccessorMacro.swift
[178/186] Compiling SwiftSyntaxMacros AttachedMacro.swift
[179/186] Emitting module SwiftSyntaxMacros
[180/186] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[181/186] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[182/194] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[183/194] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[184/194] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[185/194] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[186/194] Emitting module SwiftSyntaxMacroExpansion
[187/194] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[188/194] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[189/194] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[190/201] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[191/201] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[192/201] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[193/201] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[194/201] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[195/201] Emitting module SwiftCompilerPluginMessageHandling
[196/201] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[197/203] Emitting module SwiftCompilerPlugin
[198/203] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[199/209] Compiling FatalErrorTestValueImplementationMacro Diagnostics.swift
[200/209] Compiling FatalErrorTestValueImplementationMacro PatternBindingSyntax+Closure.swift
[201/209] Compiling FatalErrorTestValueImplementationMacro Utility.swift
[202/209] Emitting module FatalErrorTestValueImplementationMacro
[203/209] Compiling FatalErrorTestValueImplementationMacro Plugin.swift
[204/209] Compiling FatalErrorTestValueImplementationMacro FatalErrorTestValueImplementationMacro.swift
[204/209] Write Objects.LinkFileList
[205/209] Linking FatalErrorTestValueImplementationMacro
[207/211] Compiling FatalTestValue FatalTestValue.swift
[208/211] Emitting module FatalTestValue
[209/213] Compiling ImplementationMacroClient main.swift
macro expansion @FatalTestValue:2:23: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/ImplementationMacroClient/main.swift:9:2: note: expanded code originates here
 2 |
 3 | @FatalTestValue
 4 | struct Example {
   |        `- note: consider making struct 'Example' conform to the 'Sendable' protocol
 5 |     var create: @Sendable (Int) async throws -> Void
 6 |     var read: @Sendable (Int) async throws -> String
 7 |     var update: @Sendable (Int, String) async throws -> Void
 8 |     var delete: (Int) -> Void
 9 | }
   +--- macro expansion @FatalTestValue --------------------------------
   | 1 | extension Example {
   | 2 |     public static let testValue = Example(
   |   |                       |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
   |   |                       |- note: annotate 'testValue' 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
   | 3 |         create: { _ in
   | 4 |             fatalError()
   +--------------------------------------------------------------------
10 |
[210/213] Emitting module ImplementationMacroClient
macro expansion @FatalTestValue:2:23: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/ImplementationMacroClient/main.swift:9:2: note: expanded code originates here
 2 |
 3 | @FatalTestValue
 4 | struct Example {
   |        `- note: consider making struct 'Example' conform to the 'Sendable' protocol
 5 |     var create: @Sendable (Int) async throws -> Void
 6 |     var read: @Sendable (Int) async throws -> String
 7 |     var update: @Sendable (Int, String) async throws -> Void
 8 |     var delete: (Int) -> Void
 9 | }
   +--- macro expansion @FatalTestValue --------------------------------
   | 1 | extension Example {
   | 2 |     public static let testValue = Example(
   |   |                       |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'Example' may have shared mutable state; this is an error in the Swift 6 language mode
   |   |                       |- note: annotate 'testValue' 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
   | 3 |         create: { _ in
   | 4 |             fatalError()
   +--------------------------------------------------------------------
10 |
[210/213] Write Objects.LinkFileList
[211/213] Linking ImplementationMacroClient
[212/213] Applying ImplementationMacroClient
Build complete! (75.38s)
Fetching https://github.com/apple/swift-syntax.git
[1/60953] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.11s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.2 (1.14s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.2
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.2",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "swift-fatal-test-value",
  "name" : "swift-fatal-test-value",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "FatalTestValue",
      "targets" : [
        "FatalTestValue"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ImplementationMacroClient",
      "targets" : [
        "ImplementationMacroClient"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FatalErrorTestValueImplementationMacro",
      "targets" : [
        "FatalErrorTestValueImplementationMacro"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImplementationMacroClient",
      "module_type" : "SwiftTarget",
      "name" : "ImplementationMacroClient",
      "path" : "Sources/ImplementationMacroClient",
      "product_dependencies" : [
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "ImplementationMacroClient"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "FatalTestValue"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FatalTestValue",
      "module_type" : "SwiftTarget",
      "name" : "FatalTestValue",
      "path" : "Sources/FatalTestValue",
      "product_memberships" : [
        "FatalTestValue",
        "ImplementationMacroClient"
      ],
      "sources" : [
        "FatalTestValue.swift"
      ],
      "target_dependencies" : [
        "FatalErrorTestValueImplementationMacro"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FatalErrorTestValueImplementationMacroTests",
      "module_type" : "SwiftTarget",
      "name" : "FatalErrorTestValueImplementationMacroTests",
      "path" : "Tests/FatalErrorTestValueImplementationMacroTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "FatalErrorTestValueImplementationMacroTests.swift",
        "UtilityTests.swift"
      ],
      "target_dependencies" : [
        "FatalErrorTestValueImplementationMacro"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FatalErrorTestValueImplementationMacro",
      "module_type" : "SwiftTarget",
      "name" : "FatalErrorTestValueImplementationMacro",
      "path" : "Sources/FatalErrorTestValueImplementationMacro",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "FatalTestValue",
        "ImplementationMacroClient",
        "FatalErrorTestValueImplementationMacro"
      ],
      "sources" : [
        "Diagnostics/Diagnostics.swift",
        "Extensions/PatternBindingSyntax+Closure.swift",
        "Macro/FatalErrorTestValueImplementationMacro.swift",
        "Plugin.swift",
        "Utility.swift"
      ],
      "type" : "macro"
    }
  ],
  "tools_version" : "5.9"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.