Build Information
Failed to build SwiftRequest, reference 0.1.0 (7f3664
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 14:08:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
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/66684] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.76s)
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 (3.45s)
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
[2/174] Fetching swift-request
Fetched https://github.com/ailtonvivaz/swift-request.git from cache (0.65s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.84s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.63s)
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.0
Building package at path: $PWD
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.1.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
[2/21] Write SwiftRequestClient-entitlement.plist
[2/21] Write sources
[15/21] Write swift-version--7754E27361AE5C74.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 SyntaxTreeViewMode.swift
[23/69] Compiling SwiftSyntax TokenDiagnostic.swift
[24/69] Compiling SwiftSyntax TokenSyntax.swift
[25/69] Compiling SwiftSyntax Trivia.swift
[26/69] Compiling SwiftSyntax Utils.swift
[27/69] Compiling SwiftSyntax MemoryLayout.swift
[28/69] Compiling SwiftSyntax MissingNodeInitializers.swift
[29/69] Compiling SwiftSyntax RawSyntax.swift
[30/69] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[31/69] Compiling SwiftSyntax RawSyntaxNodeProtocol.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] Compiling SwiftSyntax SyntaxVisitor.swift
[38/69] Compiling SwiftSyntax TokenKind.swift
[39/69] Compiling SwiftSyntax Tokens.swift
[40/69] Compiling SwiftSyntax TriviaPieces.swift
[41/69] Compiling SwiftSyntax RawSyntaxTokenView.swift
[42/69] Compiling SwiftSyntax SourceLength.swift
[43/69] Compiling SwiftSyntax SourceLocation.swift
[44/69] Compiling SwiftSyntax SourcePresence.swift
[45/69] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[46/69] Emitting module SwiftSyntax
[47/69] Compiling SwiftSyntax ChildNameForKeyPath.swift
[48/69] Compiling SwiftSyntax Keyword.swift
[49/69] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[50/69] Compiling SwiftSyntax SyntaxBaseNodes.swift
[51/69] Compiling SwiftSyntax SyntaxCollections.swift
[52/69] Compiling SwiftSyntax SyntaxNodes.swift
[53/69] Compiling SwiftSyntax SyntaxPatternNodes.swift
[54/69] Compiling SwiftSyntax SyntaxStmtNodes.swift
[55/69] Compiling SwiftSyntax SyntaxTypeNodes.swift
[56/69] Compiling SwiftSyntax SyntaxEnum.swift
[57/69] Compiling SwiftSyntax SyntaxKind.swift
[58/69] Compiling SwiftSyntax SyntaxRewriter.swift
[59/69] Compiling SwiftSyntax SyntaxTraits.swift
[60/69] Compiling SwiftSyntax SyntaxTransform.swift
[61/69] Compiling SwiftSyntax RawSyntaxNodes.swift
[62/69] Compiling SwiftSyntax RawSyntaxValidation.swift
[63/69] Compiling SwiftSyntax SyntaxDeclNodes.swift
[64/69] Compiling SwiftSyntax SyntaxExprNodes.swift
[65/117] Compiling SwiftDiagnostics Message.swift
[66/117] Compiling SwiftDiagnostics FixIt.swift
[67/117] Compiling SwiftDiagnostics Note.swift
[68/117] Compiling SwiftBasicFormat BasicFormat+Extensions.swift
[69/117] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[70/117] Emitting module SwiftDiagnostics
[71/117] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[72/117] Compiling SwiftDiagnostics Diagnostic.swift
[73/117] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[74/117] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[75/117] Compiling SwiftBasicFormat BasicFormat.swift
[76/117] Emitting module SwiftBasicFormat
[77/117] Compiling SwiftParser StringLiterals.swift
[78/117] Compiling SwiftParser SyntaxUtils.swift
[79/117] Compiling SwiftParser TokenConsumer.swift
[80/117] Compiling SwiftParser TokenPrecedence.swift
[81/120] Compiling SwiftParser Parser+Entry.swift
[82/120] Compiling SwiftParser TokenSpecStaticMembers.swift
[83/120] Compiling SwiftParser TypeAttribute.swift
[84/120] Compiling SwiftParser Lookahead.swift
[85/120] Compiling SwiftParser LoopProgressCondition.swift
[86/120] Compiling SwiftParser Modifiers.swift
[87/120] Compiling SwiftParser Names.swift
[88/120] Compiling SwiftParser Nominals.swift
[89/120] Compiling SwiftParser Parameters.swift
[90/120] Compiling SwiftParser Parser.swift
[91/120] Compiling SwiftParser Patterns.swift
[92/120] Compiling SwiftParser Recovery.swift
[93/120] Compiling SwiftParser Specifiers.swift
[94/120] Compiling SwiftParser Statements.swift
[95/120] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[96/120] Compiling SwiftParser LexemeSequence.swift
[97/120] Compiling SwiftParser Lexer.swift
[98/120] Compiling SwiftParser RegexLiteralLexer.swift
[99/120] Compiling SwiftParser UnicodeScalarExtensions.swift
[100/120] Emitting module SwiftParser
[101/120] Compiling SwiftParser Attributes.swift
[102/120] Compiling SwiftParser Availability.swift
[103/120] Compiling SwiftParser CharacterInfo.swift
[104/120] Compiling SwiftParser Declarations.swift
[105/120] Compiling SwiftParser Directives.swift
[106/120] Compiling SwiftParser Expressions.swift
[107/120] Compiling SwiftParser Cursor.swift
[108/120] Compiling SwiftParser Lexeme.swift
[109/120] Compiling SwiftParser TokenSpec.swift
[110/120] Compiling SwiftParser TokenSpecSet.swift
[111/120] Compiling SwiftParser TopLevel.swift
[112/120] Compiling SwiftParser TriviaParser.swift
[113/120] Compiling SwiftParser Types.swift
[114/120] Compiling SwiftParser DeclarationModifier.swift
[115/120] Compiling SwiftParser IsLexerClassified.swift
[116/143] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[117/144] Compiling SwiftOperators PrecedenceGroup.swift
[118/145] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[119/145] Compiling SwiftOperators SyntaxSynthesis.swift
[120/145] Compiling SwiftOperators PrecedenceGraph.swift
[121/145] Compiling SwiftOperators OperatorTable.swift
[122/145] Compiling SwiftOperators OperatorTable+Semantics.swift
[123/145] Compiling SwiftOperators OperatorError.swift
[124/145] Compiling SwiftOperators OperatorTable+Defaults.swift
[125/145] Compiling SwiftOperators OperatorError+Diagnostics.swift
[126/145] Compiling SwiftOperators Operator.swift
[127/145] Compiling SwiftOperators OperatorTable+Folding.swift
[128/145] Compiling SwiftParserDiagnostics PresenceUtils.swift
[129/145] Emitting module SwiftOperators
[130/145] Compiling SwiftParserDiagnostics Utils.swift
[131/145] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[132/145] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[133/145] Compiling SwiftParserDiagnostics MissingNodesError.swift
[134/145] Compiling SwiftParserDiagnostics MissingTokenError.swift
[135/145] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[136/145] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[137/145] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[138/145] Emitting module SwiftParserDiagnostics
[139/145] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[140/145] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[141/156] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[142/157] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[143/157] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[144/157] Compiling SwiftSyntaxBuilder BuildableCollectionNodes.swift
[145/157] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[146/157] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[147/157] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[148/157] Compiling SwiftSyntaxBuilder Indenter.swift
[149/157] Emitting module SwiftSyntaxBuilder
[150/157] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[151/157] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[152/157] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[153/176] Compiling SwiftSyntaxMacros Macro.swift
[154/176] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[155/176] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[156/176] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[157/176] Compiling SwiftSyntaxMacros MemberMacro.swift
[158/176] Compiling SwiftSyntaxMacros PeerMacro.swift
[159/176] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[160/176] Compiling SwiftSyntaxMacros ConformanceMacro.swift
[161/176] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[162/176] Compiling SwiftSyntaxMacros Macro+Format.swift
[163/176] Compiling SwiftSyntaxMacros AccessorMacro.swift
[164/176] Compiling SwiftSyntaxMacros AttachedMacro.swift
[165/176] Compiling SwiftSyntaxMacros FunctionParameterUtils.swift
[166/176] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[167/176] Emitting module SwiftSyntaxMacros
[168/176] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[169/176] Compiling SwiftSyntaxMacros BasicMacroExpansionContext.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 Diagnostics.swift
[176/185] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[177/185] Emitting module SwiftCompilerPluginMessageHandling
[178/185] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[179/185] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[180/185] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[181/187] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[182/187] Emitting module SwiftCompilerPlugin
[183/198] 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
[184/198] 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
[185/198] 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
[186/199] Compiling SwiftRequestMacros SwiftRequestPlugin.swift
[187/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
[188/199] Compiling SwiftRequestMacros ServiceMacro.swift
[189/199] Compiling SwiftRequestMacros ServiceDiagnostics.swift
[190/199] Compiling SwiftRequestMacros MethodMacro.swift
[191/199] Compiling SwiftRequestMacros RequestDiagnostics.swift
[192/199] Compiling SwiftRequestMacros MethodDiagnostics.swift
[193/199] Compiling SwiftRequestMacros ServiceMethodExpander.swift
[194/199] Compiling SwiftRequestMacros ParamMacro.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 HTTPResponseError.swift
[201/207] Compiling SwiftRequest MethodMacros.swift
[202/207] Compiling SwiftRequest ServiceMacros.swift
[203/207] Compiling SwiftRequest ParamMacros.swift
[204/207] Emitting module SwiftRequest
error: emit-module command failed with exit code 1 (use -v to see invocation)
[205/212] Compiling SwiftRequestClient Quote.swift
[206/212] Compiling SwiftRequestClient main.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 |
BUILD FAILURE 6.0 macosSpm