The Swift Package Index logo.Swift Package Index

Build Information

Failed to build extract-case-value, reference main (542c66), with Swift 6.4 for Android on 19 Sep 2026 06:53:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fruitcoder/extract-case-value.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/fruitcoder/extract-case-value.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-syntax.git
[1/79983] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.91s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (5.11s)
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 474]
[Planning deferred tasks]
[100 / 204] SwiftSyntax509
[113 / 214] SwiftSyntax509
[116 / 215] SwiftSyntax
[118 / 215] SwiftSyntax
[130 / 231] SwiftDiagnostics
[131 / 240] SwiftParser
[132 / 240] SwiftDiagnostics
[134 / 240] SwiftDiagnostics
[145 / 240] SwiftParser
[146 / 240] SwiftParser
[148 / 240] SwiftParser
[152 / 240] SwiftParser
[154 / 240] SwiftParser
[155 / 240] SwiftDiagnostics
[156 / 240] SwiftDiagnostics
[156 / 240] SwiftParser
[157 / 240] SwiftDiagnostics
[158 / 240] SwiftOperators
[161 / 240] SwiftDiagnostics
[162 / 240] SwiftParserDiagnostics
[163 / 240] SwiftParserDiagnostics
[166 / 242] SwiftParserDiagnostics
[168 / 251] SwiftParserDiagnostics
[169 / 251] SwiftParserDiagnostics
[171 / 252] SwiftParserDiagnostics
[172 / 252] SwiftParserDiagnostics
[173 / 253] SwiftParserDiagnostics
[174 / 253] SwiftParserDiagnostics
[176 / 253] SwiftParserDiagnostics
[180 / 253] SwiftParserDiagnostics
[182 / 253] SwiftSyntaxBuilder
[187 / 264] SwiftSyntaxBuilder
[189 / 273] SwiftSyntaxBuilder
[190 / 273] SwiftSyntaxBuilder
[190 / 273] SwiftOperators
[192 / 273] SwiftOperators
[195 / 273] SwiftOperators
[204 / 273] SwiftSyntaxBuilder
[205 / 273] SwiftSyntaxBuilder
[206 / 273] SwiftSyntaxMacros
[208 / 274] SwiftParserDiagnostics
[209 / 274] SwiftSyntaxBuilder
[211 / 274] SwiftOperators
[214 / 274] SwiftOperators
[216 / 274] SwiftOperators
[219 / 284] SwiftSyntaxMacros
[220 / 284] SwiftSyntaxMacros
[224 / 284] SwiftSyntaxMacros
[229 / 284] SwiftSyntaxMacros-product
[230 / 284] SwiftSyntaxMacros-product
[231 / 284] SwiftSyntaxMacros-product
[236 / 294] SwiftSyntaxMacroExpansion
[237 / 295] SwiftSyntaxMacros
[239 / 296] SwiftSyntaxMacros
[243 / 296] SwiftSyntaxBuilder
[252 / 297] SwiftCompilerPluginMessageHandling
[256 / 304] SwiftCompilerPluginMessageHandling
[257 / 304] SwiftCompilerPluginMessageHandling
[259 / 304] SwiftCompilerPluginMessageHandling
[267 / 307] SwiftCompilerPlugin
[267 / 307] SwiftCompilerPluginMessageHandling
[267 / 307] SwiftSyntaxMacroExpansion
[269 / 308] SwiftCompilerPluginMessageHandling
[271 / 309] SwiftCompilerPlugin
[276 / 309] SwiftCompilerPlugin
[278 / 310] SwiftSyntax
[281 / 311] SwiftSyntax
[288 / 311]
[296 / 312] ExtractCaseValueMacros
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:32:11: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
30 | }
31 |
32 | extension TupleExprElementListSyntax {
   |           |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |           `- 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>
[302 / 318] ExtractCaseValueMacros
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:24:42: warning: 'argumentList' is deprecated: renamed to 'arguments' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                          `- note: use 'arguments' instead
25 |     let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
26 |
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:24:108: warning: 'digits' is deprecated: renamed to 'literal' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                                                                                            `- note: use 'literal' instead
25 |     let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
26 |
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:25:44: warning: 'argumentList' is deprecated: renamed to 'arguments' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                            `- note: use 'arguments' instead
26 |
27 |     switch memberAccessExpr.name.text {
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:27:29: warning: 'name' is deprecated: renamed to 'declName.baseName' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
25 |     let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
26 |
27 |     switch memberAccessExpr.name.text {
   |                             |- warning: 'name' is deprecated: renamed to 'declName.baseName' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                             `- 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>
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:32:11: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
30 | }
31 |
32 | extension TupleExprElementListSyntax {
   |           |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |           `- note: use 'LabeledExprListSyntax' instead
33 |   /// Retrieve the first element with the given label.
34 |   func first(labeled name: String) -> Element? {
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:16:34: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                  `- note: use 'IdentifierTypeSyntax' instead
17 |
18 |     return typeName == type.as(SimpleTypeIdentifierSyntax.self)?.name.text ||
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:18:32: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                `- note: use 'IdentifierTypeSyntax' instead
19 |     typeName == type.as(OptionalTypeSyntax.self)?.wrappedType.as(SimpleTypeIdentifierSyntax.self)!.name.text
20 |   }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:19:66: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |                                                                  `- note: use 'IdentifierTypeSyntax' instead
20 |   }
21 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile ExtractCaseValueMacro.swift
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:30:33: warning: 'argument' is deprecated: renamed to 'arguments' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 28 |
 29 |     guard
 30 |       let arguments = attribute.argument,
    |                                 |- warning: 'argument' is deprecated: renamed to 'arguments' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                 `- note: use 'arguments' instead
 31 |       case let .argumentList(arguments) = arguments
 32 |     else {
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:62:27: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 60 |     guard
 61 |       let returnType = attribute
 62 |         .attributeName.as(SimpleTypeIdentifierSyntax.self)?
    |                           |- warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                           `- note: use 'IdentifierTypeSyntax' instead
 63 |         .genericArgumentClause?
 64 |         .arguments.first?
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:65:10: warning: 'argumentType' is deprecated: renamed to 'argument' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 63 |         .genericArgumentClause?
 64 |         .arguments.first?
 65 |         .argumentType
    |          |- warning: 'argumentType' is deprecated: renamed to 'argument' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |          `- note: use 'argument' instead
 66 |     else {
 67 |       context.diagnose(ExtractCaseValueMacroDiagnostic.requiresGenericType.diagnose(at: attribute))
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:86:33: warning: 'argument' is deprecated: renamed to 'arguments' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                 `- note: use 'arguments' instead
 87 |     else { return [] }
 88 |     let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:86:46: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                              `- note: use 'LabeledExprListSyntax' instead
 87 |     else { return [] }
 88 |     let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
/host/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 90 |
 91 |     let insertDefaultFixIt = FixIt(
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:89:44: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                            `- note: use 'LabeledExprSyntax' instead
 90 |
 91 |     let insertDefaultFixIt = FixIt(
/host/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] = []
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:108:40: warning: 'associatedValue' is deprecated: renamed to 'parameterClause' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
106 |       let caseSyntax = element.as(EnumCaseElementSyntax.self)!
107 |
108 |       guard let paramList = caseSyntax.associatedValue?.parameterList else {
    |                                        |- warning: 'associatedValue' is deprecated: renamed to 'parameterClause' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                        `- note: use 'parameterClause' instead
109 |         if let defaultValue {
110 |           switchCaseSyntaxes.append(
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:108:57: warning: 'parameterList' is deprecated: renamed to 'parameters' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
106 |       let caseSyntax = element.as(EnumCaseElementSyntax.self)!
107 |
108 |       guard let paramList = caseSyntax.associatedValue?.parameterList else {
    |                                                         |- warning: 'parameterList' is deprecated: renamed to 'parameters' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                         `- note: use 'parameters' instead
109 |         if let defaultValue {
110 |           switchCaseSyntaxes.append(
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:111:30: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
109 |         if let defaultValue {
110 |           switchCaseSyntaxes.append(
111 |             "case .\(element.identifier): return \(defaultValue)"
    |                              |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                              `- note: use 'name' instead
112 |           )
113 |           continue
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:115:93: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                                             `- note: use 'name' instead
116 |           return []
117 |         }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:130:32: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
128 |           if let defaultValue {
129 |             switchCaseSyntaxes.append(
130 |               "case .\(element.identifier): return \(defaultValue)"
    |                                |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                `- note: use 'name' instead
131 |             )
132 |             didUseDefaultValue = true
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:135:84: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                                    `- note: use 'name' instead
136 |             return []
137 |           }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:141:87: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                                       `- note: use 'name' instead
142 |           return []
143 |         }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:151:32: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
149 |           if let defaultValue {
150 |             switchCaseSyntaxes.append(
151 |               "case .\(element.identifier): return \(defaultValue)"
    |                                |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                `- note: use 'name' instead
152 |             )
153 |             didUseDefaultValue = true
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:156:113: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                                                                 `- note: use 'name' instead
157 |             return []
158 |           }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:162:104: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                                                        `- note: use 'name' instead
163 |           return []
164 |         }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:173:32: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
171 |           if let defaultValue {
172 |             switchCaseSyntaxes.append(
173 |               "case .\(element.identifier): return \(defaultValue)"
    |                                |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                `- note: use 'name' instead
174 |             )
175 |             didUseDefaultValue = true
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:178:114: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
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' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                                                                                                  `- note: use 'name' instead
179 |             return []
180 |           }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:195:32: warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
193 |
194 |         switchCaseSyntaxes.append(
195 |           "case let .\(element.identifier)(\(raw: variablesAndUnderscores)): return \(uniqueVariableName)"
    |                                |- warning: 'identifier' is deprecated: renamed to 'name' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                                `- note: use 'name' instead
196 |         )
197 |       }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift /host/spi-builder-workspace/Sources/ExtractCaseValueMacros/Diagnostics.swift -primary-file /host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift /host/spi-builder-workspace/Sources/ExtractCaseValueMacros/Plugin.swift /host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/Objects-normal/x86_64/ExtractCaseValueMacro.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/Objects-normal/x86_64/ExtractCaseValueMacro.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/Objects-normal/x86_64/ExtractCaseValueMacro.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/Objects-normal/x86_64/ExtractCaseValueMacro.dia -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ExtractCaseValueMacros -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/Objects-normal/x86_64/ExtractCaseValueMacros_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/Objects-normal/x86_64/ExtractCaseValueMacro.o -index-unit-output-path /ExtractCaseValue.build/Debug-linux-x86_64/ExtractCaseValueMacros-t.build/Objects-normal/x86_64/ExtractCaseValueMacro.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android