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

Failed to build KochavaMacros, reference main (903984), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 17:44:27 UTC.

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/Kochava/Apple-SwiftPackage-KochavaMacros.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9039840 Updated README.md
Cloned https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.git
Revision (git rev-parse @):
903984094695b355a35d9c724294178a29ce92bc
SUCCESS checkout https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.git at main
Fetching https://github.com/apple/swift-syntax.git
[1/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.50s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (3.29s)
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.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "apple-swiftpackage-kochavamacros",
      "name": "KochavaMacros",
      "url": "https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Apple-SwiftPackage-KochavaMacros",
      "dependencies": [
        {
          "identity": "swift-syntax",
          "name": "swift-syntax",
          "url": "https://github.com/apple/swift-syntax.git",
          "version": "509.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.git
[1/42] Fetching apple-swiftpackage-kochavamacros
Fetched https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.git from cache (0.70s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.97s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.70s)
Creating working copy for https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.git
Working copy of https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.git resolved at main (9039840)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Found 1 product dependencies
  - swift-syntax
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/Kochava/Apple-SwiftPackage-KochavaMacros.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/22] Write sources
[14/22] Write KochavaMacrosClient-entitlement.plist
[15/22] Write sources
[16/22] Write swift-version--7754E27361AE5C74.txt
[18/24] Emitting module SwiftSyntax509
[19/24] Compiling SwiftSyntax509 Empty.swift
[20/70] Compiling SwiftSyntax RawSyntaxTokenView.swift
[21/70] Compiling SwiftSyntax SourceLength.swift
[22/70] Compiling SwiftSyntax SourceLocation.swift
[23/70] Compiling SwiftSyntax SourcePresence.swift
[24/70] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[25/75] Compiling SwiftSyntax AbsolutePosition.swift
[26/75] Compiling SwiftSyntax Assert.swift
[27/75] Compiling SwiftSyntax BumpPtrAllocator.swift
[28/75] Compiling SwiftSyntax CommonAncestor.swift
[29/75] Compiling SwiftSyntax Convenience.swift
[30/75] Compiling SwiftSyntax SyntaxText.swift
[31/75] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[32/75] Compiling SwiftSyntax TokenDiagnostic.swift
[33/75] Compiling SwiftSyntax TokenSyntax.swift
[34/75] Compiling SwiftSyntax Trivia.swift
[35/75] Emitting module SwiftSyntax
[36/75] Compiling SwiftSyntax Syntax.swift
[37/75] Compiling SwiftSyntax SyntaxArena.swift
[38/75] Compiling SwiftSyntax SyntaxChildren.swift
[39/75] Compiling SwiftSyntax SyntaxCollection.swift
[40/75] Compiling SwiftSyntax SyntaxData.swift
[41/75] Compiling SwiftSyntax Utils.swift
[42/75] Compiling SwiftSyntax ChildNameForKeyPath.swift
[43/75] Compiling SwiftSyntax Keyword.swift
[44/75] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[45/75] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[46/75] Compiling SwiftSyntax Tokens.swift
[47/75] Compiling SwiftSyntax TriviaPieces.swift
[48/75] Compiling SwiftSyntax RawSyntaxNodes.swift
[49/75] Compiling SwiftSyntax RawSyntaxValidation.swift
[50/75] Compiling SwiftSyntax SyntaxDeclNodes.swift
[51/75] Compiling SwiftSyntax MemoryLayout.swift
[52/75] Compiling SwiftSyntax MissingNodeInitializers.swift
[53/75] Compiling SwiftSyntax RawSyntax.swift
[54/75] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[55/75] Compiling SwiftSyntax RawSyntaxNodeProtocol.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 SyntaxRewriter.swift
[62/75] Compiling SwiftSyntax SyntaxTraits.swift
[63/75] Compiling SwiftSyntax SyntaxTransform.swift
[64/75] Compiling SwiftSyntax SyntaxVisitor.swift
[65/75] Compiling SwiftSyntax TokenKind.swift
[66/75] Compiling SwiftSyntax SyntaxExprNodes.swift
[67/75] Compiling SwiftSyntax SyntaxNodes.swift
[68/75] Compiling SwiftSyntax SyntaxPatternNodes.swift
[69/75] Compiling SwiftSyntax SyntaxStmtNodes.swift
[70/75] Compiling SwiftSyntax SyntaxTypeNodes.swift
[71/127] Compiling SwiftDiagnostics Message.swift
[72/127] Compiling SwiftDiagnostics Note.swift
[73/127] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[74/127] Compiling SwiftBasicFormat Syntax+Extensions.swift
[75/127] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[76/127] Compiling SwiftDiagnostics FixIt.swift
[77/127] Compiling SwiftDiagnostics Diagnostic.swift
[78/127] Emitting module SwiftDiagnostics
[79/127] Compiling SwiftDiagnostics Convenience.swift
[80/127] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[81/127] Compiling SwiftDiagnostics GroupedDiagnostics.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/127] Compiling SwiftParser UnicodeScalarExtensions.swift
[89/127] Compiling SwiftParser Lookahead.swift
[90/127] Compiling SwiftParser LoopProgressCondition.swift
[91/127] Compiling SwiftParser Modifiers.swift
[92/127] Compiling SwiftParser Statements.swift
[93/127] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[94/127] Compiling SwiftParser StringLiterals.swift
[95/127] Compiling SwiftParser SwiftParserCompatibility.swift
[96/127] Compiling SwiftParser Lexeme.swift
[97/127] Compiling SwiftParser LexemeSequence.swift
[98/127] Compiling SwiftParser Lexer.swift
[99/127] Compiling SwiftParser RegexLiteralLexer.swift
[100/131] Compiling SwiftParser Names.swift
[101/131] Compiling SwiftParser Nominals.swift
[102/131] Compiling SwiftParser Parameters.swift
[103/131] Compiling SwiftParser ParseSourceFile.swift
[104/131] Compiling SwiftParser TokenSpecSet.swift
[105/131] Compiling SwiftParser TopLevel.swift
[106/131] Compiling SwiftParser TriviaParser.swift
[107/131] Compiling SwiftParser Types.swift
[108/131] Emitting module SwiftParser
[109/131] Compiling SwiftParser IsLexerClassified.swift
[110/131] Compiling SwiftParser LayoutNodes+Parsable.swift
[111/131] Compiling SwiftParser Parser+TokenSpecSet.swift
[112/131] Compiling SwiftParser TokenSpecStaticMembers.swift
[113/131] Compiling SwiftParser Parser.swift
[114/131] Compiling SwiftParser Patterns.swift
[115/131] Compiling SwiftParser Recovery.swift
[116/131] Compiling SwiftParser Specifiers.swift
[117/131] Compiling SwiftParser Attributes.swift
[118/131] Compiling SwiftParser Availability.swift
[119/131] Compiling SwiftParser CharacterInfo.swift
[120/131] Compiling SwiftParser CollectionNodes+Parsable.swift
[121/131] Compiling SwiftParser Declarations.swift
[122/131] Compiling SwiftParser Directives.swift
[123/131] Compiling SwiftParser ExperimentalFeatures.swift
[124/131] Compiling SwiftParser Expressions.swift
[125/131] Compiling SwiftParser IncrementalParseTransition.swift
[126/131] Compiling SwiftParser Cursor.swift
[127/154] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[128/155] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[129/155] Compiling SwiftOperators OperatorTable.swift
[130/156] Compiling SwiftOperators PrecedenceGroup.swift
[131/156] Compiling SwiftOperators OperatorTable+Defaults.swift
[132/156] Compiling SwiftOperators PrecedenceGraph.swift
[133/156] Compiling SwiftOperators SyntaxSynthesis.swift
[134/156] Compiling SwiftOperators OperatorTable+Semantics.swift
[135/156] Compiling SwiftOperators Operator.swift
[136/156] Compiling SwiftOperators OperatorTable+Folding.swift
[137/156] Emitting module SwiftOperators
[138/156] Compiling SwiftOperators OperatorError.swift
[139/156] Compiling SwiftOperators OperatorError+Diagnostics.swift
[140/156] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[141/156] Compiling SwiftParserDiagnostics PresenceUtils.swift
[142/156] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[143/156] Compiling SwiftParserDiagnostics Utils.swift
[144/156] Compiling SwiftParserDiagnostics MissingNodesError.swift
[145/156] Compiling SwiftParserDiagnostics MissingTokenError.swift
[146/156] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[147/156] Emitting module SwiftParserDiagnostics
[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 WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[153/171] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[154/171] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[155/171] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[156/171] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[157/171] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[158/171] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[159/171] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[160/171] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[161/171] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[162/171] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[163/171] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[164/171] Emitting module SwiftSyntaxBuilder
[165/171] Compiling SwiftSyntaxBuilder Indenter.swift
[166/171] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[167/185] Compiling SwiftSyntaxMacros Macro.swift
[168/186] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[169/186] Compiling SwiftSyntaxMacros MemberMacro.swift
[170/186] Compiling SwiftSyntaxMacros Macro+Format.swift
[171/186] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[172/186] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[173/186] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[174/186] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[175/186] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[176/186] Emitting module SwiftSyntaxMacros
[177/186] Compiling SwiftSyntaxMacros AccessorMacro.swift
[178/186] Compiling SwiftSyntaxMacros AttachedMacro.swift
[179/186] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[180/186] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[181/186] Compiling SwiftSyntaxMacros PeerMacro.swift
[182/194] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[183/194] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[184/194] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[185/194] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[186/194] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[187/194] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[188/194] Emitting module SwiftSyntaxMacroExpansion
[189/194] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[190/201] Emitting module SwiftCompilerPluginMessageHandling
[191/201] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[192/201] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[193/201] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[194/201] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[195/201] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[196/201] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[197/203] Emitting module SwiftCompilerPlugin
[198/203] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[199/205] Emitting module KochavaMacrosMacros
[200/205] Compiling KochavaMacrosMacros KochavaNetworkingMacrosMacro.swift
[200/205] Write Objects.LinkFileList
[201/205] Linking KochavaMacrosMacros-tool
[203/207] Compiling KochavaMacros KochavaNetworkingMacros.swift
[204/207] Emitting module KochavaMacros
[205/209] Emitting module KochavaMacrosClient
[206/209] Compiling KochavaMacrosClient main.swift
macro expansion #let_execution_synchronize:2:1: error: expected macro expansion to produce a declaration
`- /Users/admin/builder/spi-builder-workspace/Sources/KochavaMacrosClient/main.swift:15:51: note: expanded code originates here
13 |     func evaluate()
14 |     {
15 |         #let_execution_synchronize(executor: self)
   +--- macro expansion #let_execution_synchronize ---------------------
   |1 | let execution = self.execution
   |2 | execution.lock()
   |  | `- error: expected macro expansion to produce a declaration
   |3 | defer { execution.unlock() }
   +--------------------------------------------------------------------
16 |
17 |         print("doing something")
macro expansion #let_execution_synchronize:3:1: error: expected macro expansion to produce a declaration
`- /Users/admin/builder/spi-builder-workspace/Sources/KochavaMacrosClient/main.swift:15:51: note: expanded code originates here
13 |     func evaluate()
14 |     {
15 |         #let_execution_synchronize(executor: self)
   +--- macro expansion #let_execution_synchronize ---------------------
   |1 | let execution = self.execution
   |2 | execution.lock()
   |3 | defer { execution.unlock() }
   |  | `- error: expected macro expansion to produce a declaration
   +--------------------------------------------------------------------
16 |
17 |         print("doing something")
macro expansion #let_execution_synchronize:1:5: warning: initialization of immutable value 'execution' was never used; consider replacing with assignment to '_' or removing it
`- /Users/admin/builder/spi-builder-workspace/Sources/KochavaMacrosClient/main.swift:15:51: note: expanded code originates here
13 |     func evaluate()
14 |     {
15 |         #let_execution_synchronize(executor: self)
   +--- macro expansion #let_execution_synchronize ---------------------
   |1 | let execution = self.execution
   |  |     `- warning: initialization of immutable value 'execution' was never used; consider replacing with assignment to '_' or removing it
   |2 | execution.lock()
   |3 | defer { execution.unlock() }
   +--------------------------------------------------------------------
16 |
17 |         print("doing something")
BUILD FAILURE 6.0 macosSpm