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

Successful build of SwiftNet, reference 2.0.6 (24560f), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 01:58:17 UTC.

Swift 6 data race errors: 0

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/neothXT/SwiftNet.git
Reference: 2.0.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/neothXT/SwiftNet
 * tag               2.0.6      -> FETCH_HEAD
HEAD is now at 24560fd Merge pull request #4 from neothXT/rc/2.0.6
Cloned https://github.com/neothXT/SwiftNet.git
Revision (git rev-parse @):
24560fd41b16c78b5d6090167d6a8748be4bcb8f
SUCCESS checkout https://github.com/neothXT/SwiftNet.git at 2.0.6
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/neothXT/SwiftNet.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
[19/22] Write swift-version-1EA4D86E10B52AF.txt
[21/40] Compiling SwiftSyntax509 Empty.swift
[22/40] Emitting module SwiftSyntax509
[23/86] Compiling SwiftSyntax AbsolutePosition.swift
[24/86] Compiling SwiftSyntax Assert.swift
[25/86] Compiling SwiftSyntax BumpPtrAllocator.swift
[26/86] Compiling SwiftSyntax CommonAncestor.swift
[27/86] Compiling SwiftSyntax Convenience.swift
[28/91] Compiling SwiftSyntax Syntax.swift
[29/91] Compiling SwiftSyntax SyntaxArena.swift
[30/91] Compiling SwiftSyntax SyntaxChildren.swift
[31/91] Compiling SwiftSyntax SyntaxCollection.swift
[32/91] Compiling SwiftSyntax SyntaxData.swift
[33/91] Compiling SNUtilities Method.swift
[34/91] Emitting module SNUtilities
[35/91] Compiling SNUtilities AccessTokenStrategy.swift
[36/91] Compiling SNUtilities AccessTokenConvertible.swift
[37/91] Compiling SNUtilities Method.swift
[38/91] Compiling SNUtilities SNAccessToken.swift
[39/91] Compiling SNUtilities EndpointData.swift
[40/91] Compiling SNUtilities EndpointDescriptor.swift
[41/91] Compiling SNUtilities Boundary.swift
[42/91] Compiling SNUtilities EndpointDescriptor.swift
[43/91] Compiling SNUtilities EndpointData.swift
[44/91] Compiling SNUtilities SNAccessToken.swift
[45/91] Compiling SNUtilities AccessTokenStrategy.swift
[46/91] Compiling SNUtilities Boundary.swift
[47/91] Compiling SNUtilities AccessTokenConvertible.swift
[48/91] Emitting module SNUtilities
[49/91] Emitting module SwiftSyntax
[50/91] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[51/91] Compiling SwiftSyntax SyntaxBaseNodes.swift
[52/91] Compiling SwiftSyntax SyntaxCollections.swift
[53/91] Compiling SwiftSyntax SyntaxEnum.swift
[54/91] Compiling SwiftSyntax SyntaxKind.swift
[55/91] Compiling SwiftSyntax Utils.swift
[56/91] Compiling SwiftSyntax ChildNameForKeyPath.swift
[57/91] Compiling SwiftSyntax Keyword.swift
[58/91] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[59/91] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[60/91] Compiling SwiftSyntax Tokens.swift
[61/91] Compiling SwiftSyntax TriviaPieces.swift
[62/91] Compiling SwiftSyntax RawSyntaxNodes.swift
[63/91] Compiling SwiftSyntax RawSyntaxValidation.swift
[64/91] Compiling SwiftSyntax SyntaxDeclNodes.swift
[65/91] Compiling SwiftSyntax SyntaxExprNodes.swift
[66/91] Compiling SwiftSyntax SyntaxNodes.swift
[67/91] Compiling SwiftSyntax SyntaxPatternNodes.swift
[68/91] Compiling SwiftSyntax SyntaxStmtNodes.swift
[69/91] Compiling SwiftSyntax SyntaxTypeNodes.swift
[70/91] Compiling SwiftSyntax MemoryLayout.swift
[71/91] Compiling SwiftSyntax MissingNodeInitializers.swift
[72/91] Compiling SwiftSyntax RawSyntax.swift
[73/91] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[74/91] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[75/91] Compiling SwiftSyntax SyntaxRewriter.swift
[76/91] Compiling SwiftSyntax SyntaxTraits.swift
[77/91] Compiling SwiftSyntax SyntaxTransform.swift
[78/91] Compiling SwiftSyntax SyntaxVisitor.swift
[79/91] Compiling SwiftSyntax TokenKind.swift
[80/91] Compiling SwiftSyntax RawSyntaxTokenView.swift
[81/91] Compiling SwiftSyntax SourceLength.swift
[82/91] Compiling SwiftSyntax SourceLocation.swift
[83/91] Compiling SwiftSyntax SourcePresence.swift
[84/91] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[85/91] Compiling SwiftSyntax SyntaxText.swift
[86/91] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[87/91] Compiling SwiftSyntax TokenDiagnostic.swift
[88/91] Compiling SwiftSyntax TokenSyntax.swift
[89/91] Compiling SwiftSyntax Trivia.swift
[90/143] Compiling SwiftDiagnostics Note.swift
[91/143] Compiling SwiftDiagnostics Message.swift
[92/143] Compiling SwiftBasicFormat Syntax+Extensions.swift
[93/143] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[94/143] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[95/143] Compiling SwiftDiagnostics Diagnostic.swift
[96/143] Compiling SwiftDiagnostics FixIt.swift
[97/143] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[98/143] Compiling SwiftDiagnostics Convenience.swift
[99/143] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[100/143] Emitting module SwiftDiagnostics
[101/143] Emitting module SwiftBasicFormat
[102/143] Compiling SwiftBasicFormat BasicFormat.swift
[103/143] Compiling SwiftParser Statements.swift
[104/143] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[105/143] Compiling SwiftParser StringLiterals.swift
[106/143] Compiling SwiftParser SwiftParserCompatibility.swift
[107/147] Compiling SwiftParser UnicodeScalarExtensions.swift
[108/147] Compiling SwiftParser Lookahead.swift
[109/147] Compiling SwiftParser LoopProgressCondition.swift
[110/147] Compiling SwiftParser Modifiers.swift
[111/147] Compiling SwiftParser Lexeme.swift
[112/147] Compiling SwiftParser LexemeSequence.swift
[113/147] Compiling SwiftParser Lexer.swift
[114/147] Compiling SwiftParser RegexLiteralLexer.swift
[115/147] Compiling SwiftParser Parser.swift
[116/147] Compiling SwiftParser Patterns.swift
[117/147] Compiling SwiftParser Recovery.swift
[118/147] Compiling SwiftParser Specifiers.swift
[119/147] Compiling SwiftParser Names.swift
[120/147] Compiling SwiftParser Nominals.swift
[121/147] Compiling SwiftParser Parameters.swift
[122/147] Compiling SwiftParser ParseSourceFile.swift
[123/147] Compiling SwiftParser SyntaxUtils.swift
[124/147] Compiling SwiftParser TokenConsumer.swift
[125/147] Compiling SwiftParser TokenPrecedence.swift
[126/147] Compiling SwiftParser TokenSpec.swift
[127/147] Compiling SwiftParser TokenSpecSet.swift
[128/147] Compiling SwiftParser TopLevel.swift
[129/147] Compiling SwiftParser TriviaParser.swift
[130/147] Compiling SwiftParser Types.swift
[131/147] Emitting module SwiftParser
[132/147] Compiling SwiftParser IsLexerClassified.swift
[133/147] Compiling SwiftParser LayoutNodes+Parsable.swift
[134/147] Compiling SwiftParser Parser+TokenSpecSet.swift
[135/147] Compiling SwiftParser TokenSpecStaticMembers.swift
[136/147] Compiling SwiftParser Attributes.swift
[137/147] Compiling SwiftParser Availability.swift
[138/147] Compiling SwiftParser CharacterInfo.swift
[139/147] Compiling SwiftParser CollectionNodes+Parsable.swift
[140/147] Compiling SwiftParser Declarations.swift
[141/147] Compiling SwiftParser Directives.swift
[142/147] Compiling SwiftParser ExperimentalFeatures.swift
[143/147] Compiling SwiftParser Expressions.swift
[144/147] Compiling SwiftParser IncrementalParseTransition.swift
[145/147] Compiling SwiftParser Cursor.swift
[146/170] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[147/171] Compiling SwiftOperators PrecedenceGroup.swift
[148/171] Compiling SwiftOperators OperatorTable.swift
[149/172] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[150/172] Compiling SwiftOperators PrecedenceGraph.swift
[151/172] Compiling SwiftOperators OperatorTable+Semantics.swift
[152/172] Compiling SwiftOperators SyntaxSynthesis.swift
[153/172] Compiling SwiftOperators OperatorTable+Defaults.swift
[154/172] Compiling SwiftOperators OperatorError.swift
[155/172] Compiling SwiftOperators Operator.swift
[156/172] Compiling SwiftOperators OperatorError+Diagnostics.swift
[157/172] Emitting module SwiftOperators
[158/172] Compiling SwiftOperators OperatorTable+Folding.swift
[159/172] Compiling SwiftParserDiagnostics Utils.swift
[160/172] Compiling SwiftParserDiagnostics PresenceUtils.swift
[161/172] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[162/172] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[163/172] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[164/172] Emitting module SwiftParserDiagnostics
[165/172] Compiling SwiftParserDiagnostics MissingNodesError.swift
[166/172] Compiling SwiftParserDiagnostics MissingTokenError.swift
[167/172] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[168/172] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[169/172] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[170/172] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[171/186] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[172/187] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[173/187] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[174/187] Compiling SwiftSyntaxBuilder Indenter.swift
[175/187] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[176/187] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[177/187] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[178/187] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[179/187] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[180/187] Emitting module SwiftSyntaxBuilder
[181/187] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[182/187] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[183/187] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[184/187] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[185/187] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[186/201] Compiling SwiftSyntaxMacros MemberMacro.swift
[187/201] Compiling SwiftSyntaxMacros Macro.swift
[188/201] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[189/201] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[190/201] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[191/201] Compiling SwiftSyntaxMacros Macro+Format.swift
[192/201] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[193/201] Compiling SwiftSyntaxMacros AccessorMacro.swift
[194/201] Compiling SwiftSyntaxMacros AttachedMacro.swift
[195/201] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[196/201] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[197/202] Emitting module SwiftSyntaxMacros
[198/202] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[199/202] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[200/202] Compiling SwiftSyntaxMacros PeerMacro.swift
[201/210] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[202/210] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[203/210] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[204/210] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[205/210] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[206/210] Emitting module SwiftSyntaxMacroExpansion
[207/210] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[208/210] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[209/217] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[210/217] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[211/217] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[212/217] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[213/217] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[214/217] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[215/217] Emitting module SwiftCompilerPluginMessageHandling
[216/219] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[217/219] Emitting module SwiftCompilerPlugin
[218/225] Compiling SNMacros SNMacrosPlugin.swift
[219/225] Compiling SNMacros VariableDetector.swift
[220/225] Compiling SNMacros SNDiagnostics.swift
[221/225] Emitting module SNMacros
[222/225] Compiling SNMacros EndpointMacro.swift
[223/225] Compiling SNMacros RequestMacros.swift
[223/225] Write Objects.LinkFileList
[224/225] Linking SNMacros-tool
[226/229] Compiling SwiftNetMacros SwiftNetMacros.swift
[227/229] Emitting module SwiftNetMacros
[228/229] Compiling SwiftNetMacros SwiftNetMacros.swift
[229/229] Emitting module SwiftNetMacros
[230/279] Compiling SwiftNet EndpointModel.swift
[231/279] Compiling SwiftNet AnyPublisher + asAccessTokenConvertible.swift
[232/279] Compiling SwiftNet AnyPublisher + toAsyncTask.swift
[233/281] Emitting module SwiftNet
[234/283] Compiling SwiftNet SNConfig + extensions.swift
[235/283] Compiling SwiftNet SNConfig.swift
[236/283] Compiling SwiftNet AccessTokenStorage.swift
[237/283] Emitting module SwiftNet
[238/283] Compiling SwiftNet Keychain.swift
[239/283] Compiling SwiftNet PinningMode.swift
[240/283] Compiling SwiftNet SNWebSocket.swift
[241/283] Compiling SwiftNet WebSocketConnectionParameters.swift
[242/283] Compiling SwiftNet URLRequest + cURL.swift
[243/283] Compiling SwiftNet CertificateExplorer.swift
[244/283] Compiling SwiftNet Encodable + extensions.swift
[248/283] Compiling SwiftNet SNDebugInfo.swift
[249/283] Compiling SwiftNet SNError.swift
[255/283] Compiling SwiftNet UploadResponse.swift
[258/283] Compiling SwiftNet Encodable + extensions.swift
[259/283] Compiling SwiftNet Endpoint.swift
[260/283] Compiling SwiftNet SNDataEncoder.swift
[261/283] Compiling SwiftNet SNProvider + Test.swift
[262/283] Compiling SwiftNet BridgingEndpoint.swift
[263/283] Compiling SwiftNet Endpoint.swift
[264/283] Compiling SwiftNet SNDataEncoder.swift
[265/283] Compiling SwiftNet SNProvider + defaultURLMapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:32: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:38: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:164:15: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 |
163 |     /// Returns publisher which automatically converts the response data into given response type
164 |     open func publisher<U: Decodable>(
    |               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 |         for endpoint: T,
166 |         responseType: U.Type,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:166:9: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |     open func publisher<U: Decodable>(
165 |         for endpoint: T,
166 |         responseType: U.Type,
    |         `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
167 |         decoder: JSONDecoder? = nil,
168 |         expectedStatusCodes: [Int] = [200, 201, 204],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:319:5: warning: capture of non-sendable type 'U.Type' in an isolated closure
317 | 		let task = session.uploadTask(with: urlRequest, from: data) { data, response, error in
318 | 			if let error = error {
319 | 				publisher.send(completion: .failure(error))
    |     `- warning: capture of non-sendable type 'U.Type' in an isolated closure
320 | 				return
321 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:313:7: warning: capture of non-sendable type 'U.Type' in an isolated closure
311 | 		}
312 |
313 | 		let publisher: PassthroughSubject<UploadResponse<U>, Error> = .init()
    |       `- warning: capture of non-sendable type 'U.Type' in an isolated closure
314 | 		let session = SNConfig.getSession(ignorePinning: ignorePinning)
315 | 		let sessionDelegate = session.delegate as! SNSimpleSessionDelegate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:299:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
297 |
298 | 	private func prepUploadPublisher<U: Codable>(
299 |         for endpoint: T,
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
300 |         responseType: U.Type,
301 |         decoder: JSONDecoder? = nil,
[266/283] Compiling SwiftNet SNProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:32: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:38: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:164:15: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 |
163 |     /// Returns publisher which automatically converts the response data into given response type
164 |     open func publisher<U: Decodable>(
    |               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 |         for endpoint: T,
166 |         responseType: U.Type,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:166:9: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |     open func publisher<U: Decodable>(
165 |         for endpoint: T,
166 |         responseType: U.Type,
    |         `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
167 |         decoder: JSONDecoder? = nil,
168 |         expectedStatusCodes: [Int] = [200, 201, 204],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:319:5: warning: capture of non-sendable type 'U.Type' in an isolated closure
317 | 		let task = session.uploadTask(with: urlRequest, from: data) { data, response, error in
318 | 			if let error = error {
319 | 				publisher.send(completion: .failure(error))
    |     `- warning: capture of non-sendable type 'U.Type' in an isolated closure
320 | 				return
321 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:313:7: warning: capture of non-sendable type 'U.Type' in an isolated closure
311 | 		}
312 |
313 | 		let publisher: PassthroughSubject<UploadResponse<U>, Error> = .init()
    |       `- warning: capture of non-sendable type 'U.Type' in an isolated closure
314 | 		let session = SNConfig.getSession(ignorePinning: ignorePinning)
315 | 		let sessionDelegate = session.delegate as! SNSimpleSessionDelegate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:299:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
297 |
298 | 	private func prepUploadPublisher<U: Codable>(
299 |         for endpoint: T,
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
300 |         responseType: U.Type,
301 |         decoder: JSONDecoder? = nil,
[267/283] Compiling SwiftNet SNTaskType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:32: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:38: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:164:15: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 |
163 |     /// Returns publisher which automatically converts the response data into given response type
164 |     open func publisher<U: Decodable>(
    |               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 |         for endpoint: T,
166 |         responseType: U.Type,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:166:9: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |     open func publisher<U: Decodable>(
165 |         for endpoint: T,
166 |         responseType: U.Type,
    |         `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
167 |         decoder: JSONDecoder? = nil,
168 |         expectedStatusCodes: [Int] = [200, 201, 204],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:319:5: warning: capture of non-sendable type 'U.Type' in an isolated closure
317 | 		let task = session.uploadTask(with: urlRequest, from: data) { data, response, error in
318 | 			if let error = error {
319 | 				publisher.send(completion: .failure(error))
    |     `- warning: capture of non-sendable type 'U.Type' in an isolated closure
320 | 				return
321 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:313:7: warning: capture of non-sendable type 'U.Type' in an isolated closure
311 | 		}
312 |
313 | 		let publisher: PassthroughSubject<UploadResponse<U>, Error> = .init()
    |       `- warning: capture of non-sendable type 'U.Type' in an isolated closure
314 | 		let session = SNConfig.getSession(ignorePinning: ignorePinning)
315 | 		let sessionDelegate = session.delegate as! SNSimpleSessionDelegate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:299:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
297 |
298 | 	private func prepUploadPublisher<U: Codable>(
299 |         for endpoint: T,
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
300 |         responseType: U.Type,
301 |         decoder: JSONDecoder? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:32: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:38: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:164:15: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 |
163 |     /// Returns publisher which automatically converts the response data into given response type
164 |     open func publisher<U: Decodable>(
    |               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 |         for endpoint: T,
166 |         responseType: U.Type,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:166:9: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |     open func publisher<U: Decodable>(
165 |         for endpoint: T,
166 |         responseType: U.Type,
    |         `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
167 |         decoder: JSONDecoder? = nil,
168 |         expectedStatusCodes: [Int] = [200, 201, 204],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:319:5: warning: capture of non-sendable type 'U.Type' in an isolated closure
317 | 		let task = session.uploadTask(with: urlRequest, from: data) { data, response, error in
318 | 			if let error = error {
319 | 				publisher.send(completion: .failure(error))
    |     `- warning: capture of non-sendable type 'U.Type' in an isolated closure
320 | 				return
321 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:313:7: warning: capture of non-sendable type 'U.Type' in an isolated closure
311 | 		}
312 |
313 | 		let publisher: PassthroughSubject<UploadResponse<U>, Error> = .init()
    |       `- warning: capture of non-sendable type 'U.Type' in an isolated closure
314 | 		let session = SNConfig.getSession(ignorePinning: ignorePinning)
315 | 		let sessionDelegate = session.delegate as! SNSimpleSessionDelegate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:299:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
297 |
298 | 	private func prepUploadPublisher<U: Codable>(
299 |         for endpoint: T,
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
300 |         responseType: U.Type,
301 |         decoder: JSONDecoder? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:32: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:38: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:164:15: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 |
163 |     /// Returns publisher which automatically converts the response data into given response type
164 |     open func publisher<U: Decodable>(
    |               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 |         for endpoint: T,
166 |         responseType: U.Type,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:166:9: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |     open func publisher<U: Decodable>(
165 |         for endpoint: T,
166 |         responseType: U.Type,
    |         `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
167 |         decoder: JSONDecoder? = nil,
168 |         expectedStatusCodes: [Int] = [200, 201, 204],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:319:5: warning: capture of non-sendable type 'U.Type' in an isolated closure
317 | 		let task = session.uploadTask(with: urlRequest, from: data) { data, response, error in
318 | 			if let error = error {
319 | 				publisher.send(completion: .failure(error))
    |     `- warning: capture of non-sendable type 'U.Type' in an isolated closure
320 | 				return
321 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:313:7: warning: capture of non-sendable type 'U.Type' in an isolated closure
311 | 		}
312 |
313 | 		let publisher: PassthroughSubject<UploadResponse<U>, Error> = .init()
    |       `- warning: capture of non-sendable type 'U.Type' in an isolated closure
314 | 		let session = SNConfig.getSession(ignorePinning: ignorePinning)
315 | 		let sessionDelegate = session.delegate as! SNSimpleSessionDelegate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:299:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
297 |
298 | 	private func prepUploadPublisher<U: Codable>(
299 |         for endpoint: T,
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
300 |         responseType: U.Type,
301 |         decoder: JSONDecoder? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:32: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:176:38: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
174 |         Task {
175 |             do {
176 |                 let data = try await task(
    |                                      `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
177 |                     for: endpoint,
178 |                     responseType: responseType,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:164:15: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 |
163 |     /// Returns publisher which automatically converts the response data into given response type
164 |     open func publisher<U: Decodable>(
    |               `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 |         for endpoint: T,
166 |         responseType: U.Type,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:166:9: warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
164 |     open func publisher<U: Decodable>(
165 |         for endpoint: T,
166 |         responseType: U.Type,
    |         `- warning: capture of non-sendable type 'U.Type' in an isolated closure; this is an error in the Swift 6 language mode
167 |         decoder: JSONDecoder? = nil,
168 |         expectedStatusCodes: [Int] = [200, 201, 204],
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:319:5: warning: capture of non-sendable type 'U.Type' in an isolated closure
317 | 		let task = session.uploadTask(with: urlRequest, from: data) { data, response, error in
318 | 			if let error = error {
319 | 				publisher.send(completion: .failure(error))
    |     `- warning: capture of non-sendable type 'U.Type' in an isolated closure
320 | 				return
321 | 			}
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:313:7: warning: capture of non-sendable type 'U.Type' in an isolated closure
311 | 		}
312 |
313 | 		let publisher: PassthroughSubject<UploadResponse<U>, Error> = .init()
    |       `- warning: capture of non-sendable type 'U.Type' in an isolated closure
314 | 		let session = SNConfig.getSession(ignorePinning: ignorePinning)
315 | 		let sessionDelegate = session.delegate as! SNSimpleSessionDelegate
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNet/Request/SNProvider.swift:299:13: warning: capture of non-sendable type 'T.Type' in an isolated closure
297 |
298 | 	private func prepUploadPublisher<U: Codable>(
299 |         for endpoint: T,
    |             `- warning: capture of non-sendable type 'T.Type' in an isolated closure
300 |         responseType: U.Type,
301 |         decoder: JSONDecoder? = nil,
Build complete! (38.04s)
Fetching https://github.com/apple/swift-syntax.git
[1/70923] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.34s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (6.26s)
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 complete.
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "509.0.0",
            "upper_bound" : "510.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.git"
    }
  ],
  "manifest_display_name" : "SwiftNet",
  "name" : "SwiftNet",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftNet",
      "targets" : [
        "SwiftNet",
        "SNUtilities",
        "SwiftNetMacros"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SNMacros",
      "targets" : [
        "SNMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNetTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNetTests",
      "path" : "Tests/SwiftNetTests",
      "sources" : [
        "AccessTokenManipulationTests.swift",
        "Comment.swift",
        "EncodableConversionTests.swift",
        "MacroPoweredApproachTests.swift",
        "Post.swift",
        "RemoteEndpoint.swift",
        "SwiftNetTests.swift",
        "TestEndpoint.swift",
        "TestParamsModel.swift",
        "Todo.swift",
        "WebSocketTests.swift"
      ],
      "target_dependencies" : [
        "SwiftNet",
        "SwiftNetMacros",
        "SNMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNetMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNetMacrosTests",
      "path" : "Tests/SwiftNetMacrosTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "SwiftNetMacrosTests.swift"
      ],
      "target_dependencies" : [
        "SwiftNetMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNetMacros",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNetMacros",
      "path" : "Sources/SwiftNetMacros",
      "product_memberships" : [
        "SwiftNet"
      ],
      "sources" : [
        "SwiftNetMacros.swift"
      ],
      "target_dependencies" : [
        "SNMacros",
        "SNUtilities"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftNet",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNet",
      "path" : "Sources/SwiftNet",
      "product_memberships" : [
        "SwiftNet"
      ],
      "sources" : [
        "Config/SNConfig + extensions.swift",
        "Config/SNConfig.swift",
        "Data/AccessTokenStorage.swift",
        "Data/Encodable + extensions.swift",
        "Data/Endpoint.swift",
        "Data/SNDataEncoder.swift",
        "Data/UploadResponse.swift",
        "Debugging/SNDebugInfo.swift",
        "Debugging/SNError.swift",
        "Debugging/SNProvider + Test.swift",
        "EndpointBuilder/BridgingEndpoint.swift",
        "EndpointBuilder/EndpointBuilder.swift",
        "EndpointBuilder/EndpointModel.swift",
        "Request/AnyPublisher + asAccessTokenConvertible.swift",
        "Request/AnyPublisher + toAsyncTask.swift",
        "Request/SNProvider + defaultURLMapper.swift",
        "Request/SNProvider.swift",
        "Request/SNTaskType.swift",
        "Request/URLRequest + cURL.swift",
        "Session/CertificateExplorer.swift",
        "Session/Keychain.swift",
        "Session/PinningMode.swift",
        "Session/SNNetworkMonitor.swift",
        "Session/SNSessionDelegate.swift",
        "WebSocket/SNWebSocket.swift",
        "WebSocket/WebSocketConnectionParameters.swift"
      ],
      "target_dependencies" : [
        "SNUtilities",
        "SwiftNetMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SNUtilities",
      "module_type" : "SwiftTarget",
      "name" : "SNUtilities",
      "path" : "Sources/SNUtilities",
      "product_memberships" : [
        "SwiftNet",
        "SNMacros"
      ],
      "sources" : [
        "Authorization/AccessTokenConvertible.swift",
        "Authorization/AccessTokenStrategy.swift",
        "Authorization/SNAccessToken.swift",
        "Request/Boundary.swift",
        "Request/EndpointData.swift",
        "Request/EndpointDescriptor.swift",
        "Request/Method.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SNMacros",
      "module_type" : "SwiftTarget",
      "name" : "SNMacros",
      "path" : "Sources/SNMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "SwiftNet",
        "SNMacros"
      ],
      "sources" : [
        "EndpointMacro/EndpointMacro.swift",
        "RequestMacros/RequestMacros.swift",
        "RequestMacros/VariableDetector.swift",
        "SNDiagnostics.swift",
        "SNMacrosPlugin.swift"
      ],
      "target_dependencies" : [
        "SNUtilities"
      ],
      "type" : "macro"
    }
  ],
  "tools_version" : "5.9"
}
Done.