Build Information
Failed to build extract-case-value, reference main (542c66), with Swift 6.4 for Linux on 19 Sep 2026 06:53:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build 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: linux
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-0":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-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.40s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (4.57s)
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]
[91 / 198] ExtractCaseValue
[103 / 202] SwiftSyntax
[111 / 211] SwiftSyntax
[112 / 212] SwiftSyntax509
[115 / 212] SwiftSyntax
[126 / 221] SwiftDiagnostics
[128 / 237] SwiftParser
[129 / 237] SwiftParser
[141 / 237] SwiftParser
[142 / 237] SwiftParser
[143 / 237] SwiftParser
[144 / 237] SwiftParser
[146 / 237] SwiftParser
[150 / 237] SwiftParser
[152 / 237] SwiftDiagnostics
[154 / 237] SwiftDiagnostics
[156 / 237] SwiftDiagnostics
[157 / 237] SwiftOperators
[158 / 237] SwiftOperators
[159 / 237] SwiftParserDiagnostics
[160 / 237] SwiftParserDiagnostics
[164 / 250] SwiftOperators
[165 / 258] SwiftOperators
[166 / 258] SwiftParserDiagnostics
[166 / 259] SwiftOperators
[174 / 259] SwiftParserDiagnostics
[175 / 259] SwiftParser
[180 / 260] SwiftParserDiagnostics
[181 / 260] SwiftParserDiagnostics
[182 / 260] SwiftSyntaxBuilder
[185 / 260] SwiftParser
[187 / 260] SwiftOperators
[188 / 260] SwiftOperators
[190 / 260] SwiftOperators
[192 / 260] SwiftOperators
[193 / 260] SwiftDiagnostics
[197 / 261] SwiftSyntaxBuilder
[201 / 270] SwiftSyntaxBuilder
[202 / 271] SwiftSyntaxBuilder
[204 / 271] SwiftSyntaxBuilder
[205 / 272] SwiftSyntaxBuilder
[206 / 272] SwiftSyntaxBuilder
[207 / 272] SwiftSyntaxBuilder
[216 / 273] SwiftSyntaxMacros
[218 / 282] SwiftSyntaxMacros
[221 / 282] SwiftSyntaxMacros
[226 / 282] SwiftSyntaxMacros-product
[228 / 282] SwiftSyntaxMacros-product
[231 / 283] SwiftSyntaxMacros
[235 / 292] SwiftSyntaxMacros
[237 / 292] SwiftSyntaxMacros
[238 / 292] SwiftSyntaxMacros
[239 / 292] SwiftSyntaxMacroExpansion
[242 / 292] SwiftSyntaxMacroExpansion
[249 / 300] SwiftCompilerPluginMessageHandling
[251 / 301] SwiftCompilerPluginMessageHandling
[259 / 301] SwiftCompilerPluginMessageHandling
[260 / 301] SwiftCompilerPluginMessageHandling
[261 / 301] SwiftCompilerPlugin
[265 / 305] SwiftSyntaxMacroExpansion
[266 / 305] SwiftCompilerPluginMessageHandling
[268 / 306] SwiftCompilerPlugin
[273 / 306] SwiftCompilerPlugin
[275 / 307] SwiftSyntax
[278 / 308] SwiftSyntax
[285 / 308] SwiftSyntaxMacros
[293 / 309] ExtractCaseValueMacros
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:32:11: [1;33mwarning: [1;39m'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension TupleExprElementListSyntax {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'LabeledExprListSyntax' instead[0;0m
[0;36m33 |[0;0m /// Retrieve the first element with the given label.
[0;36m34 |[0;0m func first(labeled name: String) -> Element? {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[299 / 315] ExtractCaseValueMacros
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:24:42: [1;33mwarning: [1;39m'argumentList' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m22 |[0;0m else { return nil }
[0;36m23 |[0;0m
[0;36m24 |[0;0m let firstIntArgument = (functionCall.argumentList.first?.expression.as(IntegerLiteralExprSyntax.self)?.digits.text).flatMap(Int.init)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'argumentList' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'arguments' instead[0;0m
[0;36m25 |[0;0m let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
[0;36m26 |[0;0m
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:24:108: [1;33mwarning: [1;39m'digits' is deprecated: renamed to 'literal'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m22 |[0;0m else { return nil }
[0;36m23 |[0;0m
[0;36m24 |[0;0m let firstIntArgument = (functionCall.argumentList.first?.expression.as(IntegerLiteralExprSyntax.self)?.digits.text).flatMap(Int.init)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'digits' is deprecated: renamed to 'literal'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'literal' instead[0;0m
[0;36m25 |[0;0m let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
[0;36m26 |[0;0m
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:25:44: [1;33mwarning: [1;39m'argumentList' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m23 |[0;0m
[0;36m24 |[0;0m let firstIntArgument = (functionCall.argumentList.first?.expression.as(IntegerLiteralExprSyntax.self)?.digits.text).flatMap(Int.init)
[0;36m25 |[0;0m let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
[0;36m|[0;0m |- [1;33mwarning: [1;39m'argumentList' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'arguments' instead[0;0m
[0;36m26 |[0;0m
[0;36m27 |[0;0m switch memberAccessExpr.name.text {
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/CaseExtractionKind.swift:27:29: [1;33mwarning: [1;39m'name' is deprecated: renamed to 'declName.baseName'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m25 |[0;0m let firstStringArgument = functionCall.argumentList.first?.expression.stringLiteralSegment
[0;36m26 |[0;0m
[0;36m27 |[0;0m switch memberAccessExpr.name.text {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'name' is deprecated: renamed to 'declName.baseName'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'declName.baseName' instead[0;0m
[0;36m28 |[0;0m case "position" :
[0;36m29 |[0;0m 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: [1;33mwarning: [1;39m'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[0;36m32 |[0;0m extension TupleExprElementListSyntax {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'LabeledExprListSyntax' instead[0;0m
[0;36m33 |[0;0m /// Retrieve the first element with the given label.
[0;36m34 |[0;0m func first(labeled name: String) -> Element? {
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:16:34: [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m14 |[0;0m extension TypeSyntax {
[0;36m15 |[0;0m func matchesReturnType(_ type: TypeSyntax) -> Bool {
[0;36m16 |[0;0m guard let typeName = self.as(SimpleTypeIdentifierSyntax.self)?.name.text else { return false }
[0;36m|[0;0m |- [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'IdentifierTypeSyntax' instead[0;0m
[0;36m17 |[0;0m
[0;36m18 |[0;0m return typeName == type.as(SimpleTypeIdentifierSyntax.self)?.name.text ||
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:18:32: [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m16 |[0;0m guard let typeName = self.as(SimpleTypeIdentifierSyntax.self)?.name.text else { return false }
[0;36m17 |[0;0m
[0;36m18 |[0;0m return typeName == type.as(SimpleTypeIdentifierSyntax.self)?.name.text ||
[0;36m|[0;0m |- [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'IdentifierTypeSyntax' instead[0;0m
[0;36m19 |[0;0m typeName == type.as(OptionalTypeSyntax.self)?.wrappedType.as(SimpleTypeIdentifierSyntax.self)!.name.text
[0;36m20 |[0;0m }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/SwiftSyntax+Extensions.swift:19:66: [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m17 |[0;0m
[0;36m18 |[0;0m return typeName == type.as(SimpleTypeIdentifierSyntax.self)?.name.text ||
[0;36m19 |[0;0m typeName == type.as(OptionalTypeSyntax.self)?.wrappedType.as(SimpleTypeIdentifierSyntax.self)!.name.text
[0;36m|[0;0m |- [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'IdentifierTypeSyntax' instead[0;0m
[0;36m20 |[0;0m }
[0;36m21 |[0;0m }
[#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: [1;33mwarning: [1;39m'argument' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m28 |[0;0m
[0;36m29 |[0;0m guard
[0;36m30 |[0;0m let arguments = attribute.argument,
[0;36m|[0;0m |- [1;33mwarning: [1;39m'argument' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'arguments' instead[0;0m
[0;36m31 |[0;0m case let .argumentList(arguments) = arguments
[0;36m32 |[0;0m else {
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:62:27: [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m60 |[0;0m guard
[0;36m61 |[0;0m let returnType = attribute
[0;36m62 |[0;0m .attributeName.as(SimpleTypeIdentifierSyntax.self)?
[0;36m|[0;0m |- [1;33mwarning: [1;39m'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'IdentifierTypeSyntax' instead[0;0m
[0;36m63 |[0;0m .genericArgumentClause?
[0;36m64 |[0;0m .arguments.first?
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:65:10: [1;33mwarning: [1;39m'argumentType' is deprecated: renamed to 'argument'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m63 |[0;0m .genericArgumentClause?
[0;36m64 |[0;0m .arguments.first?
[0;36m65 |[0;0m .argumentType
[0;36m|[0;0m |- [1;33mwarning: [1;39m'argumentType' is deprecated: renamed to 'argument'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'argument' instead[0;0m
[0;36m66 |[0;0m else {
[0;36m67 |[0;0m context.diagnose(ExtractCaseValueMacroDiagnostic.requiresGenericType.diagnose(at: attribute))
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:86:33: [1;33mwarning: [1;39m'argument' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m84 |[0;0m // create fix-it to add a default value if necessary
[0;36m85 |[0;0m guard
[0;36m86 |[0;0m let tupleList = attribute.argument?.as(TupleExprElementListSyntax.self)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'argument' is deprecated: renamed to 'arguments'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'arguments' instead[0;0m
[0;36m87 |[0;0m else { return [] }
[0;36m88 |[0;0m let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:86:46: [1;33mwarning: [1;39m'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m84 |[0;0m // create fix-it to add a default value if necessary
[0;36m85 |[0;0m guard
[0;36m86 |[0;0m let tupleList = attribute.argument?.as(TupleExprElementListSyntax.self)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'LabeledExprListSyntax' instead[0;0m
[0;36m87 |[0;0m else { return [] }
[0;36m88 |[0;0m let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:89:34: [1;33mwarning: [1;39m'inserting(_:at:)' is deprecated: Create a new array of elements and construct a new collection type from those elements[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m87 |[0;0m else { return [] }
[0;36m88 |[0;0m let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
[0;36m89 |[0;0m let newTupleList = tupleList.inserting(TupleExprElementSyntax(expression: expr), at: tupleList.count)
[0;36m|[0;0m `- [1;33mwarning: [1;39m'inserting(_:at:)' is deprecated: Create a new array of elements and construct a new collection type from those elements[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m90 |[0;0m
[0;36m91 |[0;0m let insertDefaultFixIt = FixIt(
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:89:44: [1;33mwarning: [1;39m'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m87 |[0;0m else { return [] }
[0;36m88 |[0;0m let expr: ExprSyntax = ", \(propertyNameString): <#Type#>"
[0;36m89 |[0;0m let newTupleList = tupleList.inserting(TupleExprElementSyntax(expression: expr), at: tupleList.count)
[0;36m|[0;0m |- [1;33mwarning: [1;39m'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'LabeledExprSyntax' instead[0;0m
[0;36m90 |[0;0m
[0;36m91 |[0;0m let insertDefaultFixIt = FixIt(
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:101:36: [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'[0;0m
[0;36m99 |[0;0m
[0;36m100 |[0;0m // infer access modifier from enum
[0;36m101 |[0;0m let access = [4;39menumDecl.modifiers?[0;0m.first(where: \.isNeededAccessLevelModifier)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'[0;0m
[0;36m102 |[0;0m
[0;36m103 |[0;0m var switchCaseSyntaxes: [SwitchCaseSyntax] = []
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:108:40: [1;33mwarning: [1;39m'associatedValue' is deprecated: renamed to 'parameterClause'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m106 |[0;0m let caseSyntax = element.as(EnumCaseElementSyntax.self)!
[0;36m107 |[0;0m
[0;36m108 |[0;0m guard let paramList = caseSyntax.associatedValue?.parameterList else {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'associatedValue' is deprecated: renamed to 'parameterClause'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'parameterClause' instead[0;0m
[0;36m109 |[0;0m if let defaultValue {
[0;36m110 |[0;0m switchCaseSyntaxes.append(
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:108:57: [1;33mwarning: [1;39m'parameterList' is deprecated: renamed to 'parameters'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m106 |[0;0m let caseSyntax = element.as(EnumCaseElementSyntax.self)!
[0;36m107 |[0;0m
[0;36m108 |[0;0m guard let paramList = caseSyntax.associatedValue?.parameterList else {
[0;36m|[0;0m |- [1;33mwarning: [1;39m'parameterList' is deprecated: renamed to 'parameters'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'parameters' instead[0;0m
[0;36m109 |[0;0m if let defaultValue {
[0;36m110 |[0;0m switchCaseSyntaxes.append(
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:111:30: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m109 |[0;0m if let defaultValue {
[0;36m110 |[0;0m switchCaseSyntaxes.append(
[0;36m111 |[0;0m "case .\(element.identifier): return \(defaultValue)"
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m112 |[0;0m )
[0;36m113 |[0;0m continue
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:115:93: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m113 |[0;0m continue
[0;36m114 |[0;0m } else {
[0;36m115 |[0;0m context.diagnose(ExtractCaseValueMacroDiagnostic.noAssociatedValues(case: element.identifier.text).diagnose(at: element, fixIts: [insertDefaultFixIt]))
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m116 |[0;0m return []
[0;36m117 |[0;0m }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:130:32: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m128 |[0;0m if let defaultValue {
[0;36m129 |[0;0m switchCaseSyntaxes.append(
[0;36m130 |[0;0m "case .\(element.identifier): return \(defaultValue)"
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m131 |[0;0m )
[0;36m132 |[0;0m didUseDefaultValue = true
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:135:84: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m133 |[0;0m break
[0;36m134 |[0;0m } else {
[0;36m135 |[0;0m context.diagnose(ExtractCaseValueMacroDiagnostic.noValue(case: element.identifier.text, index: index).diagnose(at: element, fixIts: [insertDefaultFixIt]))
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m136 |[0;0m return []
[0;36m137 |[0;0m }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:141:87: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m139 |[0;0m
[0;36m140 |[0;0m guard associatedValue.element.type.matchesReturnType(returnType) else {
[0;36m141 |[0;0m context.diagnose(ExtractCaseValueMacroDiagnostic.typeMismatch(case: element.identifier.text, index: index).diagnose(at: associatedValue.element))
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m142 |[0;0m return []
[0;36m143 |[0;0m }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:151:32: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m149 |[0;0m if let defaultValue {
[0;36m150 |[0;0m switchCaseSyntaxes.append(
[0;36m151 |[0;0m "case .\(element.identifier): return \(defaultValue)"
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m152 |[0;0m )
[0;36m153 |[0;0m didUseDefaultValue = true
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:156:113: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m154 |[0;0m break
[0;36m155 |[0;0m } else {
[0;36m156 |[0;0m context.diagnose(ExtractCaseValueMacroDiagnostic.noAssociatedValueForName(name: name, case: element.identifier.text).diagnose(at: element, fixIts: [insertDefaultFixIt]))
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m157 |[0;0m return []
[0;36m158 |[0;0m }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:162:104: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m160 |[0;0m
[0;36m161 |[0;0m guard associatedValue.type.matchesReturnType(returnType) else {
[0;36m162 |[0;0m context.diagnose(ExtractCaseValueMacroDiagnostic.typeMismatchNamed(name: name, case: element.identifier.text).diagnose(at: associatedValue))
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m163 |[0;0m return []
[0;36m164 |[0;0m }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:173:32: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m171 |[0;0m if let defaultValue {
[0;36m172 |[0;0m switchCaseSyntaxes.append(
[0;36m173 |[0;0m "case .\(element.identifier): return \(defaultValue)"
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m174 |[0;0m )
[0;36m175 |[0;0m didUseDefaultValue = true
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:178:114: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m176 |[0;0m break
[0;36m177 |[0;0m } else {
[0;36m178 |[0;0m context.diagnose(ExtractCaseValueMacroDiagnostic.noMatchingType(type: "\(returnType)", case: element.identifier.text).diagnose(at: element, fixIts: [insertDefaultFixIt]))
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m179 |[0;0m return []
[0;36m180 |[0;0m }
/host/spi-builder-workspace/Sources/ExtractCaseValueMacros/ExtractCaseValueMacro.swift:195:32: [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m193 |[0;0m
[0;36m194 |[0;0m switchCaseSyntaxes.append(
[0;36m195 |[0;0m "case let .\(element.identifier)(\(raw: variablesAndUnderscores)): return \(uniqueVariableName)"
[0;36m|[0;0m |- [1;33mwarning: [1;39m'identifier' is deprecated: renamed to 'name'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39muse 'name' instead[0;0m
[0;36m196 |[0;0m )
[0;36m197 |[0;0m }
[#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 -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 /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 linux