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 extract-case-value, reference main (542c66), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 06:28:17 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/fruitcoder/extract-case-value.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fruitcoder/extract-case-value
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 542c660 Merge branch 'main' of https://github.com/fruitcoder/extract-case-value into main
Cloned https://github.com/fruitcoder/extract-case-value.git
Revision (git rev-parse @):
542c660d65228656e792a871553d4a10a2f740e9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fruitcoder/extract-case-value.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.20s)
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 (3.47s)
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": "extract-case-value",
      "name": "ExtractCaseValue",
      "url": "https://github.com/fruitcoder/extract-case-value.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/extract-case-value",
      "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/fruitcoder/extract-case-value.git
[4/197] Fetching extract-case-value
Fetched https://github.com/fruitcoder/extract-case-value.git from cache (5.88s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.94s)
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/fruitcoder/extract-case-value.git
Working copy of https://github.com/fruitcoder/extract-case-value.git resolved at main (542c660)
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/fruitcoder/extract-case-value.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/21] Write sources
[14/21] Write ExtractCaseValueClient-entitlement.plist
[15/21] Write swift-version--7754E27361AE5C74.txt
[17/65] Compiling SwiftSyntax RawSyntaxTokenView.swift
[18/65] Compiling SwiftSyntax SourceLength.swift
[19/65] Compiling SwiftSyntax SourceLocation.swift
[20/65] Compiling SwiftSyntax SourcePresence.swift
[21/65] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[22/69] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[23/69] Compiling SwiftSyntax TokenDiagnostic.swift
[24/69] Compiling SwiftSyntax TokenSyntax.swift
[25/69] Compiling SwiftSyntax Trivia.swift
[26/69] Compiling SwiftSyntax Utils.swift
[27/69] Compiling SwiftSyntax Syntax.swift
[28/69] Compiling SwiftSyntax SyntaxArena.swift
[29/69] Compiling SwiftSyntax SyntaxChildren.swift
[30/69] Compiling SwiftSyntax SyntaxData.swift
[31/69] Compiling SwiftSyntax SyntaxText.swift
[32/69] Compiling SwiftSyntax SyntaxEnum.swift
[33/69] Compiling SwiftSyntax SyntaxKind.swift
[34/69] Compiling SwiftSyntax SyntaxRewriter.swift
[35/69] Compiling SwiftSyntax SyntaxTraits.swift
[36/69] Compiling SwiftSyntax SyntaxTransform.swift
[37/69] Compiling SwiftSyntax AbsolutePosition.swift
[38/69] Compiling SwiftSyntax Assert.swift
[39/69] Compiling SwiftSyntax BumpPtrAllocator.swift
[40/69] Compiling SwiftSyntax CommonAncestor.swift
[41/69] Compiling SwiftSyntax IncrementalParseTransition.swift
[42/69] Emitting module SwiftSyntax
[43/69] Compiling SwiftSyntax SyntaxVisitor.swift
[44/69] Compiling SwiftSyntax TokenKind.swift
[45/69] Compiling SwiftSyntax Tokens.swift
[46/69] Compiling SwiftSyntax TriviaPieces.swift
[47/69] Compiling SwiftSyntax MemoryLayout.swift
[48/69] Compiling SwiftSyntax MissingNodeInitializers.swift
[49/69] Compiling SwiftSyntax RawSyntax.swift
[50/69] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[51/69] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[52/69] Compiling SwiftSyntax SyntaxNodes.swift
[53/69] Compiling SwiftSyntax SyntaxPatternNodes.swift
[54/69] Compiling SwiftSyntax SyntaxStmtNodes.swift
[55/69] Compiling SwiftSyntax SyntaxTypeNodes.swift
[56/69] Compiling SwiftSyntax ChildNameForKeyPath.swift
[57/69] Compiling SwiftSyntax Keyword.swift
[58/69] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[59/69] Compiling SwiftSyntax SyntaxBaseNodes.swift
[60/69] Compiling SwiftSyntax SyntaxCollections.swift
[61/69] Compiling SwiftSyntax RawSyntaxNodes.swift
[62/69] Compiling SwiftSyntax RawSyntaxValidation.swift
[63/69] Compiling SwiftSyntax SyntaxDeclNodes.swift
[64/69] Compiling SwiftSyntax SyntaxExprNodes.swift
[65/117] Compiling SwiftDiagnostics Note.swift
[66/117] Compiling SwiftDiagnostics Diagnostic.swift
[67/117] Compiling SwiftBasicFormat BasicFormat+Extensions.swift
[68/117] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[69/117] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[70/117] Compiling SwiftDiagnostics Message.swift
[71/117] Emitting module SwiftDiagnostics
[72/117] Compiling SwiftDiagnostics FixIt.swift
[73/117] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[74/117] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[75/117] Compiling SwiftBasicFormat BasicFormat.swift
[76/117] Emitting module SwiftBasicFormat
[77/117] Compiling SwiftParser Types.swift
[78/117] Compiling SwiftParser DeclarationModifier.swift
[79/117] Compiling SwiftParser IsLexerClassified.swift
[80/117] Compiling SwiftParser StringLiterals.swift
[81/117] Compiling SwiftParser SyntaxUtils.swift
[82/117] Compiling SwiftParser TokenConsumer.swift
[83/117] Compiling SwiftParser TokenPrecedence.swift
[84/117] Compiling SwiftParser LexemeSequence.swift
[85/117] Compiling SwiftParser Lexer.swift
[86/117] Compiling SwiftParser RegexLiteralLexer.swift
[87/117] Compiling SwiftParser UnicodeScalarExtensions.swift
[88/120] Compiling SwiftParser Nominals.swift
[89/120] Compiling SwiftParser Parameters.swift
[90/120] Compiling SwiftParser Parser.swift
[91/120] Compiling SwiftParser Patterns.swift
[92/120] Compiling SwiftParser TokenSpec.swift
[93/120] Compiling SwiftParser TokenSpecSet.swift
[94/120] Compiling SwiftParser TopLevel.swift
[95/120] Compiling SwiftParser TriviaParser.swift
[96/120] Compiling SwiftParser Recovery.swift
[97/120] Compiling SwiftParser Specifiers.swift
[98/120] Compiling SwiftParser Statements.swift
[99/120] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[100/120] Compiling SwiftParser Lookahead.swift
[101/120] Compiling SwiftParser LoopProgressCondition.swift
[102/120] Compiling SwiftParser Modifiers.swift
[103/120] Compiling SwiftParser Names.swift
[104/120] Compiling SwiftParser Parser+Entry.swift
[105/120] Compiling SwiftParser TokenSpecStaticMembers.swift
[106/120] Compiling SwiftParser TypeAttribute.swift
[107/120] Emitting module SwiftParser
[108/120] Compiling SwiftParser Attributes.swift
[109/120] Compiling SwiftParser Availability.swift
[110/120] Compiling SwiftParser CharacterInfo.swift
[111/120] Compiling SwiftParser Declarations.swift
[112/120] Compiling SwiftParser Directives.swift
[113/120] Compiling SwiftParser Expressions.swift
[114/120] Compiling SwiftParser Cursor.swift
[115/120] Compiling SwiftParser Lexeme.swift
[116/143] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[117/144] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[118/144] Compiling SwiftOperators OperatorTable.swift
[119/145] Compiling SwiftOperators PrecedenceGraph.swift
[120/145] Compiling SwiftOperators PrecedenceGroup.swift
[121/145] Compiling SwiftOperators SyntaxSynthesis.swift
[122/145] Compiling SwiftOperators OperatorTable+Semantics.swift
[123/145] Compiling SwiftOperators Operator.swift
[124/145] Compiling SwiftOperators OperatorTable+Defaults.swift
[125/145] Compiling SwiftOperators OperatorError+Diagnostics.swift
[126/145] Compiling SwiftOperators OperatorError.swift
[127/145] Emitting module SwiftOperators
[128/145] Compiling SwiftOperators OperatorTable+Folding.swift
[129/145] Compiling SwiftParserDiagnostics Utils.swift
[130/145] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[131/145] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[132/145] Compiling SwiftParserDiagnostics PresenceUtils.swift
[133/145] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[134/145] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[135/145] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[136/145] Compiling SwiftParserDiagnostics MissingNodesError.swift
[137/145] Compiling SwiftParserDiagnostics MissingTokenError.swift
[138/145] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[139/145] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[140/145] Emitting module SwiftParserDiagnostics
[141/156] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[142/157] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[143/157] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[144/157] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[145/157] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[146/157] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[147/157] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[148/157] Compiling SwiftSyntaxBuilder Indenter.swift
[149/157] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[150/157] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[151/157] Emitting module SwiftSyntaxBuilder
[152/157] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[153/176] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[154/176] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[155/177] Compiling SwiftSyntaxMacros FunctionParameterUtils.swift
[156/177] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[157/177] Compiling SwiftSyntaxMacros Syntax+MacroEvaluation.swift
[158/177] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[159/177] Compiling SwiftSyntaxMacros BasicMacroExpansionContext.swift
[160/177] Emitting module SwiftSyntaxMacros
[161/177] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[162/177] Compiling SwiftSyntaxMacros Macro+Format.swift
[163/177] Compiling SwiftSyntaxMacros AccessorMacro.swift
[164/177] Compiling SwiftSyntaxMacros AttachedMacro.swift
[165/177] Compiling SwiftSyntaxMacros Macro.swift
[166/177] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[167/177] Compiling SwiftSyntaxMacros MemberMacro.swift
[168/177] Compiling SwiftSyntaxMacros PeerMacro.swift
[169/177] Compiling SwiftSyntaxMacros MacroReplacement.swift
[170/177] Compiling SwiftSyntaxMacros MacroSystem.swift
[171/177] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[172/177] Compiling SwiftSyntaxMacros ConformanceMacro.swift
[173/179] Emitting module SwiftSyntaxMacroExpansion
[174/179] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[175/185] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[176/185] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[177/185] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[178/185] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[179/185] Emitting module SwiftCompilerPluginMessageHandling
[180/185] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[181/187] Emitting module SwiftCompilerPlugin
[182/187] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[183/193] Compiling ExtractCaseValueMacros Plugin.swift
[184/193] Compiling ExtractCaseValueMacros SwiftSyntax+Extensions.swift
[185/193] Compiling ExtractCaseValueMacros CaseExtractionKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// The available kinds of case value extractions.
 4 | public enum CaseExtractionKind {
   |             `- note: consider making enum 'CaseExtractionKind' conform to the 'Sendable' protocol
 5 |   /// Extract a value at a position in the associated values.
 6 |   case position(Int)
   :
12 |   case firstMatchingType
13 |
14 |   public static let `default` = Self.firstMatchingType
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' 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
15 | }
16 |
[186/193] Compiling ExtractCaseValueMacros Diagnostics.swift
[187/193] Emitting module ExtractCaseValueMacros
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// The available kinds of case value extractions.
 4 | public enum CaseExtractionKind {
   |             `- note: consider making enum 'CaseExtractionKind' conform to the 'Sendable' protocol
 5 |   /// Extract a value at a position in the associated values.
 6 |   case position(Int)
   :
12 |   case firstMatchingType
13 |
14 |   public static let `default` = Self.firstMatchingType
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' 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
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:13:5: warning: let 'defaultExtractionKind' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | // default values
 13 | let defaultExtractionKind = CaseExtractionKind.default
    |     |- warning: let 'defaultExtractionKind' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'defaultExtractionKind' 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
 14 |
 15 | public struct ExtractCaseValueMacro {}
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:4:13: note: consider making enum 'CaseExtractionKind' conform to the 'Sendable' protocol
 2 |
 3 | /// The available kinds of case value extractions.
 4 | public enum CaseExtractionKind {
   |             `- note: consider making enum 'CaseExtractionKind' conform to the 'Sendable' protocol
 5 |   /// Extract a value at a position in the associated values.
 6 |   case position(Int)
[188/193] Compiling ExtractCaseValueMacros ExtractCaseValueMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:13:5: warning: let 'defaultExtractionKind' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | // default values
 13 | let defaultExtractionKind = CaseExtractionKind.default
    |     |- warning: let 'defaultExtractionKind' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'defaultExtractionKind' 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
 14 |
 15 | public struct ExtractCaseValueMacro {}
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:4:13: note: consider making enum 'CaseExtractionKind' conform to the 'Sendable' protocol
 2 |
 3 | /// The available kinds of case value extractions.
 4 | public enum CaseExtractionKind {
   |             `- note: consider making enum 'CaseExtractionKind' conform to the 'Sendable' protocol
 5 |   /// Extract a value at a position in the associated values.
 6 |   case position(Int)
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:14:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// The available kinds of case value extractions.
 4 | public enum CaseExtractionKind {
   |             `- note: consider making enum 'CaseExtractionKind' conform to the 'Sendable' protocol
 5 |   /// Extract a value at a position in the associated values.
 6 |   case position(Int)
   :
12 |   case firstMatchingType
13 |
14 |   public static let `default` = Self.firstMatchingType
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CaseExtractionKind' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: annotate 'default' 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
15 | }
16 |
[188/193] Write Objects.LinkFileList
[189/193] Linking ExtractCaseValueMacros-tool
error: emit-module command failed with exit code 1 (use -v to see invocation)
[191/195] Emitting module ExtractCaseValue
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValue/ExtractCaseValue.swift:1:8: error: no such module 'ExtractCaseValueMacros'
 1 | import ExtractCaseValueMacros
   |        `- error: no such module 'ExtractCaseValueMacros'
 2 |
 3 | /// A macro that extracts an associated value from enum cases using a default value if
[192/195] Compiling ExtractCaseValue ExtractCaseValue.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValue/ExtractCaseValue.swift:1:8: error: no such module 'ExtractCaseValueMacros'
 1 | import ExtractCaseValueMacros
   |        `- error: no such module 'ExtractCaseValueMacros'
 2 |
 3 | /// A macro that extracts an associated value from enum cases using a default value if
note: module 'ExtractCaseValueMacros' is a macro, and cannot be imported by tests and other targets
note: module 'ExtractCaseValueMacros' is a macro, and cannot be imported by tests and other targets
BUILD FAILURE 6.0 macosSpm