The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 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:         wasm
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-54344844-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-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.74s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.90s)
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]
[Provisioning 1 / 19]
[Pre-planning 1 / 474]
[Planning deferred tasks]
[99 / 202] SwiftSyntax509
[113 / 212] SwiftSyntax
[115 / 213] SwiftSyntax
[117 / 213] SwiftSyntax
[129 / 229] SwiftBasicFormat
[129 / 238] SwiftDiagnostics
[131 / 238] SwiftDiagnostics
[134 / 238] SwiftDiagnostics
[140 / 238] SwiftBasicFormat
[145 / 238] SwiftParser
[146 / 238] SwiftParser
[148 / 238] SwiftParser
[152 / 238] SwiftParser
[155 / 238] SwiftDiagnostics
[156 / 238] SwiftOperators
[157 / 238] SwiftOperators
[160 / 238] SwiftBasicFormat
[161 / 239] SwiftDiagnostics
[161 / 239] SwiftBasicFormat
[162 / 239] SwiftParserDiagnostics
[164 / 239]
[167 / 249] SwiftParserDiagnostics
[168 / 249] SwiftParserDiagnostics
[169 / 250] SwiftParserDiagnostics
[170 / 251] SwiftParserDiagnostics
[172 / 251] SwiftParserDiagnostics
[174 / 251] SwiftParserDiagnostics
[178 / 251] SwiftParserDiagnostics
[179 / 251] SwiftSyntaxBuilder
[183 / 251] SwiftBasicFormat
[186 / 261] SwiftOperators
[187 / 261] SwiftOperators
[189 / 261] SwiftOperators
[190 / 261] SwiftOperators
[192 / 261] SwiftOperators
[196 / 261] SwiftOperators
[198 / 261]
[201 / 271] SwiftSyntaxBuilder
[202 / 271] SwiftSyntaxBuilder
[203 / 272] SwiftSyntaxBuilder
[204 / 273] SwiftSyntaxBuilder
[205 / 273] SwiftSyntaxBuilder
[206 / 273] SwiftSyntaxBuilder
[207 / 273] SwiftSyntaxBuilder
[208 / 273] SwiftSyntaxBuilder
[212 / 273] SwiftSyntaxBuilder
[213 / 273] SwiftSyntaxBuilder
[216 / 273] SwiftParserDiagnostics
[220 / 283] SwiftSyntaxMacros
[222 / 283] SwiftSyntaxMacros
[225 / 283] SwiftSyntaxMacros
[231 / 283] SwiftSyntaxMacros
[236 / 292] SwiftSyntaxMacroExpansion
[237 / 293] SwiftSyntaxMacros
[240 / 294] SwiftSyntaxBuilder
[241 / 294] SwiftSyntaxMacros
[244 / 294] SwiftSyntaxMacroExpansion
[248 / 294] SwiftSyntaxMacroExpansion
[253 / 302] SwiftSyntaxBuilder
[256 / 302] SwiftCompilerPluginMessageHandling
[263 / 302] SwiftCompilerPluginMessageHandling
[266 / 305]
[268 / 306] SwiftCompilerPluginMessageHandling
[270 / 307] SwiftCompilerPlugin
[275 / 307] SwiftCompilerPlugin
[277 / 308] SwiftSyntax
[280 / 309] SwiftSyntax
[287 / 309] SwiftSyntaxMacros
[295 / 310] 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>
/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>
[301 / 316] ExtractCaseValueMacros
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:
/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 /usr/lib/swift/host/plugins/testing\#/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 -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 /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /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 wasm