Build Information
Failed to build SwiftRequest, reference 0.1.0 (7f3664
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 14:40:13 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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
Fetching https://github.com/apple/swift-syntax.git
[1/70233] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.15s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-05-20-a (4.32s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-05-20-a
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-request",
"name": "SwiftRequest",
"url": "https://github.com/ailtonvivaz/swift-request.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-request",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/apple/swift-syntax.git",
"version": "509.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ailtonvivaz/swift-request.git
[1/174] Fetching swift-request
Fetched https://github.com/ailtonvivaz/swift-request.git from cache (0.66s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.90s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.61s)
Creating working copy for https://github.com/ailtonvivaz/swift-request.git
Working copy of https://github.com/ailtonvivaz/swift-request.git resolved at 0.1.0 (7f36644)
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
Found 1 product dependencies
- swift-syntax
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ailtonvivaz/swift-request.git
https://github.com/ailtonvivaz/swift-request.git
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0-swift-5.9-DEVELOPMENT-SNAPSHOT-2023-04-25-b",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "SwiftRequest",
"name" : "SwiftRequest",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftRequest",
"targets" : [
"SwiftRequest"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftRequestClient",
"targets" : [
"SwiftRequestClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftRequestMacros",
"targets" : [
"SwiftRequestMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftRequestTests",
"module_type" : "SwiftTarget",
"name" : "SwiftRequestTests",
"path" : "Tests/SwiftRequestTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"MethodMacroTests.swift",
"ServiceTests.swift"
],
"target_dependencies" : [
"SwiftRequestMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftRequestMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftRequestMacros",
"path" : "Sources/SwiftRequestMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"SwiftRequest",
"SwiftRequestClient",
"SwiftRequestMacros"
],
"sources" : [
"Diagnostics.swift",
"FunctionParameter.swift",
"MethodDiagnostics.swift",
"MethodMacro.swift",
"ParamMacro.swift",
"RequestDiagnostics.swift",
"ServiceDiagnostics.swift",
"ServiceMacro.swift",
"ServiceMethodExpander.swift",
"SimpleDiagnosticMessage.swift",
"SwiftRequestPlugin.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftRequestClient",
"module_type" : "SwiftTarget",
"name" : "SwiftRequestClient",
"path" : "Sources/SwiftRequestClient",
"product_memberships" : [
"SwiftRequestClient"
],
"sources" : [
"Quote.swift",
"QuoteService.swift",
"TestService.swift",
"main.swift"
],
"target_dependencies" : [
"SwiftRequest"
],
"type" : "executable"
},
{
"c99name" : "SwiftRequest",
"module_type" : "SwiftTarget",
"name" : "SwiftRequest",
"path" : "Sources/SwiftRequest",
"product_memberships" : [
"SwiftRequest",
"SwiftRequestClient"
],
"sources" : [
"HTTPResponseError.swift",
"Macros/MethodMacros.swift",
"Macros/ParamMacros.swift",
"Macros/ServiceMacros.swift",
"Request.swift",
"Service.swift",
"URLSession+execute.swift"
],
"target_dependencies" : [
"SwiftRequestMacros"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/21] Write sources
[5/21] Write SwiftRequestClient-entitlement.plist
[6/21] Write sources
[15/21] Write swift-version-2F0A5646E1D333AE.txt
[17/65] Compiling SwiftSyntax AbsolutePosition.swift
[18/65] Compiling SwiftSyntax Assert.swift
[19/65] Compiling SwiftSyntax BumpPtrAllocator.swift
[20/65] Compiling SwiftSyntax CommonAncestor.swift
[21/65] Compiling SwiftSyntax IncrementalParseTransition.swift
[22/69] Compiling SwiftSyntax RawSyntaxTokenView.swift
[23/69] Compiling SwiftSyntax SourceLength.swift
[24/69] Compiling SwiftSyntax SourceLocation.swift
[25/69] Compiling SwiftSyntax SourcePresence.swift
[26/69] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[27/69] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[28/69] Compiling SwiftSyntax TokenDiagnostic.swift
[29/69] Compiling SwiftSyntax TokenSyntax.swift
[30/69] Compiling SwiftSyntax Trivia.swift
[31/69] Compiling SwiftSyntax Utils.swift
[32/69] Compiling SwiftSyntax Syntax.swift
[33/69] Compiling SwiftSyntax SyntaxArena.swift
[34/69] Compiling SwiftSyntax SyntaxChildren.swift
[35/69] Compiling SwiftSyntax SyntaxData.swift
[36/69] Compiling SwiftSyntax SyntaxText.swift
[37/69] Emitting module SwiftSyntax
[38/69] Compiling SwiftSyntax SyntaxNodes.swift
[39/69] Compiling SwiftSyntax SyntaxPatternNodes.swift
[40/69] Compiling SwiftSyntax SyntaxStmtNodes.swift
[41/69] Compiling SwiftSyntax SyntaxTypeNodes.swift
[42/69] Compiling SwiftSyntax ChildNameForKeyPath.swift
[43/69] Compiling SwiftSyntax Keyword.swift
[44/69] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[45/69] Compiling SwiftSyntax SyntaxBaseNodes.swift
[46/69] Compiling SwiftSyntax SyntaxCollections.swift
[47/69] Compiling SwiftSyntax SyntaxEnum.swift
[48/69] Compiling SwiftSyntax SyntaxKind.swift
[49/69] Compiling SwiftSyntax SyntaxRewriter.swift
[50/69] Compiling SwiftSyntax SyntaxTraits.swift
[51/69] Compiling SwiftSyntax SyntaxTransform.swift
[52/69] Compiling SwiftSyntax MemoryLayout.swift
[53/69] Compiling SwiftSyntax MissingNodeInitializers.swift
[54/69] Compiling SwiftSyntax RawSyntax.swift
[55/69] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[56/69] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[57/69] Compiling SwiftSyntax RawSyntaxNodes.swift
[58/69] Compiling SwiftSyntax RawSyntaxValidation.swift
[59/69] Compiling SwiftSyntax SyntaxDeclNodes.swift
[60/69] Compiling SwiftSyntax SyntaxExprNodes.swift
[61/69] Compiling SwiftSyntax SyntaxVisitor.swift
[62/69] Compiling SwiftSyntax TokenKind.swift
[63/69] Compiling SwiftSyntax Tokens.swift
[64/69] Compiling SwiftSyntax TriviaPieces.swift
[65/117] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[66/117] Compiling SwiftDiagnostics Note.swift
[67/117] Compiling SwiftDiagnostics Message.swift
[68/117] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[69/117] Compiling SwiftDiagnostics Diagnostic.swift
[70/117] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[71/117] Emitting module SwiftDiagnostics
[72/117] Compiling SwiftDiagnostics FixIt.swift
[73/117] Compiling SwiftBasicFormat BasicFormat+Extensions.swift
[74/117] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[75/117] Emitting module SwiftBasicFormat
[76/117] Compiling SwiftBasicFormat BasicFormat.swift
[77/117] Compiling SwiftParser Types.swift
[78/117] Compiling SwiftParser DeclarationModifier.swift
[79/117] Compiling SwiftParser IsLexerClassified.swift
[80/120] Emitting module SwiftParser
[81/120] Compiling SwiftParser Lookahead.swift
[82/120] Compiling SwiftParser LoopProgressCondition.swift
[83/120] Compiling SwiftParser Modifiers.swift
[84/120] Compiling SwiftParser Names.swift
[85/120] Compiling SwiftParser LexemeSequence.swift
[86/120] Compiling SwiftParser Lexer.swift
[87/120] Compiling SwiftParser RegexLiteralLexer.swift
[88/120] Compiling SwiftParser UnicodeScalarExtensions.swift
[89/120] Compiling SwiftParser StringLiterals.swift
[90/120] Compiling SwiftParser SyntaxUtils.swift
[91/120] Compiling SwiftParser TokenConsumer.swift
[92/120] Compiling SwiftParser TokenPrecedence.swift
[93/120] Compiling SwiftParser TokenSpec.swift
[94/120] Compiling SwiftParser TokenSpecSet.swift
[95/120] Compiling SwiftParser TopLevel.swift
[96/120] Compiling SwiftParser TriviaParser.swift
[97/120] Compiling SwiftParser Recovery.swift
[98/120] Compiling SwiftParser Specifiers.swift
[99/120] Compiling SwiftParser Statements.swift
[100/120] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[101/120] Compiling SwiftParser Parser+Entry.swift
[102/120] Compiling SwiftParser TokenSpecStaticMembers.swift
[103/120] Compiling SwiftParser TypeAttribute.swift
[104/120] Compiling SwiftParser Attributes.swift
[105/120] Compiling SwiftParser Availability.swift
[106/120] Compiling SwiftParser CharacterInfo.swift
[107/120] Compiling SwiftParser Declarations.swift
[108/120] Compiling SwiftParser Nominals.swift
[109/120] Compiling SwiftParser Parameters.swift
[110/120] Compiling SwiftParser Parser.swift
[111/120] Compiling SwiftParser Patterns.swift
[112/120] Compiling SwiftParser Directives.swift
[113/120] Compiling SwiftParser Expressions.swift
[114/120] Compiling SwiftParser Cursor.swift
[115/120] Compiling SwiftParser Lexeme.swift
[116/143] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[117/144] Compiling SwiftOperators PrecedenceGroup.swift
[118/145] Compiling SwiftOperators PrecedenceGraph.swift
[119/145] Compiling SwiftOperators OperatorTable.swift
[120/145] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[121/145] Compiling SwiftOperators SyntaxSynthesis.swift
[122/145] Compiling SwiftOperators OperatorTable+Defaults.swift
[123/145] Compiling SwiftOperators OperatorError.swift
[124/145] Compiling SwiftOperators OperatorTable+Semantics.swift
[125/145] Compiling SwiftOperators OperatorError+Diagnostics.swift
[126/145] Compiling SwiftOperators Operator.swift
[127/145] Emitting module SwiftOperators
[128/145] Compiling SwiftOperators OperatorTable+Folding.swift
[129/145] Compiling SwiftParserDiagnostics Utils.swift
[130/145] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[131/145] Compiling SwiftParserDiagnostics PresenceUtils.swift
[132/145] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[133/145] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[134/145] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[135/145] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[136/145] Compiling SwiftParserDiagnostics MissingNodesError.swift
[137/145] Compiling SwiftParserDiagnostics MissingTokenError.swift
[138/145] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[139/145] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[140/145] Emitting module SwiftParserDiagnostics
[141/156] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[142/157] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[143/157] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[144/157] Emitting module SwiftSyntaxBuilder
[145/157] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[146/157] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[147/157] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[148/157] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[149/157] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[150/157] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[151/157] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[152/157] Compiling SwiftSyntaxBuilder Indenter.swift
[153/176] Compiling SwiftSyntaxMacros AccessorMacro.swift
[154/176] Compiling SwiftSyntaxMacros AttachedMacro.swift
[155/176] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[156/176] Compiling SwiftSyntaxMacros Macro+Format.swift
[157/176] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[158/176] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[159/176] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[160/176] Compiling SwiftSyntaxMacros ConformanceMacro.swift
[161/176] Compiling SwiftSyntaxMacros FunctionParameterUtils.swift
[162/176] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[163/176] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[164/176] Compiling SwiftSyntaxMacros BasicMacroExpansionContext.swift
[165/176] Emitting module SwiftSyntaxMacros
[166/176] Compiling SwiftSyntaxMacros MemberMacro.swift
[167/176] Compiling SwiftSyntaxMacros PeerMacro.swift
[168/176] Compiling SwiftSyntaxMacros Macro.swift
[169/176] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[170/176] Compiling SwiftSyntaxMacros MacroReplacement.swift
[171/176] Compiling SwiftSyntaxMacros MacroSystem.swift
[172/177] Compiling SwiftSyntaxMacros Syntax+MacroEvaluation.swift
[173/179] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[174/179] Emitting module SwiftSyntaxMacroExpansion
[175/185] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[176/185] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[177/185] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[178/185] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[179/185] Emitting module SwiftCompilerPluginMessageHandling
[180/185] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[181/187] Emitting module SwiftCompilerPlugin
[182/187] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[183/198] Compiling SwiftRequestMacros MethodDiagnostics.swift
[184/199] Compiling SwiftRequestMacros ParamMacro.swift
[185/199] Compiling SwiftRequestMacros ServiceMacro.swift
[186/199] Compiling SwiftRequestMacros RequestDiagnostics.swift
[187/199] Compiling SwiftRequestMacros MethodMacro.swift
[188/199] Emitting module SwiftRequestMacros
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:36:9: warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
34 | struct CustomMessage: DiagnosticMessage, Error {
35 | let message: String
36 | let diagnosticID: MessageID
| `- warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
37 | let severity: DiagnosticSeverity
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:19:15: note: struct 'MessageID' does not conform to the 'Sendable' protocol
17 | /// same wording. Eg. it’s possible that the message contains more context when
18 | /// available.
19 | public struct MessageID: Hashable {
| `- note: struct 'MessageID' does not conform to the 'Sendable' protocol
20 | private let domain: String
21 | private let id: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
1 | import SwiftSyntax
2 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
3 |
4 | protocol Diagnostics {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:37:9: warning: stored property 'severity' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
35 | let message: String
36 | let diagnosticID: MessageID
37 | let severity: DiagnosticSeverity
| `- warning: stored property 'severity' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
38 |
39 | init(_ message: String, id: MessageID, severity: DiagnosticSeverity) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:29:13: note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
27 | }
28 |
29 | public enum DiagnosticSeverity {
| `- note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
30 | case error
31 | case warning
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/SimpleDiagnosticMessage.swift:6:7: warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
4 | struct SimpleDiagnosticMessage: DiagnosticMessage, Error {
5 | let message: String
6 | let diagnosticID: MessageID
| `- warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
7 | let severity: DiagnosticSeverity
8 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:19:15: note: struct 'MessageID' does not conform to the 'Sendable' protocol
17 | /// same wording. Eg. it’s possible that the message contains more context when
18 | /// available.
19 | public struct MessageID: Hashable {
| `- note: struct 'MessageID' does not conform to the 'Sendable' protocol
20 | private let domain: String
21 | private let id: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/SimpleDiagnosticMessage.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
1 | import SwiftSyntax
2 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
3 |
4 | struct SimpleDiagnosticMessage: DiagnosticMessage, Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/SimpleDiagnosticMessage.swift:7:7: warning: stored property 'severity' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
5 | let message: String
6 | let diagnosticID: MessageID
7 | let severity: DiagnosticSeverity
| `- warning: stored property 'severity' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:29:13: note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
27 | }
28 |
29 | public enum DiagnosticSeverity {
| `- note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
30 | case error
31 | case warning
[189/199] Compiling SwiftRequestMacros Diagnostics.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:36:9: warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
34 | struct CustomMessage: DiagnosticMessage, Error {
35 | let message: String
36 | let diagnosticID: MessageID
| `- warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
37 | let severity: DiagnosticSeverity
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:19:15: note: struct 'MessageID' does not conform to the 'Sendable' protocol
17 | /// same wording. Eg. it’s possible that the message contains more context when
18 | /// available.
19 | public struct MessageID: Hashable {
| `- note: struct 'MessageID' does not conform to the 'Sendable' protocol
20 | private let domain: String
21 | private let id: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
1 | import SwiftSyntax
2 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
3 |
4 | protocol Diagnostics {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:37:9: warning: stored property 'severity' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
35 | let message: String
36 | let diagnosticID: MessageID
37 | let severity: DiagnosticSeverity
| `- warning: stored property 'severity' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
38 |
39 | init(_ message: String, id: MessageID, severity: DiagnosticSeverity) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:29:13: note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
27 | }
28 |
29 | public enum DiagnosticSeverity {
| `- note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
30 | case error
31 | case warning
[190/199] Compiling SwiftRequestMacros FunctionParameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:36:9: warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
34 | struct CustomMessage: DiagnosticMessage, Error {
35 | let message: String
36 | let diagnosticID: MessageID
| `- warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
37 | let severity: DiagnosticSeverity
38 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:19:15: note: struct 'MessageID' does not conform to the 'Sendable' protocol
17 | /// same wording. Eg. it’s possible that the message contains more context when
18 | /// available.
19 | public struct MessageID: Hashable {
| `- note: struct 'MessageID' does not conform to the 'Sendable' protocol
20 | private let domain: String
21 | private let id: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
1 | import SwiftSyntax
2 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
3 |
4 | protocol Diagnostics {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/Diagnostics.swift:37:9: warning: stored property 'severity' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
35 | let message: String
36 | let diagnosticID: MessageID
37 | let severity: DiagnosticSeverity
| `- warning: stored property 'severity' of 'Sendable'-conforming struct 'CustomMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
38 |
39 | init(_ message: String, id: MessageID, severity: DiagnosticSeverity) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:29:13: note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
27 | }
28 |
29 | public enum DiagnosticSeverity {
| `- note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
30 | case error
31 | case warning
[191/199] Compiling SwiftRequestMacros SwiftRequestPlugin.swift
[192/199] Compiling SwiftRequestMacros ServiceDiagnostics.swift
[193/199] Compiling SwiftRequestMacros SimpleDiagnosticMessage.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/SimpleDiagnosticMessage.swift:6:7: warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
4 | struct SimpleDiagnosticMessage: DiagnosticMessage, Error {
5 | let message: String
6 | let diagnosticID: MessageID
| `- warning: stored property 'diagnosticID' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'MessageID'; this is an error in the Swift 6 language mode
7 | let severity: DiagnosticSeverity
8 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:19:15: note: struct 'MessageID' does not conform to the 'Sendable' protocol
17 | /// same wording. Eg. it’s possible that the message contains more context when
18 | /// available.
19 | public struct MessageID: Hashable {
| `- note: struct 'MessageID' does not conform to the 'Sendable' protocol
20 | private let domain: String
21 | private let id: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/SimpleDiagnosticMessage.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
1 | import SwiftSyntax
2 | import SwiftDiagnostics
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftDiagnostics'
3 |
4 | struct SimpleDiagnosticMessage: DiagnosticMessage, Error {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestMacros/SimpleDiagnosticMessage.swift:7:7: warning: stored property 'severity' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
5 | let message: String
6 | let diagnosticID: MessageID
7 | let severity: DiagnosticSeverity
| `- warning: stored property 'severity' of 'Sendable'-conforming struct 'SimpleDiagnosticMessage' has non-sendable type 'DiagnosticSeverity'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:29:13: note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
27 | }
28 |
29 | public enum DiagnosticSeverity {
| `- note: enum 'DiagnosticSeverity' does not conform to the 'Sendable' protocol
30 | case error
31 | case warning
[194/199] Compiling SwiftRequestMacros ServiceMethodExpander.swift
[194/199] Write Objects.LinkFileList
[195/199] Linking SwiftRequestMacros-tool
[197/207] Compiling SwiftRequest Service.swift
[198/207] Compiling SwiftRequest URLSession+execute.swift
[199/207] Compiling SwiftRequest Request.swift
[200/207] Compiling SwiftRequest ServiceMacros.swift
[201/207] Compiling SwiftRequest ParamMacros.swift
[202/207] Compiling SwiftRequest MethodMacros.swift
[203/207] Compiling SwiftRequest HTTPResponseError.swift
[204/207] Emitting module SwiftRequest
error: emit-module command failed with exit code 1 (use -v to see invocation)
[205/212] Compiling SwiftRequestClient main.swift
[206/212] Compiling SwiftRequestClient Quote.swift
[207/212] Emitting module SwiftRequestClient
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:7:26: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol QuoteService {
6 | @GET("random")
7 | func getRandomQuotes(@QueryParam limit: Int?) async throws -> [Quote]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 |
9 | @GET("{id}")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:10:19: error: 'member' macro cannot be attached to parameter ('id')
8 |
9 | @GET("{id}")
10 | func getQuote(@Path by id: String) async throws -> Quote
| `- error: 'member' macro cannot be attached to parameter ('id')
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:16: error: 'member' macro cannot be attached to parameter ('id')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('id')
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:35: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 | }
9 |
[208/212] Compiling SwiftRequestClient TestService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:16: error: 'member' macro cannot be attached to parameter ('id')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('id')
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:35: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 | }
9 |
macro expansion @Service:5:80: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:8:2: note: expanded code originates here
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
8 | }
+--- macro expansion @Service ---------------------------------------
|3 |
|4 | func hello(id: String? = nil, limit: Int) async throws -> [Int] {
|5 | let request = Request(url: resourceURL.appendingPathComponent("hello/\(id)/\(limit)"), method: "POST")
| | |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
|6 | return try await session.execute(request)
|7 | }
+--------------------------------------------------------------------
9 |
[209/212] Compiling SwiftRequestClient QuoteService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:7:26: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol QuoteService {
6 | @GET("random")
7 | func getRandomQuotes(@QueryParam limit: Int?) async throws -> [Quote]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 |
9 | @GET("{id}")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:10:19: error: 'member' macro cannot be attached to parameter ('id')
8 |
9 | @GET("{id}")
10 | func getQuote(@Path by id: String) async throws -> Quote
| `- error: 'member' macro cannot be attached to parameter ('id')
11 | }
12 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/6] Write swift-version-2F0A5646E1D333AE.txt
[2/50] Compiling SwiftSyntax AbsolutePosition.swift
[3/50] Compiling SwiftSyntax Assert.swift
[4/50] Compiling SwiftSyntax BumpPtrAllocator.swift
[5/50] Compiling SwiftSyntax CommonAncestor.swift
[6/50] Compiling SwiftSyntax IncrementalParseTransition.swift
[7/54] Compiling SwiftSyntax MemoryLayout.swift
[8/54] Compiling SwiftSyntax MissingNodeInitializers.swift
[9/54] Compiling SwiftSyntax RawSyntax.swift
[10/54] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[11/54] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[12/54] Compiling SwiftSyntax RawSyntaxTokenView.swift
[13/54] Compiling SwiftSyntax SourceLength.swift
[14/54] Compiling SwiftSyntax SourceLocation.swift
[15/54] Compiling SwiftSyntax SourcePresence.swift
[16/54] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[17/54] Emitting module SwiftSyntax
[18/54] Compiling SwiftSyntax SyntaxEnum.swift
[19/54] Compiling SwiftSyntax SyntaxKind.swift
[20/54] Compiling SwiftSyntax SyntaxRewriter.swift
[21/54] Compiling SwiftSyntax SyntaxTraits.swift
[22/54] Compiling SwiftSyntax SyntaxTransform.swift
[23/54] Compiling SwiftSyntax SyntaxNodes.swift
[24/54] Compiling SwiftSyntax SyntaxPatternNodes.swift
[25/54] Compiling SwiftSyntax SyntaxStmtNodes.swift
[26/54] Compiling SwiftSyntax SyntaxTypeNodes.swift
[27/54] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[28/54] Compiling SwiftSyntax TokenDiagnostic.swift
[29/54] Compiling SwiftSyntax TokenSyntax.swift
[30/54] Compiling SwiftSyntax Trivia.swift
[31/54] Compiling SwiftSyntax Utils.swift
[32/54] Compiling SwiftSyntax Syntax.swift
[33/54] Compiling SwiftSyntax SyntaxArena.swift
[34/54] Compiling SwiftSyntax SyntaxChildren.swift
[35/54] Compiling SwiftSyntax SyntaxData.swift
[36/54] Compiling SwiftSyntax SyntaxText.swift
[37/54] Compiling SwiftSyntax ChildNameForKeyPath.swift
[38/54] Compiling SwiftSyntax Keyword.swift
[39/54] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[40/54] Compiling SwiftSyntax SyntaxBaseNodes.swift
[41/54] Compiling SwiftSyntax SyntaxCollections.swift
[42/54] Compiling SwiftSyntax RawSyntaxNodes.swift
[43/54] Compiling SwiftSyntax RawSyntaxValidation.swift
[44/54] Compiling SwiftSyntax SyntaxDeclNodes.swift
[45/54] Compiling SwiftSyntax SyntaxExprNodes.swift
[46/54] Compiling SwiftSyntax SyntaxVisitor.swift
[47/54] Compiling SwiftSyntax TokenKind.swift
[48/54] Compiling SwiftSyntax Tokens.swift
[49/54] Compiling SwiftSyntax TriviaPieces.swift
[50/102] Compiling SwiftDiagnostics Note.swift
[51/102] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[52/102] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[53/102] Compiling SwiftBasicFormat BasicFormat+Extensions.swift
[54/102] Emitting module SwiftDiagnostics
[55/102] Compiling SwiftDiagnostics Message.swift
[56/102] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[57/102] Compiling SwiftDiagnostics FixIt.swift
[58/102] Compiling SwiftDiagnostics Diagnostic.swift
[59/102] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[60/102] Emitting module SwiftBasicFormat
[61/102] Compiling SwiftBasicFormat BasicFormat.swift
[62/102] Compiling SwiftParser Lookahead.swift
[63/102] Compiling SwiftParser LoopProgressCondition.swift
[64/102] Compiling SwiftParser Modifiers.swift
[65/102] Compiling SwiftParser Names.swift
[66/105] Compiling SwiftParser StringLiterals.swift
[67/105] Compiling SwiftParser SyntaxUtils.swift
[68/105] Compiling SwiftParser TokenConsumer.swift
[69/105] Compiling SwiftParser TokenPrecedence.swift
[70/105] Compiling SwiftParser Nominals.swift
[71/105] Compiling SwiftParser Parameters.swift
[72/105] Compiling SwiftParser Parser.swift
[73/105] Compiling SwiftParser Patterns.swift
[74/105] Compiling SwiftParser Parser+Entry.swift
[75/105] Compiling SwiftParser TokenSpecStaticMembers.swift
[76/105] Compiling SwiftParser TypeAttribute.swift
[77/105] Compiling SwiftParser Types.swift
[78/105] Compiling SwiftParser DeclarationModifier.swift
[79/105] Compiling SwiftParser IsLexerClassified.swift
[80/105] Compiling SwiftParser Recovery.swift
[81/105] Compiling SwiftParser Specifiers.swift
[82/105] Compiling SwiftParser Statements.swift
[83/105] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[84/105] Compiling SwiftParser LexemeSequence.swift
[85/105] Compiling SwiftParser Lexer.swift
[86/105] Compiling SwiftParser RegexLiteralLexer.swift
[87/105] Compiling SwiftParser UnicodeScalarExtensions.swift
[88/105] Emitting module SwiftParser
[89/105] Compiling SwiftParser Attributes.swift
[90/105] Compiling SwiftParser Availability.swift
[91/105] Compiling SwiftParser CharacterInfo.swift
[92/105] Compiling SwiftParser Declarations.swift
[93/105] Compiling SwiftParser Directives.swift
[94/105] Compiling SwiftParser Expressions.swift
[95/105] Compiling SwiftParser Cursor.swift
[96/105] Compiling SwiftParser Lexeme.swift
[97/105] Compiling SwiftParser TokenSpec.swift
[98/105] Compiling SwiftParser TokenSpecSet.swift
[99/105] Compiling SwiftParser TopLevel.swift
[100/105] Compiling SwiftParser TriviaParser.swift
[101/128] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[102/129] Compiling SwiftOperators PrecedenceGroup.swift
[103/129] Compiling SwiftOperators PrecedenceGraph.swift
[104/130] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[105/130] Compiling SwiftOperators OperatorTable+Semantics.swift
[106/130] Compiling SwiftOperators OperatorTable+Defaults.swift
[107/130] Compiling SwiftOperators OperatorTable.swift
[108/130] Compiling SwiftOperators OperatorError.swift
[109/130] Compiling SwiftOperators OperatorError+Diagnostics.swift
[110/130] Compiling SwiftOperators Operator.swift
[111/130] Compiling SwiftOperators OperatorTable+Folding.swift
[112/130] Emitting module SwiftOperators
[113/130] Compiling SwiftOperators SyntaxSynthesis.swift
[114/130] Compiling SwiftParserDiagnostics PresenceUtils.swift
[115/130] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[116/130] Compiling SwiftParserDiagnostics Utils.swift
[117/130] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[118/130] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[119/130] Emitting module SwiftParserDiagnostics
[120/130] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[121/130] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[122/130] Compiling SwiftParserDiagnostics MissingNodesError.swift
[123/130] Compiling SwiftParserDiagnostics MissingTokenError.swift
[124/130] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[125/130] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[126/141] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[127/142] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[128/142] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[129/142] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[130/142] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[131/142] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[132/142] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[133/142] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[134/142] Emitting module SwiftSyntaxBuilder
[135/142] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[136/142] Compiling SwiftSyntaxBuilder Indenter.swift
[137/142] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[138/161] Compiling SwiftSyntaxMacros MemberMacro.swift
[139/161] Compiling SwiftSyntaxMacros PeerMacro.swift
[140/161] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[141/161] Compiling SwiftSyntaxMacros Macro+Format.swift
[142/161] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[143/161] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[144/161] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[145/161] Compiling SwiftSyntaxMacros ConformanceMacro.swift
[146/161] Compiling SwiftSyntaxMacros Macro.swift
[147/161] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[148/161] Emitting module SwiftSyntaxMacros
[149/161] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[150/161] Compiling SwiftSyntaxMacros BasicMacroExpansionContext.swift
[151/161] Compiling SwiftSyntaxMacros MacroReplacement.swift
[152/161] Compiling SwiftSyntaxMacros MacroSystem.swift
[153/161] Compiling SwiftSyntaxMacros AccessorMacro.swift
[154/161] Compiling SwiftSyntaxMacros AttachedMacro.swift
[155/161] Compiling SwiftSyntaxMacros FunctionParameterUtils.swift
[156/161] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[157/162] Compiling SwiftSyntaxMacros Syntax+MacroEvaluation.swift
[158/164] Emitting module SwiftSyntaxMacroExpansion
[159/164] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[160/170] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[161/170] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[162/170] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[163/170] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[164/170] Emitting module SwiftCompilerPluginMessageHandling
[165/170] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[166/172] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[167/172] Emitting module SwiftCompilerPlugin
[168/183] Compiling SwiftRequestMacros MethodMacro.swift
[169/184] Emitting module SwiftRequestMacros
[170/184] Compiling SwiftRequestMacros Diagnostics.swift
[171/184] Compiling SwiftRequestMacros FunctionParameter.swift
[172/184] Compiling SwiftRequestMacros MethodDiagnostics.swift
[173/184] Compiling SwiftRequestMacros SwiftRequestPlugin.swift
[174/184] Compiling SwiftRequestMacros ServiceMacro.swift
[175/184] Compiling SwiftRequestMacros SimpleDiagnosticMessage.swift
[176/184] Compiling SwiftRequestMacros RequestDiagnostics.swift
[177/184] Compiling SwiftRequestMacros ServiceDiagnostics.swift
[178/184] Compiling SwiftRequestMacros ServiceMethodExpander.swift
[179/184] Compiling SwiftRequestMacros ParamMacro.swift
[179/184] Write Objects.LinkFileList
[180/184] Linking SwiftRequestMacros-tool
[182/192] Compiling SwiftRequest Service.swift
[183/192] Compiling SwiftRequest URLSession+execute.swift
[184/192] Compiling SwiftRequest Request.swift
[185/192] Compiling SwiftRequest ServiceMacros.swift
[186/192] Compiling SwiftRequest ParamMacros.swift
[187/192] Compiling SwiftRequest HTTPResponseError.swift
[188/192] Compiling SwiftRequest MethodMacros.swift
[189/192] Emitting module SwiftRequest
error: emit-module command failed with exit code 1 (use -v to see invocation)
[190/197] Compiling SwiftRequestClient Quote.swift
[191/197] Compiling SwiftRequestClient main.swift
[192/197] Emitting module SwiftRequestClient
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:7:26: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol QuoteService {
6 | @GET("random")
7 | func getRandomQuotes(@QueryParam limit: Int?) async throws -> [Quote]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 |
9 | @GET("{id}")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:10:19: error: 'member' macro cannot be attached to parameter ('id')
8 |
9 | @GET("{id}")
10 | func getQuote(@Path by id: String) async throws -> Quote
| `- error: 'member' macro cannot be attached to parameter ('id')
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:16: error: 'member' macro cannot be attached to parameter ('id')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('id')
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:35: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 | }
9 |
[193/197] Compiling SwiftRequestClient TestService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:16: error: 'member' macro cannot be attached to parameter ('id')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('id')
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:7:35: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol SampleService {
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 | }
9 |
macro expansion @Service:5:80: warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/TestService.swift:8:2: note: expanded code originates here
6 | @POST("hello/{id}/{limit}")
7 | func hello(@Path id: String?, @Path limit: Int) async throws -> [Int]
8 | }
+--- macro expansion @Service ---------------------------------------
|3 |
|4 | func hello(id: String? = nil, limit: Int) async throws -> [Int] {
|5 | let request = Request(url: resourceURL.appendingPathComponent("hello/\(id)/\(limit)"), method: "POST")
| | |- warning: string interpolation produces a debug description for an optional value; did you mean to make this explicit?
| | |- note: use 'String(describing:)' to silence this warning
| | `- note: provide a default value to avoid this warning
|6 | return try await session.execute(request)
|7 | }
+--------------------------------------------------------------------
9 |
[194/197] Compiling SwiftRequestClient QuoteService.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:7:26: error: 'member' macro cannot be attached to parameter ('limit')
5 | protocol QuoteService {
6 | @GET("random")
7 | func getRandomQuotes(@QueryParam limit: Int?) async throws -> [Quote]
| `- error: 'member' macro cannot be attached to parameter ('limit')
8 |
9 | @GET("{id}")
/Users/admin/builder/spi-builder-workspace/Sources/SwiftRequestClient/QuoteService.swift:10:19: error: 'member' macro cannot be attached to parameter ('id')
8 |
9 | @GET("{id}")
10 | func getQuote(@Path by id: String) async throws -> Quote
| `- error: 'member' macro cannot be attached to parameter ('id')
11 | }
12 |
BUILD FAILURE 6.1 macosSpm