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 MacrosKit, reference main (32150b), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 17:50:49 UTC.

Swift 6 data race errors: 1

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/buildexperience/MacrosKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/buildexperience/MacrosKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 32150b5 Update swift-syntax repository url
Cloned https://github.com/buildexperience/MacrosKit.git
Revision (git rev-parse @):
32150b5c2f3d91a75f0a9a283044954a276dd26a
SUCCESS checkout https://github.com/buildexperience/MacrosKit.git at main
Fetching https://github.com/apple/swift-syntax.git
[1/66411] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.28s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.28s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 510.0.2 (3.30s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 510.0.2
========================================
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": "macroskit",
      "name": "MacrosKit",
      "url": "https://github.com/buildexperience/MacrosKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MacrosKit",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/swiftlang/swift-syntax.git",
          "version": "510.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/buildexperience/MacrosKit.git
[1/116] Fetching macroskit
Fetched https://github.com/buildexperience/MacrosKit.git from cache (0.69s)
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.86s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 510.0.3 (0.03s)
Creating working copy for https://github.com/buildexperience/MacrosKit.git
Working copy of https://github.com/buildexperience/MacrosKit.git resolved at main (32150b5)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 510.0.3
warning: '.resolve-product-dependencies': dependency 'macroskit' 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/buildexperience/MacrosKit.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/11] Write sources
[10/11] Write swift-version--7754E27361AE5C74.txt
[12/15] Emitting module SwiftSyntax510
[13/15] Compiling SwiftSyntax510 Empty.swift
[14/15] Emitting module SwiftSyntax509
[15/15] Compiling SwiftSyntax509 Empty.swift
[16/77] Compiling SwiftSyntax MemoryLayout.swift
[17/77] Compiling SwiftSyntax MissingNodeInitializers.swift
[18/77] Compiling SwiftSyntax RawSyntax.swift
[19/77] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[20/77] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[21/77] Compiling SwiftSyntax RawSyntaxTokenView.swift
[22/77] Compiling SwiftSyntax SourceLength.swift
[23/83] Compiling SwiftSyntax SyntaxHashable.swift
[24/83] Compiling SwiftSyntax SyntaxIdentifier.swift
[25/83] Compiling SwiftSyntax SyntaxNodeStructure.swift
[26/83] Compiling SwiftSyntax SyntaxProtocol.swift
[27/83] Compiling SwiftSyntax SyntaxText.swift
[28/83] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[29/83] Compiling SwiftSyntax TokenDiagnostic.swift
[30/83] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[31/83] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[32/83] Compiling SwiftSyntax SyntaxBaseNodes.swift
[33/83] Compiling SwiftSyntax SyntaxCollections.swift
[34/83] Compiling SwiftSyntax SyntaxEnum.swift
[35/83] Compiling SwiftSyntax SyntaxKind.swift
[36/83] Compiling SwiftSyntax SyntaxRewriter.swift
[37/83] Compiling SwiftSyntax SourceLocation.swift
[38/83] Compiling SwiftSyntax SourcePresence.swift
[39/83] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[40/83] Compiling SwiftSyntax Syntax.swift
[41/83] Compiling SwiftSyntax SyntaxArena.swift
[42/83] Compiling SwiftSyntax SyntaxChildren.swift
[43/83] Compiling SwiftSyntax SyntaxCollection.swift
[44/83] Compiling SwiftSyntax RawSyntaxNodesC.swift
[45/83] Compiling SwiftSyntax RawSyntaxNodesD.swift
[46/83] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[47/83] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[48/83] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[49/83] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[50/83] Compiling SwiftSyntax SyntaxTraits.swift
[51/83] Compiling SwiftSyntax SyntaxTransform.swift
[52/83] Compiling SwiftSyntax SyntaxVisitor.swift
[53/83] Compiling SwiftSyntax TokenKind.swift
[54/83] Compiling SwiftSyntax Tokens.swift
[55/83] Compiling SwiftSyntax TriviaPieces.swift
[56/83] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[57/83] Emitting module SwiftSyntax
[58/83] Compiling SwiftSyntax AbsolutePosition.swift
[59/83] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[60/83] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[61/83] Compiling SwiftSyntax Assert.swift
[62/83] Compiling SwiftSyntax BumpPtrAllocator.swift
[63/83] Compiling SwiftSyntax CommonAncestor.swift
[64/83] Compiling SwiftSyntax Convenience.swift
[65/83] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[66/83] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[67/83] Compiling SwiftSyntax RawSyntaxValidation.swift
[68/83] Compiling SwiftSyntax SyntaxNodesAB.swift
[69/83] Compiling SwiftSyntax SyntaxNodesC.swift
[70/83] Compiling SwiftSyntax SyntaxNodesD.swift
[71/83] Compiling SwiftSyntax TokenSequence.swift
[72/83] Compiling SwiftSyntax TokenSyntax.swift
[73/83] Compiling SwiftSyntax Trivia.swift
[74/83] Compiling SwiftSyntax Utils.swift
[75/83] Compiling SwiftSyntax ChildNameForKeyPath.swift
[76/83] Compiling SwiftSyntax Keyword.swift
[77/83] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[78/83] Compiling SwiftSyntax SyntaxNodesEF.swift
[79/83] Compiling SwiftSyntax SyntaxNodesGHI.swift
[80/83] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[81/83] Compiling SwiftSyntax SyntaxNodesOP.swift
[82/83] Compiling SwiftSyntax SyntaxNodesQRS.swift
[83/83] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[84/135] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[85/135] Compiling SwiftBasicFormat Syntax+Extensions.swift
[86/135] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[87/135] Compiling SwiftDiagnostics Note.swift
[88/135] Compiling SwiftDiagnostics Message.swift
[89/135] Compiling SwiftDiagnostics Convenience.swift
[90/135] Compiling SwiftDiagnostics FixIt.swift
[91/135] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[92/135] Emitting module SwiftDiagnostics
[93/135] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[94/135] Compiling SwiftDiagnostics Diagnostic.swift
[95/135] Emitting module SwiftBasicFormat
[96/135] Compiling SwiftBasicFormat BasicFormat.swift
[97/135] Compiling SwiftParser SyntaxUtils.swift
[98/135] Compiling SwiftParser TokenConsumer.swift
[99/135] Compiling SwiftParser TokenPrecedence.swift
[100/135] Compiling SwiftParser TokenSpec.swift
[101/135] Compiling SwiftParser Statements.swift
[102/135] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[103/135] Compiling SwiftParser StringLiterals.swift
[104/135] Compiling SwiftParser SwiftParserCompatibility.swift
[105/139] Compiling SwiftParser Names.swift
[106/139] Compiling SwiftParser Nominals.swift
[107/139] Compiling SwiftParser Parameters.swift
[108/139] Compiling SwiftParser ParseSourceFile.swift
[109/139] Compiling SwiftParser UnicodeScalarExtensions.swift
[110/139] Compiling SwiftParser Lookahead.swift
[111/139] Compiling SwiftParser LoopProgressCondition.swift
[112/139] Compiling SwiftParser Modifiers.swift
[113/139] Compiling SwiftParser Parser.swift
[114/139] Compiling SwiftParser Patterns.swift
[115/139] Compiling SwiftParser Recovery.swift
[116/139] Compiling SwiftParser Specifiers.swift
[117/139] Compiling SwiftParser TokenSpecSet.swift
[118/139] Compiling SwiftParser TopLevel.swift
[119/139] Compiling SwiftParser TriviaParser.swift
[120/139] Compiling SwiftParser Types.swift
[121/139] Compiling SwiftParser Attributes.swift
[122/139] Compiling SwiftParser Availability.swift
[123/139] Compiling SwiftParser CharacterInfo.swift
[124/139] Compiling SwiftParser CollectionNodes+Parsable.swift
[125/139] Compiling SwiftParser Declarations.swift
[126/139] Emitting module SwiftParser
[127/139] Compiling SwiftParser Lexeme.swift
[128/139] Compiling SwiftParser LexemeSequence.swift
[129/139] Compiling SwiftParser Lexer.swift
[130/139] Compiling SwiftParser RegexLiteralLexer.swift
[131/139] Compiling SwiftParser Directives.swift
[132/139] Compiling SwiftParser ExperimentalFeatures.swift
[133/139] Compiling SwiftParser Expressions.swift
[134/139] Compiling SwiftParser IncrementalParseTransition.swift
[135/139] Compiling SwiftParser Cursor.swift
[136/139] Compiling SwiftParser IsLexerClassified.swift
[137/139] Compiling SwiftParser LayoutNodes+Parsable.swift
[138/139] Compiling SwiftParser Parser+TokenSpecSet.swift
[139/139] Compiling SwiftParser TokenSpecStaticMembers.swift
[140/152] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[141/153] Compiling SwiftParserDiagnostics Utils.swift
[142/153] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[143/153] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[144/153] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[145/153] Compiling SwiftParserDiagnostics PresenceUtils.swift
[146/153] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/153] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/153] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[149/153] Compiling SwiftParserDiagnostics MissingNodesError.swift
[150/153] Compiling SwiftParserDiagnostics MissingTokenError.swift
[151/153] Emitting module SwiftParserDiagnostics
[152/153] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[153/153] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[154/167] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[155/168] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[156/168] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[157/168] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[158/168] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[159/168] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[160/168] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[161/168] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[162/168] Compiling SwiftSyntaxBuilder Indenter.swift
[163/168] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[164/168] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[165/168] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[166/168] Emitting module SwiftSyntaxBuilder
[167/168] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[168/168] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[169/182] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[170/182] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[171/182] Compiling SwiftSyntaxMacros AccessorMacro.swift
[172/182] Compiling SwiftSyntaxMacros AttachedMacro.swift
[173/182] Compiling SwiftSyntaxMacros Macro.swift
[174/183] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[175/183] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[176/183] Compiling SwiftSyntaxMacros Macro+Format.swift
[177/183] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[178/183] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[179/183] Compiling SwiftSyntaxMacros MemberMacro.swift
[180/183] Emitting module SwiftSyntaxMacros
[181/183] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[182/183] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[183/183] Compiling SwiftSyntaxMacros PeerMacro.swift
[184/198] Compiling MacrosKit MacroErrorFixItMessage.swift
[185/198] Compiling MacrosKit MacroError.swift
[186/198] Compiling MacrosKit MacroErrorFixItWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/MacrosKit/MacroError/MacroErrorFixItWrapper.swift:17:16: warning: stored property 'additionalFixIts' of 'Sendable'-conforming struct 'MacroErrorFixItWrapper' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
15 |
16 |     /// The additional associated fix its to add to the error's fix its..
17 |     public let additionalFixIts: [FixIt]
   |                `- warning: stored property 'additionalFixIts' of 'Sendable'-conforming struct 'MacroErrorFixItWrapper' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/FixIt.swift:27:15: note: struct 'FixIt' does not conform to the 'Sendable' protocol
25 |
26 | /// A Fix-It that can be applied to resolve a diagnostic.
27 | public struct FixIt {
   |               `- note: struct 'FixIt' does not conform to the 'Sendable' protocol
28 |   public enum Change {
29 |     /// Replace `oldNode` by `newNode`.
/Users/admin/builder/spi-builder-workspace/Sources/MacrosKit/MacroError/MacroErrorFixItWrapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
 7 |
 8 | import Foundation
 9 | import SwiftDiagnostics
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
10 |
11 | /// Wrapper for ``MacroError`` providing associated fix its.
[187/198] Compiling MacrosKit LabeledExprListSyntax+Extensions.swift
[188/199] Compiling MacrosKit DeclSyntaxProtocol+Extensions.swift
[189/199] Compiling MacrosKit DeclarationAccessLevel.swift
[190/199] Compiling MacrosKit TokenSyntax+Extensions.swift
[191/199] Compiling MacrosKit VariableDeclSyntax+Extensions.swift
[192/199] Emitting module MacrosKit
/Users/admin/builder/spi-builder-workspace/Sources/MacrosKit/MacroError/MacroErrorFixItWrapper.swift:17:16: warning: stored property 'additionalFixIts' of 'Sendable'-conforming struct 'MacroErrorFixItWrapper' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
15 |
16 |     /// The additional associated fix its to add to the error's fix its..
17 |     public let additionalFixIts: [FixIt]
   |                `- warning: stored property 'additionalFixIts' of 'Sendable'-conforming struct 'MacroErrorFixItWrapper' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/FixIt.swift:27:15: note: struct 'FixIt' does not conform to the 'Sendable' protocol
25 |
26 | /// A Fix-It that can be applied to resolve a diagnostic.
27 | public struct FixIt {
   |               `- note: struct 'FixIt' does not conform to the 'Sendable' protocol
28 |   public enum Change {
29 |     /// Replace `oldNode` by `newNode`.
/Users/admin/builder/spi-builder-workspace/Sources/MacrosKit/MacroError/MacroErrorFixItWrapper.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
 7 |
 8 | import Foundation
 9 | import SwiftDiagnostics
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
10 |
11 | /// Wrapper for ``MacroError`` providing associated fix its.
[193/199] Compiling MacrosKit AttributeListSyntax+Extensions.swift
[194/199] Compiling MacrosKit Bool+Extensions.swift
[195/199] Compiling MacrosKit DeclarationSyntax.swift
[196/199] Compiling MacrosKit DeclarationSyntaxConformances.swift
[197/199] Compiling MacrosKit ArgumentFactory.swift
[198/199] Compiling MacrosKit AttributeSyntax.Arguments+Extension.swift
[199/199] Compiling MacrosKit MacroErrorHandling.swift
Build complete! (42.82s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "510.0.0",
            "upper_bound" : "511.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "MacrosKit",
  "name" : "MacrosKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "MacrosKit",
      "targets" : [
        "MacrosKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MacrosKit",
      "module_type" : "SwiftTarget",
      "name" : "MacrosKit",
      "path" : "Sources/MacrosKit",
      "product_dependencies" : [
        "SwiftSyntaxMacros"
      ],
      "product_memberships" : [
        "MacrosKit"
      ],
      "sources" : [
        "DeclarationSyntax/DeclarationSyntax.swift",
        "DeclarationSyntax/DeclarationSyntaxConformances.swift",
        "Extensions/AttributeListSyntax+Extensions.swift",
        "Extensions/Bool+Extensions.swift",
        "Extensions/DeclSyntaxProtocol+Extensions.swift",
        "Extensions/DeclarationAccessLevel.swift",
        "Extensions/TokenSyntax+Extensions.swift",
        "Extensions/VariableDeclSyntax+Extensions.swift",
        "MacroArguments/ArgumentFactory.swift",
        "MacroArguments/AttributeSyntax.Arguments+Extension.swift",
        "MacroArguments/LabeledExprListSyntax+Extensions.swift",
        "MacroError/MacroError.swift",
        "MacroError/MacroErrorFixItMessage.swift",
        "MacroError/MacroErrorFixItWrapper.swift",
        "MacroError/MacroErrorHandling.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.