The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftRequest, reference 0.1.0 (7f3664), with Swift 6.2 (beta) for macOS (SPM) on 20 Jun 2025 06:43:27 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ailtonvivaz/swift-request.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ailtonvivaz/swift-request
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 7f36644 Add table of contents and Installation instructions
Cloned https://github.com/ailtonvivaz/swift-request.git
Revision (git rev-parse @):
7f366445b1662691b6b64374e81a28c393999a6c
SUCCESS checkout https://github.com/ailtonvivaz/swift-request.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ailtonvivaz/swift-request.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/22] Write sources
[9/22] Write SwiftRequestClient-entitlement.plist
[9/22] Write sources
[16/22] Write swift-version-1EA4D86E10B52AF.txt
[18/24] Compiling SwiftSyntax509 Empty.swift
[19/24] Emitting module SwiftSyntax509
[20/70] Compiling SwiftSyntax AbsolutePosition.swift
[21/70] Compiling SwiftSyntax Assert.swift
[22/70] Compiling SwiftSyntax BumpPtrAllocator.swift
[23/70] Compiling SwiftSyntax CommonAncestor.swift
[24/70] Compiling SwiftSyntax Convenience.swift
[25/75] Compiling SwiftSyntax RawSyntaxTokenView.swift
[26/75] Compiling SwiftSyntax SourceLength.swift
[27/75] Compiling SwiftSyntax SourceLocation.swift
[28/75] Compiling SwiftSyntax SourcePresence.swift
[29/75] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[30/75] Compiling SwiftSyntax MemoryLayout.swift
[31/75] Compiling SwiftSyntax MissingNodeInitializers.swift
[32/75] Compiling SwiftSyntax RawSyntax.swift
[33/75] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[34/75] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[35/75] Emitting module SwiftSyntax
[36/75] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[37/75] Compiling SwiftSyntax SyntaxBaseNodes.swift
[38/75] Compiling SwiftSyntax SyntaxCollections.swift
[39/75] Compiling SwiftSyntax SyntaxEnum.swift
[40/75] Compiling SwiftSyntax SyntaxKind.swift
[41/75] Compiling SwiftSyntax SyntaxText.swift
[42/75] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[43/75] Compiling SwiftSyntax TokenDiagnostic.swift
[44/75] Compiling SwiftSyntax TokenSyntax.swift
[45/75] Compiling SwiftSyntax Trivia.swift
[46/75] Compiling SwiftSyntax Syntax.swift
[47/75] Compiling SwiftSyntax SyntaxArena.swift
[48/75] Compiling SwiftSyntax SyntaxChildren.swift
[49/75] Compiling SwiftSyntax SyntaxCollection.swift
[50/75] Compiling SwiftSyntax SyntaxData.swift
[51/75] Compiling SwiftSyntax Utils.swift
[52/75] Compiling SwiftSyntax ChildNameForKeyPath.swift
[53/75] Compiling SwiftSyntax Keyword.swift
[54/75] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[55/75] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[56/75] Compiling SwiftSyntax Tokens.swift
[57/75] Compiling SwiftSyntax TriviaPieces.swift
[58/75] Compiling SwiftSyntax RawSyntaxNodes.swift
[59/75] Compiling SwiftSyntax RawSyntaxValidation.swift
[60/75] Compiling SwiftSyntax SyntaxDeclNodes.swift
[61/75] Compiling SwiftSyntax SyntaxExprNodes.swift
[62/75] Compiling SwiftSyntax SyntaxNodes.swift
[63/75] Compiling SwiftSyntax SyntaxPatternNodes.swift
[64/75] Compiling SwiftSyntax SyntaxStmtNodes.swift
[65/75] Compiling SwiftSyntax SyntaxTypeNodes.swift
[66/75] Compiling SwiftSyntax SyntaxRewriter.swift
[67/75] Compiling SwiftSyntax SyntaxTraits.swift
[68/75] Compiling SwiftSyntax SyntaxTransform.swift
[69/75] Compiling SwiftSyntax SyntaxVisitor.swift
[70/75] Compiling SwiftSyntax TokenKind.swift
[71/127] Compiling SwiftDiagnostics Note.swift
[72/127] Compiling SwiftDiagnostics Message.swift
[73/127] Compiling SwiftBasicFormat Syntax+Extensions.swift
[74/127] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[75/127] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[76/127] Compiling SwiftDiagnostics FixIt.swift
[77/127] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[78/127] Emitting module SwiftDiagnostics
[79/127] Compiling SwiftDiagnostics Diagnostic.swift
[80/127] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[81/127] Compiling SwiftDiagnostics Convenience.swift
[82/127] Emitting module SwiftBasicFormat
[83/127] Compiling SwiftBasicFormat BasicFormat.swift
[84/127] Compiling SwiftParser Lexeme.swift
[85/127] Compiling SwiftParser LexemeSequence.swift
[86/127] Compiling SwiftParser Lexer.swift
[87/127] Compiling SwiftParser RegexLiteralLexer.swift
[88/131] Compiling SwiftParser UnicodeScalarExtensions.swift
[89/131] Compiling SwiftParser Lookahead.swift
[90/131] Compiling SwiftParser LoopProgressCondition.swift
[91/131] Compiling SwiftParser Modifiers.swift
[92/131] Compiling SwiftParser Statements.swift
[93/131] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[94/131] Compiling SwiftParser StringLiterals.swift
[95/131] Compiling SwiftParser SwiftParserCompatibility.swift
[96/131] Compiling SwiftParser Parser.swift
[97/131] Compiling SwiftParser Patterns.swift
[98/131] Compiling SwiftParser Recovery.swift
[99/131] Compiling SwiftParser Specifiers.swift
[100/131] Compiling SwiftParser SyntaxUtils.swift
[101/131] Compiling SwiftParser TokenConsumer.swift
[102/131] Compiling SwiftParser TokenPrecedence.swift
[103/131] Compiling SwiftParser TokenSpec.swift
[104/131] Compiling SwiftParser Names.swift
[105/131] Compiling SwiftParser Nominals.swift
[106/131] Compiling SwiftParser Parameters.swift
[107/131] Compiling SwiftParser ParseSourceFile.swift
[108/131] Compiling SwiftParser TokenSpecSet.swift
[109/131] Compiling SwiftParser TopLevel.swift
[110/131] Compiling SwiftParser TriviaParser.swift
[111/131] Compiling SwiftParser Types.swift
[112/131] Emitting module SwiftParser
[113/131] Compiling SwiftParser IsLexerClassified.swift
[114/131] Compiling SwiftParser LayoutNodes+Parsable.swift
[115/131] Compiling SwiftParser Parser+TokenSpecSet.swift
[116/131] Compiling SwiftParser TokenSpecStaticMembers.swift
[117/131] Compiling SwiftParser Attributes.swift
[118/131] Compiling SwiftParser Availability.swift
[119/131] Compiling SwiftParser CharacterInfo.swift
[120/131] Compiling SwiftParser CollectionNodes+Parsable.swift
[121/131] Compiling SwiftParser Declarations.swift
[122/131] Compiling SwiftParser Directives.swift
[123/131] Compiling SwiftParser ExperimentalFeatures.swift
[124/131] Compiling SwiftParser Expressions.swift
[125/131] Compiling SwiftParser IncrementalParseTransition.swift
[126/131] Compiling SwiftParser Cursor.swift
[127/154] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[128/155] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[129/155] Compiling SwiftOperators OperatorTable+Semantics.swift
[130/155] Compiling SwiftOperators OperatorTable.swift
[131/155] Compiling SwiftOperators PrecedenceGraph.swift
[132/155] Compiling SwiftOperators PrecedenceGroup.swift
[133/156] Compiling SwiftOperators OperatorError.swift
[134/156] Compiling SwiftOperators OperatorError+Diagnostics.swift
[135/156] Compiling SwiftOperators OperatorTable+Defaults.swift
[136/156] Compiling SwiftOperators Operator.swift
[137/156] Emitting module SwiftOperators
[138/156] Compiling SwiftOperators OperatorTable+Folding.swift
[139/156] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[140/156] Compiling SwiftOperators SyntaxSynthesis.swift
[141/156] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[142/156] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[143/156] Compiling SwiftParserDiagnostics Utils.swift
[144/156] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[145/156] Compiling SwiftParserDiagnostics MissingNodesError.swift
[146/156] Compiling SwiftParserDiagnostics MissingTokenError.swift
[147/156] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[148/156] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[149/156] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[150/156] Compiling SwiftParserDiagnostics PresenceUtils.swift
[151/156] Emitting module SwiftParserDiagnostics
[152/170] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[153/170] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[154/171] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[155/171] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[156/171] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[157/171] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[158/171] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[159/171] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[160/171] Compiling SwiftSyntaxBuilder Indenter.swift
[161/171] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[162/171] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[163/171] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[164/171] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[165/171] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[166/171] Emitting module SwiftSyntaxBuilder
[167/185] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[168/185] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[169/185] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[170/185] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[171/186] Compiling SwiftSyntaxMacros MemberMacro.swift
[172/186] Compiling SwiftSyntaxMacros Macro.swift
[173/186] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[174/186] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[175/186] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[176/186] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[177/186] Compiling SwiftSyntaxMacros Macro+Format.swift
[178/186] Compiling SwiftSyntaxMacros AccessorMacro.swift
[179/186] Compiling SwiftSyntaxMacros AttachedMacro.swift
[180/186] Emitting module SwiftSyntaxMacros
[181/186] Compiling SwiftSyntaxMacros PeerMacro.swift
[182/194] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[183/194] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[184/194] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[185/194] Emitting module SwiftSyntaxMacroExpansion
[186/194] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[187/194] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[188/194] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[189/194] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[190/201] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[191/201] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[192/201] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[193/201] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[194/201] Emitting module SwiftCompilerPluginMessageHandling
[195/201] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[196/201] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[197/203] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[198/203] Emitting module SwiftCompilerPlugin
[199/214] Compiling SwiftRequestMacros SimpleDiagnosticMessage.swift
[200/214] Compiling SwiftRequestMacros RequestDiagnostics.swift
[201/214] Compiling SwiftRequestMacros ServiceDiagnostics.swift
[202/214] Compiling SwiftRequestMacros ParamMacro.swift
[203/214] Compiling SwiftRequestMacros ServiceMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMacro.swift:21:29: warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
19 |         }
20 |
21 |         let resource = node.argument?.as(TupleExprElementListSyntax.self)?.first?.as(TupleExprElementSyntax.self)?.expression
   |                             |- warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
   |                             `- note: use 'arguments' instead
22 |
23 |         let declarations = protocolDecl.memberBlock.members
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMacro.swift:21:42: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
19 |         }
20 |
21 |         let resource = node.argument?.as(TupleExprElementListSyntax.self)?.first?.as(TupleExprElementSyntax.self)?.expression
   |                                          |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
   |                                          `- note: use 'LabeledExprListSyntax' instead
22 |
23 |         let declarations = protocolDecl.memberBlock.members
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMacro.swift:21:86: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
19 |         }
20 |
21 |         let resource = node.argument?.as(TupleExprElementListSyntax.self)?.first?.as(TupleExprElementSyntax.self)?.expression
   |                                                                                      |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
   |                                                                                      `- note: use 'LabeledExprSyntax' instead
22 |
23 |         let declarations = protocolDecl.memberBlock.members
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMacro.swift:50:50: error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
48 |     ) -> FunctionDeclSyntax? {
49 |         // TODO: require method
50 |         guard let method = declaration.attributes?.first?.as(AttributeSyntax.self)?.attributeName.description else {
   |                                                  `- error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
51 |             context.diagnose(diagnostics.methodRequired(node: declaration))
52 |             return nil
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMacro.swift:71:29: warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
69 |         }
70 |
71 |         return protocolDecl.identifier.text
   |                             |- warning: 'identifier' is deprecated: renamed to 'name' [#DeprecatedDeclaration]
   |                             `- note: use 'name' instead
72 |     }
73 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[204/214] Compiling SwiftRequestMacros MethodDiagnostics.swift
[205/214] Emitting module SwiftRequestMacros
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/FunctionParameter.swift:14:71: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
12 |     }
13 |
14 |     static func getArguments(from syntax: FunctionParameterSyntax) -> TupleExprElementListSyntax? {
   |                                                                       |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
   |                                                                       `- note: use 'LabeledExprListSyntax' instead
15 |         return syntax.attributes?.first?.as(AttributeSyntax.self)?.argument?.as(TupleExprElementListSyntax.self)
16 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[206/214] Compiling SwiftRequestMacros MethodMacro.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/MethodMacro.swift:20:51: error: cannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'
18 |         }
19 |
20 |         if let staticModifier = funcDecl.modifiers?.first(where: {
   |                                                   `- error: cannot use optional chaining on non-optional value of type 'DeclModifierListSyntax'
21 |             $0.name.tokenKind == TokenKind.keyword(.static)
22 |         })?.as(DeclModifierSyntax.self) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/MethodMacro.swift:33:51: warning: 'output' is deprecated: renamed to 'returnClause' [#DeprecatedDeclaration]
31 |         }
32 |
33 |         guard let returnType = funcDecl.signature.output?.returnType else {
   |                                                   |- warning: 'output' is deprecated: renamed to 'returnClause' [#DeprecatedDeclaration]
   |                                                   `- note: use 'returnClause' instead
34 |             context.diagnose(diagnostics.outputTypeRequired(node: funcDecl))
35 |             return []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/MethodMacro.swift:33:59: warning: 'returnType' is deprecated: renamed to 'type' [#DeprecatedDeclaration]
31 |         }
32 |
33 |         guard let returnType = funcDecl.signature.output?.returnType else {
   |                                                           |- warning: 'returnType' is deprecated: renamed to 'type' [#DeprecatedDeclaration]
   |                                                           `- note: use 'type' instead
34 |             context.diagnose(diagnostics.outputTypeRequired(node: funcDecl))
35 |             return []
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/MethodMacro.swift:50:26: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
48 |         in context: some MacroExpansionContext
49 |     ) -> Bool {
50 |         if outputType.is(SimpleTypeIdentifierSyntax.self) {
   |                          |- warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
   |                          `- note: use 'IdentifierTypeSyntax' instead
51 |             return true
52 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/MethodMacro.swift:55:51: warning: 'elementType' is deprecated: renamed to 'element' [#DeprecatedDeclaration]
53 |
54 |         if let arrayType = outputType.as(ArrayTypeSyntax.self) {
55 |             return validate(outputType: arrayType.elementType, in: context)
   |                                                   |- warning: 'elementType' is deprecated: renamed to 'element' [#DeprecatedDeclaration]
   |                                                   `- note: use 'element' instead
56 |         }
57 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[207/214] Compiling SwiftRequestMacros Diagnostics.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/FunctionParameter.swift:14:71: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
12 |     }
13 |
14 |     static func getArguments(from syntax: FunctionParameterSyntax) -> TupleExprElementListSyntax? {
   |                                                                       |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
   |                                                                       `- note: use 'LabeledExprListSyntax' instead
15 |         return syntax.attributes?.first?.as(AttributeSyntax.self)?.argument?.as(TupleExprElementListSyntax.self)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/FunctionParameter.swift:15:33: error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
13 |
14 |     static func getArguments(from syntax: FunctionParameterSyntax) -> TupleExprElementListSyntax? {
15 |         return syntax.attributes?.first?.as(AttributeSyntax.self)?.argument?.as(TupleExprElementListSyntax.self)
   |                                 `- error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
16 |     }
17 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[208/214] Compiling SwiftRequestMacros FunctionParameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/FunctionParameter.swift:14:71: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
12 |     }
13 |
14 |     static func getArguments(from syntax: FunctionParameterSyntax) -> TupleExprElementListSyntax? {
   |                                                                       |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
   |                                                                       `- note: use 'LabeledExprListSyntax' instead
15 |         return syntax.attributes?.first?.as(AttributeSyntax.self)?.argument?.as(TupleExprElementListSyntax.self)
16 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/FunctionParameter.swift:15:33: error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
13 |
14 |     static func getArguments(from syntax: FunctionParameterSyntax) -> TupleExprElementListSyntax? {
15 |         return syntax.attributes?.first?.as(AttributeSyntax.self)?.argument?.as(TupleExprElementListSyntax.self)
   |                                 `- error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
16 |     }
17 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[209/214] Compiling SwiftRequestMacros ServiceMethodExpander.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:30:70: warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
 28 |             for attributeElement in attributes {
 29 |                 guard let attribute = attributeElement.as(AttributeSyntax.self),
 30 |                       let attributeType = attribute.attributeName.as(SimpleTypeIdentifierSyntax.self)
    |                                                                      |- warning: 'SimpleTypeIdentifierSyntax' is deprecated: renamed to 'IdentifierTypeSyntax' [#DeprecatedDeclaration]
    |                                                                      `- note: use 'IdentifierTypeSyntax' instead
 31 |                 else {
 32 |                   continue
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:27:12: error: initializer for conditional binding must have Optional type, not 'AttributeListSyntax'
 25 |         var methodAttribute: AttributeSyntax!
 26 |
 27 |         if let attributes = declaration.attributes {
    |            `- error: initializer for conditional binding must have Optional type, not 'AttributeListSyntax'
 28 |             for attributeElement in attributes {
 29 |                 guard let attribute = attributeElement.as(AttributeSyntax.self),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:64:61: error: 'nil' cannot be used in context expecting type 'AttributeListSyntax'
 62 |             )
 63 |             .with(\.signature.input.parameterList, convert(declaration.signature.input.parameterList))
 64 |             .with(\.attributes, newListAttributes.isEmpty ? nil : newListAttributes)
    |                                                             `- error: 'nil' cannot be used in context expecting type 'AttributeListSyntax'
 65 |             .with(\.body, codeBlock)
 66 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:72:61: error: 'nil' is not compatible with expected argument type 'AttributeListSyntax'
 70 |     private func convert(_ parameters: FunctionParameterListSyntax) -> FunctionParameterListSyntax {
 71 |         FunctionParameterListSyntax(parameters.map { parameter in
 72 |             var newParameter = parameter.with(\.attributes, nil)
    |                                                             `- error: 'nil' is not compatible with expected argument type 'AttributeListSyntax'
 73 |
 74 |             if parameter.type.is(OptionalTypeSyntax.self) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:88:13: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
 86 |     ) -> FunctionCallExprSyntax{
 87 |         FunctionCallExprSyntax(callee: "Request" as ExprSyntax) {
 88 |             TupleExprElementSyntax(label: "url", expression: endpoint)
    |             |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
    |             `- note: use 'LabeledExprSyntax' instead
 89 |
 90 |             if method != "GET" {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:91:17: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
 89 |
 90 |             if method != "GET" {
 91 |                 TupleExprElementSyntax(label: "method", expression: StringLiteralExprSyntax(content: method))
    |                 |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
    |                 `- note: use 'LabeledExprSyntax' instead
 92 |             }
 93 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:95:17: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
 93 |
 94 |             if let queryParams = expandParameter("QueryParam", of: declaration, in: context) {
 95 |                 TupleExprElementSyntax(label: "queryParams", expression: queryParams)
    |                 |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
    |                 `- note: use 'LabeledExprSyntax' instead
 96 |             }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:99:17: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
 97 |
 98 |             if let headers = expandParameter("Header", of: declaration, in: context) {
 99 |                 TupleExprElementSyntax(label: "headers", expression: headers)
    |                 |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
    |                 `- note: use 'LabeledExprSyntax' instead
100 |             }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:103:17: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
101 |
102 |             if let formFields = expandParameter("FormField", of: declaration, in: context) {
103 |                 TupleExprElementSyntax(label: "formFields", expression: formFields)
    |                 |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
    |                 `- note: use 'LabeledExprSyntax' instead
104 |             }
105 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:107:17: warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
105 |
106 |             if let body = expandBody(of: declaration, in: context) {
107 |                 TupleExprElementSyntax(label: "body", expression: IdentifierExprSyntax(identifier: body))
    |                 |- warning: 'TupleExprElementSyntax' is deprecated: renamed to 'LabeledExprSyntax' [#DeprecatedDeclaration]
    |                 `- note: use 'LabeledExprSyntax' instead
108 |             }
109 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:107:67: warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax' [#DeprecatedDeclaration]
105 |
106 |             if let body = expandBody(of: declaration, in: context) {
107 |                 TupleExprElementSyntax(label: "body", expression: IdentifierExprSyntax(identifier: body))
    |                                                                   |- warning: 'IdentifierExprSyntax' is deprecated: renamed to 'DeclReferenceExprSyntax' [#DeprecatedDeclaration]
    |                                                                   `- note: use 'DeclReferenceExprSyntax' instead
108 |             }
109 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:107:67: warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' [#DeprecatedDeclaration]
105 |
106 |             if let body = expandBody(of: declaration, in: context) {
107 |                 TupleExprElementSyntax(label: "body", expression: IdentifierExprSyntax(identifier: body))
    |                                                                   |- warning: 'init(leadingTrivia:_:identifier:_:declNameArguments:_:trailingTrivia:)' is deprecated: renamed to 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' [#DeprecatedDeclaration]
    |                                                                   `- note: use 'DeclReferenceExprSyntax(leadingTrivia:_:baseName:_:argumentNames:_:trailingTrivia:)' instead
108 |             }
109 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:143:17: warning: 'init(leadingTrivia:_:keyExpression:_:colon:_:valueExpression:_:trailingComma:_:trailingTrivia:)' is deprecated: renamed to 'DictionaryElementSyntax(leadingTrivia:_:key:_:colon:_:value:_:trailingComma:_:trailingTrivia:)' [#DeprecatedDeclaration]
141 |         let dict = DictionaryElementListSyntax {
142 |             for parameter in parameters {
143 |                 DictionaryElementSyntax(
    |                 |- warning: 'init(leadingTrivia:_:keyExpression:_:colon:_:valueExpression:_:trailingComma:_:trailingTrivia:)' is deprecated: renamed to 'DictionaryElementSyntax(leadingTrivia:_:key:_:colon:_:value:_:trailingComma:_:trailingTrivia:)' [#DeprecatedDeclaration]
    |                 `- note: use 'DictionaryElementSyntax(leadingTrivia:_:key:_:colon:_:value:_:trailingComma:_:trailingTrivia:)' instead
144 |                     keyExpression: StringLiteralExprSyntax(content: parameter.name),
145 |                     valueExpression: "\(raw: parameter.value)" as ExprSyntax
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:158:35: warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
156 |         in context: some MacroExpansionContext
157 |     ) -> ExprSyntax? {
158 |         let arguments = attribute.argument?.as(TupleExprElementListSyntax.self)
    |                                   |- warning: 'argument' is deprecated: renamed to 'arguments' [#DeprecatedDeclaration]
    |                                   `- note: use 'arguments' instead
159 |
160 |         let parameters: [FunctionPathParameter] = getParameters(from: declaration, with: "Path")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:158:48: warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
156 |         in context: some MacroExpansionContext
157 |     ) -> ExprSyntax? {
158 |         let arguments = attribute.argument?.as(TupleExprElementListSyntax.self)
    |                                                |- warning: 'TupleExprElementListSyntax' is deprecated: renamed to 'LabeledExprListSyntax' [#DeprecatedDeclaration]
    |                                                `- note: use 'LabeledExprListSyntax' instead
159 |
160 |         let parameters: [FunctionPathParameter] = getParameters(from: declaration, with: "Path")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:201:52: warning: 'StringLiteralSegmentsSyntax' is deprecated: renamed to 'StringLiteralSegmentListSyntax' [#DeprecatedDeclaration]
199 |
200 |         // replace
201 |         let newPath = pathLiteral.with(\.segments, StringLiteralSegmentsSyntax(
    |                                                    |- warning: 'StringLiteralSegmentsSyntax' is deprecated: renamed to 'StringLiteralSegmentListSyntax' [#DeprecatedDeclaration]
    |                                                    `- note: use 'StringLiteralSegmentListSyntax' instead
202 |             pathLiteral.segments.compactMap { segment in
203 |                 guard let stringSegment = segment.as(StringSegmentSyntax.self) else {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:211:24: warning: 'StringLiteralSegmentsSyntax' is deprecated: renamed to 'StringLiteralSegmentListSyntax' [#DeprecatedDeclaration]
209 |                 }
210 |
211 |                 return StringLiteralSegmentsSyntax.Element(StringSegmentSyntax(content: .stringSegment(newPath)))
    |                        |- warning: 'StringLiteralSegmentsSyntax' is deprecated: renamed to 'StringLiteralSegmentListSyntax' [#DeprecatedDeclaration]
    |                        `- note: use 'StringLiteralSegmentListSyntax' instead
212 |             }
213 |         ))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/ServiceMethodExpander.swift:222:33: error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
220 |     private func getParameters<T: FunctionParameter>(from declaration: FunctionDeclSyntax, with attributeName: String) -> [T] {
221 |         return declaration.signature.input.parameterList.filter { parameter in
222 |             parameter.attributes?.contains(where: { attribute in
    |                                 `- error: cannot use optional chaining on non-optional value of type 'AttributeListSyntax'
223 |                 attribute.as(AttributeSyntax.self)?.attributeName.as(SimpleTypeIdentifierSyntax.self)?.name.text == attributeName
224 |             }) ?? false
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[210/215] Compiling SwiftRequestMacros SwiftRequestPlugin.swift
Fetching https://github.com/apple/swift-syntax.git
[1/70906] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.13s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (5.67s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
BUILD FAILURE 6.2 macosSpm