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 SwiftFixture, reference main (5b68b0), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 08:04:24 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/liamnichols/swift-fixture.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/liamnichols/swift-fixture
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5b68b05 Add `#fixture` and `#register` macros (#18)
Cloned https://github.com/liamnichols/swift-fixture.git
Revision (git rev-parse @):
5b68b057ff09889c8733d4bd3d03df3acd6f767e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liamnichols/swift-fixture.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.34s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a (0.85s)
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-swift-DEVELOPMENT-SNAPSHOT-2023-06-05-a
========================================
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": "swift-fixture",
      "name": "SwiftFixture",
      "url": "https://github.com/liamnichols/swift-fixture.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-fixture",
      "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/liamnichols/swift-fixture.git
[1/482] Fetching swift-fixture
Fetched https://github.com/liamnichols/swift-fixture.git from cache (0.76s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.98s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.73s)
Creating working copy for https://github.com/liamnichols/swift-fixture.git
Working copy of https://github.com/liamnichols/swift-fixture.git resolved at main (5b68b05)
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
warning: '.resolve-product-dependencies': dependency 'swift-fixture' 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/liamnichols/swift-fixture.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/16] Write sources
[13/16] Write swift-version--7754E27361AE5C74.txt
[15/60] Compiling SwiftSyntax RawSyntaxTokenView.swift
[16/60] Compiling SwiftSyntax SourceLength.swift
[17/60] Compiling SwiftSyntax SourceLocation.swift
[18/60] Compiling SwiftSyntax SourcePresence.swift
[19/60] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[20/64] Compiling SwiftSyntax AbsolutePosition.swift
[21/64] Compiling SwiftSyntax Assert.swift
[22/64] Compiling SwiftSyntax BumpPtrAllocator.swift
[23/64] Compiling SwiftSyntax CommonAncestor.swift
[24/64] Compiling SwiftSyntax IncrementalParseTransition.swift
[25/64] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[26/64] Compiling SwiftSyntax TokenDiagnostic.swift
[27/64] Compiling SwiftSyntax TokenSyntax.swift
[28/64] Compiling SwiftSyntax Trivia.swift
[29/64] Compiling SwiftSyntax Utils.swift
[30/64] Compiling SwiftSyntax MemoryLayout.swift
[31/64] Compiling SwiftSyntax MissingNodeInitializers.swift
[32/64] Compiling SwiftSyntax RawSyntax.swift
[33/64] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[34/64] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[35/64] Compiling SwiftSyntax Syntax.swift
[36/64] Compiling SwiftSyntax SyntaxArena.swift
[37/64] Compiling SwiftSyntax SyntaxChildren.swift
[38/64] Compiling SwiftSyntax SyntaxData.swift
[39/64] Compiling SwiftSyntax SyntaxText.swift
[40/64] Compiling SwiftSyntax SyntaxVisitor.swift
[41/64] Compiling SwiftSyntax TokenKind.swift
[42/64] Compiling SwiftSyntax Tokens.swift
[43/64] Compiling SwiftSyntax TriviaPieces.swift
[44/64] Compiling SwiftSyntax SyntaxEnum.swift
[45/64] Compiling SwiftSyntax SyntaxKind.swift
[46/64] Compiling SwiftSyntax SyntaxRewriter.swift
[47/64] Compiling SwiftSyntax SyntaxTraits.swift
[48/64] Compiling SwiftSyntax SyntaxTransform.swift
[49/64] Emitting module SwiftSyntax
[50/64] Compiling SwiftSyntax ChildNameForKeyPath.swift
[51/64] Compiling SwiftSyntax Keyword.swift
[52/64] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[53/64] Compiling SwiftSyntax SyntaxBaseNodes.swift
[54/64] Compiling SwiftSyntax SyntaxCollections.swift
[55/64] Compiling SwiftSyntax SyntaxNodes.swift
[56/64] Compiling SwiftSyntax SyntaxPatternNodes.swift
[57/64] Compiling SwiftSyntax SyntaxStmtNodes.swift
[58/64] Compiling SwiftSyntax SyntaxTypeNodes.swift
[59/64] Compiling SwiftSyntax RawSyntaxNodes.swift
[60/64] Compiling SwiftSyntax RawSyntaxValidation.swift
[61/64] Compiling SwiftSyntax SyntaxDeclNodes.swift
[62/64] Compiling SwiftSyntax SyntaxExprNodes.swift
[63/112] Compiling SwiftDiagnostics Note.swift
[64/112] Compiling SwiftDiagnostics Message.swift
[65/112] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[66/112] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[67/112] Compiling SwiftBasicFormat BasicFormat+Extensions.swift
[68/112] Compiling SwiftDiagnostics FixIt.swift
[69/112] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[70/112] Compiling SwiftDiagnostics Diagnostic.swift
[71/112] Emitting module SwiftDiagnostics
[72/112] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[73/112] Emitting module SwiftBasicFormat
[74/112] Compiling SwiftBasicFormat BasicFormat.swift
[75/112] Compiling SwiftParser StringLiterals.swift
[76/112] Compiling SwiftParser SyntaxUtils.swift
[77/112] Compiling SwiftParser TokenConsumer.swift
[78/112] Compiling SwiftParser TokenPrecedence.swift
[79/115] Compiling SwiftParser Types.swift
[80/115] Compiling SwiftParser DeclarationModifier.swift
[81/115] Compiling SwiftParser IsLexerClassified.swift
[82/115] Compiling SwiftParser Nominals.swift
[83/115] Compiling SwiftParser Parameters.swift
[84/115] Compiling SwiftParser Parser.swift
[85/115] Compiling SwiftParser Patterns.swift
[86/115] Compiling SwiftParser Lookahead.swift
[87/115] Compiling SwiftParser LoopProgressCondition.swift
[88/115] Compiling SwiftParser Modifiers.swift
[89/115] Compiling SwiftParser Names.swift
[90/115] Compiling SwiftParser Parser+Entry.swift
[91/115] Compiling SwiftParser TokenSpecStaticMembers.swift
[92/115] Compiling SwiftParser TypeAttribute.swift
[93/115] Compiling SwiftParser TokenSpec.swift
[94/115] Compiling SwiftParser TokenSpecSet.swift
[95/115] Compiling SwiftParser TopLevel.swift
[96/115] Compiling SwiftParser TriviaParser.swift
[97/115] Compiling SwiftParser Recovery.swift
[98/115] Compiling SwiftParser Specifiers.swift
[99/115] Compiling SwiftParser Statements.swift
[100/115] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[101/115] Emitting module SwiftParser
[102/115] Compiling SwiftParser LexemeSequence.swift
[103/115] Compiling SwiftParser Lexer.swift
[104/115] Compiling SwiftParser RegexLiteralLexer.swift
[105/115] Compiling SwiftParser UnicodeScalarExtensions.swift
[106/115] Compiling SwiftParser Attributes.swift
[107/115] Compiling SwiftParser Availability.swift
[108/115] Compiling SwiftParser CharacterInfo.swift
[109/115] Compiling SwiftParser Declarations.swift
[110/115] Compiling SwiftParser Directives.swift
[111/115] Compiling SwiftParser Expressions.swift
[112/115] Compiling SwiftParser Cursor.swift
[113/115] Compiling SwiftParser Lexeme.swift
[114/138] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[115/139] Compiling SwiftOperators PrecedenceGroup.swift
[116/140] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[117/140] Compiling SwiftOperators OperatorTable.swift
[118/140] Compiling SwiftOperators PrecedenceGraph.swift
[119/140] Compiling SwiftOperators SyntaxSynthesis.swift
[120/140] Compiling SwiftOperators OperatorTable+Semantics.swift
[121/140] Compiling SwiftOperators OperatorTable+Defaults.swift
[122/140] Compiling SwiftOperators Operator.swift
[123/140] Compiling SwiftOperators OperatorError.swift
[124/140] Compiling SwiftOperators OperatorError+Diagnostics.swift
[125/140] Emitting module SwiftOperators
[126/140] Compiling SwiftOperators OperatorTable+Folding.swift
[127/140] Compiling SwiftParserDiagnostics PresenceUtils.swift
[128/140] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[129/140] Compiling SwiftParserDiagnostics Utils.swift
[130/140] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[131/140] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[132/140] Compiling SwiftParserDiagnostics MissingNodesError.swift
[133/140] Compiling SwiftParserDiagnostics MissingTokenError.swift
[134/140] Emitting module SwiftParserDiagnostics
[135/140] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[136/140] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[137/140] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[138/140] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[139/151] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[140/152] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[141/152] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[142/152] Compiling SwiftSyntaxBuilder Indenter.swift
[143/152] Emitting module SwiftSyntaxBuilder
[144/152] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[145/152] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[146/152] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[147/152] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[148/152] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[149/152] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[150/152] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[151/171] Compiling SwiftSyntaxMacros MemberMacro.swift
[152/171] Compiling SwiftSyntaxMacros PeerMacro.swift
[153/171] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[154/171] Compiling SwiftSyntaxMacros ConformanceMacro.swift
[155/171] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[156/171] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[157/172] Compiling SwiftSyntaxMacros Syntax+MacroEvaluation.swift
[158/172] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[159/172] Compiling SwiftSyntaxMacros BasicMacroExpansionContext.swift
[160/172] Emitting module SwiftSyntaxMacros
[161/172] Compiling SwiftSyntaxMacros Macro.swift
[162/172] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[163/172] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[164/172] Compiling SwiftSyntaxMacros Macro+Format.swift
[165/172] Compiling SwiftSyntaxMacros FunctionParameterUtils.swift
[166/172] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[167/172] Compiling SwiftSyntaxMacros MacroReplacement.swift
[168/172] Compiling SwiftSyntaxMacros MacroSystem.swift
[169/172] Compiling SwiftSyntaxMacros AccessorMacro.swift
[170/172] Compiling SwiftSyntaxMacros AttachedMacro.swift
[171/174] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[172/174] Emitting module SwiftSyntaxMacroExpansion
[173/180] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[174/180] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[175/180] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[176/180] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[177/180] Emitting module SwiftCompilerPluginMessageHandling
[178/180] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[179/182] Emitting module SwiftCompilerPlugin
[180/182] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[181/194] Compiling SwiftFixtureMacros DiagnosticMessages.swift
[182/195] Compiling SwiftFixtureMacros Plugin.swift
[183/195] Compiling SwiftFixtureMacros ClosureExprSyntax+Convenience.swift
[184/195] Compiling SwiftFixtureMacros DiagnosticMessage+Diagnostic.swift
[185/195] Compiling SwiftFixtureMacros FunctionCallExprSyntax+Multiline.swift
[186/195] Compiling SwiftFixtureMacros DeclNameArgumentsSyntax+Convenience.swift
[187/195] Compiling SwiftFixtureMacros ExprSyntaxProtocol+Convenience.swift
[188/195] Compiling SwiftFixtureMacros MacroExpansionExprSyntax+Convenience.swift
[189/195] Compiling SwiftFixtureMacros FixtureMacro.swift
[190/195] Compiling SwiftFixtureMacros InitFixtureMacro.swift
[191/195] Emitting module SwiftFixtureMacros
[192/195] Compiling SwiftFixtureMacros ProvideFixtureMacro.swift
[193/195] Compiling SwiftFixtureMacros RegisterMacro.swift
[193/195] Write Objects.LinkFileList
[194/195] Linking SwiftFixtureMacros-tool
[196/203] Compiling SwiftFixture ValueProvider.swift
[197/203] Compiling SwiftFixture ResolutionError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFixture/ResolutionError.swift:9:10: warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// An override was provided but the type did not match the requirement of the fixture.
 9 |     case overrideTypeMismatch(String, Any, Any.Type)
   |          `- warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 |     /// An override was specified at the call site but was not used by the fixture value provider.
[198/203] Compiling SwiftFixture OptionalProtocol.swift
[199/203] Compiling SwiftFixture FixtureProviding.swift
[200/203] Compiling SwiftFixture Macros.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:20:2: error: conformance macros are replaced by extension macros
 18 | /// While this macro offers the most convenience for managing fixture values, it requires that the macro is attached to the member declaration and not an extension. This limitation requires that SwiftFixture is included as a dependency of your main targets which is less than ideal. If you prefer not to do this, consider using the ``fixture(_:)`` macro instead.
 19 | @attached(member, names: named(provideFixture))
 20 | @attached(conformance)
    |  `- error: conformance macros are replaced by extension macros
 21 | public macro ProvideFixture() = #externalMacro(
 22 |     module: "SwiftFixtureMacros",
error: emit-module command failed with exit code 1 (use -v to see invocation)
[201/203] Compiling SwiftFixture Fixture.swift
[202/203] Emitting module SwiftFixture
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFixture/Macros.swift:20:2: error: conformance macros are replaced by extension macros
 18 | /// While this macro offers the most convenience for managing fixture values, it requires that the macro is attached to the member declaration and not an extension. This limitation requires that SwiftFixture is included as a dependency of your main targets which is less than ideal. If you prefer not to do this, consider using the ``fixture(_:)`` macro instead.
 19 | @attached(member, names: named(provideFixture))
 20 | @attached(conformance)
    |  `- error: conformance macros are replaced by extension macros
 21 | public macro ProvideFixture() = #externalMacro(
 22 |     module: "SwiftFixtureMacros",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFixture/ResolutionError.swift:9:10: warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
 7 |
 8 |     /// An override was provided but the type did not match the requirement of the fixture.
 9 |     case overrideTypeMismatch(String, Any, Any.Type)
   |          `- warning: associated value 'overrideTypeMismatch' of 'Sendable'-conforming enum 'ResolutionError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
10 |
11 |     /// An override was specified at the call site but was not used by the fixture value provider.
[203/203] Compiling SwiftFixture Fixture+DefaultProviders.swift
BUILD FAILURE 6.0 macosSpm