Build Information
Failed to build extract-case-value, reference 0.0.2 (a3e2a8), with Swift 6.2 for macOS (SPM) on 20 Jun 2025 06:21:12 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fruitcoder/extract-case-value.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/fruitcoder/extract-case-value
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at a3e2a89 Add .spi.yml for swift package index
Cloned https://github.com/fruitcoder/extract-case-value.git
Revision (git rev-parse @):
a3e2a89810b27983c4fdd7451c1e55583d519d8b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fruitcoder/extract-case-value.git at 0.0.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/fruitcoder/extract-case-value.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Write sources
[2/22] Write ExtractCaseValueClient-entitlement.plist
[4/22] Write sources
[16/22] Write swift-version-1EA4D86E10B52AF.txt
[18/24] Compiling SwiftSyntax509 Empty.swift
[19/24] Emitting module SwiftSyntax509
[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 RawSyntaxTokenView.swift
[26/75] Compiling SwiftSyntax SourceLength.swift
[27/75] Compiling SwiftSyntax SourceLocation.swift
[28/75] Compiling SwiftSyntax SourcePresence.swift
[29/75] Compiling SwiftSyntax SwiftSyntaxCompatibility.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] Compiling SwiftSyntax Syntax.swift
[36/75] Compiling SwiftSyntax SyntaxArena.swift
[37/75] Compiling SwiftSyntax SyntaxChildren.swift
[38/75] Compiling SwiftSyntax SyntaxCollection.swift
[39/75] Compiling SwiftSyntax SyntaxData.swift
[40/75] Emitting module SwiftSyntax
[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 MemoryLayout.swift
[47/75] Compiling SwiftSyntax MissingNodeInitializers.swift
[48/75] Compiling SwiftSyntax RawSyntax.swift
[49/75] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[50/75] Compiling SwiftSyntax RawSyntaxNodeProtocol.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 Tokens.swift
[62/75] Compiling SwiftSyntax TriviaPieces.swift
[63/75] Compiling SwiftSyntax RawSyntaxNodes.swift
[64/75] Compiling SwiftSyntax RawSyntaxValidation.swift
[65/75] Compiling SwiftSyntax SyntaxDeclNodes.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 SwiftDiagnostics Note.swift
[73/127] Compiling SwiftDiagnostics Message.swift
[74/127] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[75/127] Emitting module SwiftDiagnostics
[76/127] Compiling SwiftDiagnostics FixIt.swift
[77/127] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[78/127] Compiling SwiftDiagnostics Convenience.swift
[79/127] Compiling SwiftDiagnostics Diagnostic.swift
[80/127] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[81/127] Compiling SwiftBasicFormat Syntax+Extensions.swift
[82/127] Emitting module SwiftBasicFormat
[83/127] Compiling SwiftBasicFormat BasicFormat.swift
[84/127] Compiling SwiftParser Statements.swift
[85/127] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[86/127] Compiling SwiftParser StringLiterals.swift
[87/127] Compiling SwiftParser SwiftParserCompatibility.swift
[88/131] Compiling SwiftParser Lexeme.swift
[89/131] Compiling SwiftParser LexemeSequence.swift
[90/131] Compiling SwiftParser Lexer.swift
[91/131] Compiling SwiftParser RegexLiteralLexer.swift
[92/131] Compiling SwiftParser UnicodeScalarExtensions.swift
[93/131] Compiling SwiftParser Lookahead.swift
[94/131] Compiling SwiftParser LoopProgressCondition.swift
[95/131] Compiling SwiftParser Modifiers.swift
[96/131] Compiling SwiftParser Names.swift
[97/131] Compiling SwiftParser Nominals.swift
[98/131] Compiling SwiftParser Parameters.swift
[99/131] Compiling SwiftParser ParseSourceFile.swift
[100/131] Compiling SwiftParser Parser.swift
[101/131] Compiling SwiftParser Patterns.swift
[102/131] Compiling SwiftParser Recovery.swift
[103/131] Compiling SwiftParser Specifiers.swift
[104/131] Compiling SwiftParser SyntaxUtils.swift
[105/131] Compiling SwiftParser TokenConsumer.swift
[106/131] Compiling SwiftParser TokenPrecedence.swift
[107/131] Compiling SwiftParser TokenSpec.swift
[108/131] Compiling SwiftParser TokenSpecSet.swift
[109/131] Compiling SwiftParser TopLevel.swift
[110/131] Compiling SwiftParser TriviaParser.swift
[111/131] Compiling SwiftParser Types.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] Compiling SwiftParser IsLexerClassified.swift
[118/131] Compiling SwiftParser LayoutNodes+Parsable.swift
[119/131] Compiling SwiftParser Parser+TokenSpecSet.swift
[120/131] Compiling SwiftParser TokenSpecStaticMembers.swift
[121/131] Emitting module SwiftParser
[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 SwiftOperators PrecedenceGroup.swift
[129/155] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[130/156] Compiling SwiftOperators OperatorTable.swift
[131/156] Compiling SwiftOperators PrecedenceGraph.swift
[132/156] Compiling SwiftParserDiagnostics PresenceUtils.swift
[133/156] Compiling SwiftOperators SyntaxSynthesis.swift
[134/156] Compiling SwiftOperators OperatorError+Diagnostics.swift
[135/156] Compiling SwiftOperators OperatorError.swift
[136/156] Compiling SwiftOperators OperatorTable+Semantics.swift
[137/156] Compiling SwiftOperators OperatorTable+Defaults.swift
[138/156] Compiling SwiftOperators Operator.swift
[139/156] Emitting module SwiftOperators
[140/156] Compiling SwiftOperators OperatorTable+Folding.swift
[141/156] Compiling SwiftParserDiagnostics Utils.swift
[142/156] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[143/156] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[144/156] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[145/156] Emitting module SwiftParserDiagnostics
[146/156] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/156] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/156] Compiling SwiftParserDiagnostics MissingNodesError.swift
[149/156] Compiling SwiftParserDiagnostics MissingTokenError.swift
[150/156] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[151/156] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[152/170] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[153/170] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[154/170] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[155/170] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[156/170] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[157/171] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[158/171] Compiling SwiftSyntaxBuilder Indenter.swift
[159/171] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[160/171] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[161/171] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[162/171] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[163/171] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[164/171] Emitting module SwiftSyntaxBuilder
[165/171] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[166/171] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[167/185] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[168/186] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[169/186] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[170/186] Compiling SwiftSyntaxMacros AccessorMacro.swift
[171/186] Compiling SwiftSyntaxMacros AttachedMacro.swift
[172/186] Compiling SwiftSyntaxMacros Macro+Format.swift
[173/186] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[174/186] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[175/186] Compiling SwiftSyntaxMacros Macro.swift
[176/186] Compiling SwiftSyntaxMacros MemberMacro.swift
[177/186] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[178/186] Emitting module SwiftSyntaxMacros
[179/186] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[180/186] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[181/186] Compiling SwiftSyntaxMacros PeerMacro.swift
[182/194] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[183/194] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[184/194] Emitting module SwiftSyntaxMacroExpansion
[185/194] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[186/194] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[187/194] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[188/194] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[189/194] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[190/201] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[191/201] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[192/201] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[193/201] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[194/201] Emitting module SwiftCompilerPluginMessageHandling
[195/201] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[196/201] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[197/203] Emitting module SwiftCompilerPlugin
[198/203] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[199/209] Compiling ExtractCaseValueMacros Plugin.swift
[200/209] Compiling ExtractCaseValueMacros SwiftSyntax+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:32:11: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
30 | }
31 |
32 | extension TupleExprElementListSyntax {
| |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
| `- note: use 'LabeledExprListSyntax' instead
33 | /// Retrieve the first element with the given label.
34 | func first(labeled name: String) -> Element? {
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:16:34: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
14 | extension TypeSyntax {
15 | func matchesReturnType(_ type: TypeSyntax) -> Bool {
16 | guard let typeName = self.as(SimpleTypeIdentifierSyntax.self)?.name.text else { return false }
| |- warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
| `- note: use 'IdentifierTypeSyntax' instead
17 |
18 | return typeName == type.as(SimpleTypeIdentifierSyntax.self)?.name.text ||
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:18:32: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
16 | guard let typeName = self.as(SimpleTypeIdentifierSyntax.self)?.name.text else { return false }
17 |
18 | return typeName == type.as(SimpleTypeIdentifierSyntax.self)?.name.text ||
| |- warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
| `- note: use 'IdentifierTypeSyntax' instead
19 | typeName == type.as(OptionalTypeSyntax.self)?.wrappedType.as(SimpleTypeIdentifierSyntax.self)!.name.text
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:19:66: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
17 |
18 | return typeName == type.as(SimpleTypeIdentifierSyntax.self)?.name.text ||
19 | typeName == type.as(OptionalTypeSyntax.self)?.wrappedType.as(SimpleTypeIdentifierSyntax.self)!.name.text
| |- warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
| `- note: use 'IdentifierTypeSyntax' instead
20 | }
21 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[201/209] Compiling ExtractCaseValueMacros Diagnostics.swift
[202/209] Compiling ExtractCaseValueMacros CaseExtractionKind.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:24:42: warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
22 | else { return nil }
23 |
24 | let firstIntArgument = (functionCall.argumentList.first?.expression.as(IntegerLiteralExprSyntax.self)?.digits.text).flatMap(Int.init)
| |- warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
| `- note: use 'arguments' instead
25 | let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:24:108: warning: 'digits' is deprecated: renamed to 'literal' [#DeprecatedDeclaration]
22 | else { return nil }
23 |
24 | let firstIntArgument = (functionCall.argumentList.first?.expression.as(IntegerLiteralExprSyntax.self)?.digits.text).flatMap(Int.init)
| |- warning: 'digits' is deprecated: renamed to 'literal' [#DeprecatedDeclaration]
| `- note: use 'literal' instead
25 | let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
26 |
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:25:44: warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
23 |
24 | let firstIntArgument = (functionCall.argumentList.first?.expression.as(IntegerLiteralExprSyntax.self)?.digits.text).flatMap(Int.init)
25 | let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
| |- warning: 'argumentList' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
| `- note: use 'arguments' instead
26 |
27 | switch memberAccessExpr.name.text {
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:27:29: warning: 'name' is deprecated: renamed to 'declName.baseName' [#DeprecatedDeclaration]
25 | let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
26 |
27 | switch memberAccessExpr.name.text {
| |- warning: 'name' is deprecated: renamed to 'declName.baseName' [#DeprecatedDeclaration]
| `- note: use 'declName.baseName' instead
28 | case "position" :
29 | guard let position = firstIntArgument else { return nil }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[203/209] Emitting module ExtractCaseValueMacros
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:32:11: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
30 | }
31 |
32 | extension TupleExprElementListSyntax {
| |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
| `- note: use 'LabeledExprListSyntax' instead
33 | /// Retrieve the first element with the given label.
34 | func first(labeled name: String) -> Element? {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[204/209] Compiling ExtractCaseValueMacros ExtractCaseValueMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:30:33: warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
28 |
29 | guard
30 | let arguments = attribute.argument,
| |- warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
| `- note: use 'arguments' instead
31 | case let .argumentList(arguments) = arguments
32 | else {
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:62:27: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
60 | guard
61 | let returnType = attribute
62 | .attributeName.as(SimpleTypeIdentifierSyntax.self)?
| |- warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
| `- note: use 'IdentifierTypeSyntax' instead
63 | .genericArgumentClause?
64 | .arguments.first?
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:65:10: warning: 'argumentType' is deprecated: renamed to 'argument' [#DeprecatedDeclaration]
63 | .genericArgumentClause?
64 | .arguments.first?
65 | .argumentType
| |- warning: 'argumentType' is deprecated: renamed to 'argument' [#DeprecatedDeclaration]
| `- note: use 'argument' instead
66 | else {
67 | context.diagnose(ExtractCaseValueMacroDiagnostic.requiresGenericType.diagnose(at: attribute))
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:86:33: warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
84 | // create fix-it to add a default value if necessary
85 | guard
86 | let tupleList = attribute.argument?.as(TupleExprElementListSyntax.self)
| |- warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
| `- note: use 'arguments' instead
87 | else { return [] }
88 | let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:86:46: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
84 | // create fix-it to add a default value if necessary
85 | guard
86 | let tupleList = attribute.argument?.as(TupleExprElementListSyntax.self)
| |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
| `- note: use 'LabeledExprListSyntax' instead
87 | else { return [] }
88 | let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:89:34: warning: 'inserting(_:at:)' is deprecated: Create a new array of elements and construct a new collection type from those elements [#DeprecatedDeclaration]
87 | else { return [] }
88 | let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
89 | let newTupleList = tupleList.inserting(TupleExprElementSyntax(expression: expr), at: tupleList.count)
| `- warning: 'inserting(_:at:)' is deprecated: Create a new array of elements and construct a new collection type from those elements [#DeprecatedDeclaration]
90 |
91 | let insertDefaultFixIt = FixIt(
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:89:44: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
87 | else { return [] }
88 | let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
89 | let newTupleList = tupleList.inserting(TupleExprElementSyntax(expression: expr), at: tupleList.count)
| |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
| `- note: use 'LabeledExprSyntax' instead
90 |
91 | let insertDefaultFixIt = FixIt(
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:101:36: error: cannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'
99 |
100 | // infer access modifier from enum
101 | let access = enumDecl.modifiers?.first(where: \.isNeededAccessLevelModifier)
| `- error: cannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'
102 |
103 | var switchCaseSyntaxes: [SwitchCaseSyntax] = []
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:108:40: warning: 'associatedValue' is deprecated: renamed to 'parameterClause' [#DeprecatedDeclaration]
106 | let caseSyntax = element.as(EnumCaseElementSyntax.self)!
107 |
108 | guard let paramList = caseSyntax.associatedValue?.parameterList else {
| |- warning: 'associatedValue' is deprecated: renamed to 'parameterClause' [#DeprecatedDeclaration]
| `- note: use 'parameterClause' instead
109 | if let defaultValue {
110 | switchCaseSyntaxes.append(
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:108:57: warning: 'parameterList' is deprecated: renamed to 'parameters' [#DeprecatedDeclaration]
106 | let caseSyntax = element.as(EnumCaseElementSyntax.self)!
107 |
108 | guard let paramList = caseSyntax.associatedValue?.parameterList else {
| |- warning: 'parameterList' is deprecated: renamed to 'parameters' [#DeprecatedDeclaration]
| `- note: use 'parameters' instead
109 | if let defaultValue {
110 | switchCaseSyntaxes.append(
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:111:30: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
109 | if let defaultValue {
110 | switchCaseSyntaxes.append(
111 | "case .\(element.identifier): return \(defaultValue)"
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
112 | )
113 | continue
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:115:93: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
113 | continue
114 | } else {
115 | context.diagnose(ExtractCaseValueMacroDiagnostic.noAssociatedValues(case: element.identifier.text).diagnose(at: element, fixIts: [insertDefaultFixIt]))
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
116 | return []
117 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:130:32: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
128 | if let defaultValue {
129 | switchCaseSyntaxes.append(
130 | "case .\(element.identifier): return \(defaultValue)"
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
131 | )
132 | didUseDefaultValue = true
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:135:84: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
133 | break
134 | } else {
135 | context.diagnose(ExtractCaseValueMacroDiagnostic.noValue(case: element.identifier.text, index: index).diagnose(at: element, fixIts: [insertDefaultFixIt]))
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
136 | return []
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:141:87: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
139 |
140 | guard associatedValue.element.type.matchesReturnType(returnType) else {
141 | context.diagnose(ExtractCaseValueMacroDiagnostic.typeMismatch(case: element.identifier.text, index: index).diagnose(at: associatedValue.element))
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
142 | return []
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:151:32: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
149 | if let defaultValue {
150 | switchCaseSyntaxes.append(
151 | "case .\(element.identifier): return \(defaultValue)"
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
152 | )
153 | didUseDefaultValue = true
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:156:113: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
154 | break
155 | } else {
156 | context.diagnose(ExtractCaseValueMacroDiagnostic.noAssociatedValueForName(name: name, case: element.identifier.text).diagnose(at: element, fixIts: [insertDefaultFixIt]))
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
157 | return []
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:162:104: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
160 |
161 | guard associatedValue.type.matchesReturnType(returnType) else {
162 | context.diagnose(ExtractCaseValueMacroDiagnostic.typeMismatchNamed(name: name, case: element.identifier.text).diagnose(at: associatedValue))
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
163 | return []
164 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:173:32: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
171 | if let defaultValue {
172 | switchCaseSyntaxes.append(
173 | "case .\(element.identifier): return \(defaultValue)"
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
174 | )
175 | didUseDefaultValue = true
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:178:114: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
176 | break
177 | } else {
178 | context.diagnose(ExtractCaseValueMacroDiagnostic.noMatchingType(type: "\(returnType)", case: element.identifier.text).diagnose(at: element, fixIts: [insertDefaultFixIt]))
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
179 | return []
180 | }
/Users/admin/builder/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:195:32: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
193 |
194 | switchCaseSyntaxes.append(
195 | "case let .\(element.identifier)(\(raw: variablesAndUnderscores)): return \(uniqueVariableName)"
| |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
| `- note: use 'name' instead
196 | )
197 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/apple/swift-syntax.git
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.23s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (5.81s)
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
BUILD FAILURE 6.2 macosSpm