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 SwiftyNetworking, reference main (1f6229), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 06:15:21 UTC.

Swift 6 data race errors: 3

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/piotrekjeremicz/SwiftyNetworking.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/piotrekjeremicz/SwiftyNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1f6229b Merge branch 'hotfix/aftereach-middleware'
Cloned https://github.com/piotrekjeremicz/SwiftyNetworking.git
Revision (git rev-parse @):
1f6229b42e70590d8d51f819a08e83bd80950e14
SUCCESS checkout https://github.com/piotrekjeremicz/SwiftyNetworking.git at main
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[14/455] Fetching cwlcatchexception
[356/1712] Fetching cwlcatchexception, cwlpreconditiontesting
[1236/16452] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[16453/35727] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble
[18381/102411] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble, swift-syntax
Fetched https://github.com/Quick/Quick.git from cache (3.72s)
Fetched https://github.com/Quick/Nimble.git from cache (3.72s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (3.72s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.72s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (3.72s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (3.12s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 10.0.0 (0.57s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 5.0.1 (0.57s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.66s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.73s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 10.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 5.0.1
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
========================================
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": "swiftynetworking",
      "name": "SwiftyNetworking",
      "url": "https://github.com/piotrekjeremicz/SwiftyNetworking.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyNetworking",
      "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/piotrekjeremicz/SwiftyNetworking.git
[1/1405] Fetching swiftynetworking
Fetched https://github.com/piotrekjeremicz/SwiftyNetworking.git from cache (1.06s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.94s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.68s)
Creating working copy for https://github.com/piotrekjeremicz/SwiftyNetworking.git
Working copy of https://github.com/piotrekjeremicz/SwiftyNetworking.git resolved at main (1f6229b)
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/piotrekjeremicz/SwiftyNetworking.git
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.0.0",
            "upper_bound" : "11.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "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" : "SwiftyNetworking",
  "name" : "SwiftyNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Networking",
      "targets" : [
        "Networking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetworkingExampleApp",
      "targets" : [
        "NetworkingExampleApp"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NetworkingMacros",
      "targets" : [
        "NetworkingMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkingMacros",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingMacros",
      "path" : "Sources/NetworkingMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Networking",
        "NetworkingExampleApp",
        "NetworkingMacros"
      ],
      "sources" : [
        "NetworkingMacros.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "NetworkingMacroTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingMacroTests",
      "path" : "Tests/NetworkingMacroTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "NetworkingMacroTests.swift"
      ],
      "target_dependencies" : [
        "NetworkingMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkingExampleApp",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingExampleApp",
      "path" : "Examples/NetworkingExampleApp",
      "product_memberships" : [
        "NetworkingExampleApp"
      ],
      "sources" : [
        "Models.swift",
        "Requests.swift",
        "Service.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Networking"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Networking",
      "module_type" : "SwiftTarget",
      "name" : "Networking",
      "path" : "Sources/Networking",
      "product_memberships" : [
        "Networking",
        "NetworkingExampleApp"
      ],
      "sources" : [
        "Authorization/Provider.swift",
        "Authorization/Scheme.swift",
        "Authorization/Store.swift",
        "Executive/Registry.swift",
        "Executive/Service.swift",
        "Executive/Session.swift",
        "Extensions/DataCoder.swift",
        "Extensions/DecodingError.swift",
        "Request/Configuration.swift",
        "Request/EmptyRequest.swift",
        "Request/HttpRequest.swift",
        "Request/HttpRequests/DeleteRequest.swift",
        "Request/HttpRequests/GetRequest.swift",
        "Request/HttpRequests/PathRequest.swift",
        "Request/HttpRequests/PostRequest.swift",
        "Request/HttpRequests/PutRequest.swift",
        "Request/Request.swift",
        "Response/Builder.swift",
        "Response/Response.swift",
        "Types/Empty.swift",
        "Types/Error.swift",
        "Types/Headers.swift",
        "Types/Json.swift",
        "Types/Key.swift",
        "Types/KeyValue.swift",
        "Types/KeyValueBuilder.swift",
        "Types/ValueBasicType.swift"
      ],
      "target_dependencies" : [
        "NetworkingMacros"
      ],
      "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/22] Write sources
[12/22] Write NetworkingExampleApp-entitlement.plist
[16/22] Write swift-version--7754E27361AE5C74.txt
[18/24] Compiling SwiftSyntax509 Empty.swift
[19/24] Emitting module SwiftSyntax509
[20/70] Compiling SwiftSyntax AbsolutePosition.swift
[21/70] Compiling SwiftSyntax Assert.swift
[22/70] Compiling SwiftSyntax BumpPtrAllocator.swift
[23/70] Compiling SwiftSyntax CommonAncestor.swift
[24/70] Compiling SwiftSyntax Convenience.swift
[25/75] Compiling SwiftSyntax RawSyntaxTokenView.swift
[26/75] Compiling SwiftSyntax SourceLength.swift
[27/75] Compiling SwiftSyntax SourceLocation.swift
[28/75] Compiling SwiftSyntax SourcePresence.swift
[29/75] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[30/75] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[31/75] Compiling SwiftSyntax SyntaxBaseNodes.swift
[32/75] Compiling SwiftSyntax SyntaxCollections.swift
[33/75] Compiling SwiftSyntax SyntaxEnum.swift
[34/75] Compiling SwiftSyntax SyntaxKind.swift
[35/75] Emitting module SwiftSyntax
[36/75] Compiling SwiftSyntax MemoryLayout.swift
[37/75] Compiling SwiftSyntax MissingNodeInitializers.swift
[38/75] Compiling SwiftSyntax RawSyntax.swift
[39/75] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[40/75] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[41/75] Compiling SwiftSyntax Syntax.swift
[42/75] Compiling SwiftSyntax SyntaxArena.swift
[43/75] Compiling SwiftSyntax SyntaxChildren.swift
[44/75] Compiling SwiftSyntax SyntaxCollection.swift
[45/75] Compiling SwiftSyntax SyntaxData.swift
[46/75] Compiling SwiftSyntax SyntaxText.swift
[47/75] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[48/75] Compiling SwiftSyntax TokenDiagnostic.swift
[49/75] Compiling SwiftSyntax TokenSyntax.swift
[50/75] Compiling SwiftSyntax Trivia.swift
[51/75] Compiling SwiftSyntax Utils.swift
[52/75] Compiling SwiftSyntax ChildNameForKeyPath.swift
[53/75] Compiling SwiftSyntax Keyword.swift
[54/75] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[55/75] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[56/75] Compiling SwiftSyntax Tokens.swift
[57/75] Compiling SwiftSyntax TriviaPieces.swift
[58/75] Compiling SwiftSyntax RawSyntaxNodes.swift
[59/75] Compiling SwiftSyntax RawSyntaxValidation.swift
[60/75] Compiling SwiftSyntax SyntaxDeclNodes.swift
[61/75] Compiling SwiftSyntax SyntaxExprNodes.swift
[62/75] Compiling SwiftSyntax SyntaxNodes.swift
[63/75] Compiling SwiftSyntax SyntaxPatternNodes.swift
[64/75] Compiling SwiftSyntax SyntaxStmtNodes.swift
[65/75] Compiling SwiftSyntax SyntaxTypeNodes.swift
[66/75] Compiling SwiftSyntax SyntaxRewriter.swift
[67/75] Compiling SwiftSyntax SyntaxTraits.swift
[68/75] Compiling SwiftSyntax SyntaxTransform.swift
[69/75] Compiling SwiftSyntax SyntaxVisitor.swift
[70/75] Compiling SwiftSyntax TokenKind.swift
[71/127] Compiling SwiftDiagnostics Note.swift
[72/127] Compiling SwiftDiagnostics Message.swift
[73/127] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[74/127] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[75/127] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[76/127] Compiling SwiftDiagnostics FixIt.swift
[77/127] Emitting module SwiftDiagnostics
[78/127] Compiling SwiftDiagnostics Convenience.swift
[79/127] Compiling SwiftDiagnostics Diagnostic.swift
[80/127] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[81/127] Emitting module SwiftBasicFormat
[82/127] Compiling SwiftBasicFormat Syntax+Extensions.swift
[83/127] Compiling SwiftBasicFormat BasicFormat.swift
[84/127] Compiling SwiftParser UnicodeScalarExtensions.swift
[85/127] Compiling SwiftParser Lookahead.swift
[86/127] Compiling SwiftParser LoopProgressCondition.swift
[87/127] Compiling SwiftParser Modifiers.swift
[88/131] Emitting module SwiftParser
[89/131] Compiling SwiftParser IsLexerClassified.swift
[90/131] Compiling SwiftParser LayoutNodes+Parsable.swift
[91/131] Compiling SwiftParser Parser+TokenSpecSet.swift
[92/131] Compiling SwiftParser TokenSpecStaticMembers.swift
[93/131] Compiling SwiftParser SyntaxUtils.swift
[94/131] Compiling SwiftParser TokenConsumer.swift
[95/131] Compiling SwiftParser TokenPrecedence.swift
[96/131] Compiling SwiftParser TokenSpec.swift
[97/131] Compiling SwiftParser Names.swift
[98/131] Compiling SwiftParser Nominals.swift
[99/131] Compiling SwiftParser Parameters.swift
[100/131] Compiling SwiftParser ParseSourceFile.swift
[101/131] Compiling SwiftParser TokenSpecSet.swift
[102/131] Compiling SwiftParser TopLevel.swift
[103/131] Compiling SwiftParser TriviaParser.swift
[104/131] Compiling SwiftParser Types.swift
[105/131] Compiling SwiftParser Lexeme.swift
[106/131] Compiling SwiftParser LexemeSequence.swift
[107/131] Compiling SwiftParser Lexer.swift
[108/131] Compiling SwiftParser RegexLiteralLexer.swift
[109/131] Compiling SwiftParser Parser.swift
[110/131] Compiling SwiftParser Patterns.swift
[111/131] Compiling SwiftParser Recovery.swift
[112/131] Compiling SwiftParser Specifiers.swift
[113/131] Compiling SwiftParser Statements.swift
[114/131] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[115/131] Compiling SwiftParser StringLiterals.swift
[116/131] Compiling SwiftParser SwiftParserCompatibility.swift
[117/131] Compiling SwiftParser Attributes.swift
[118/131] Compiling SwiftParser Availability.swift
[119/131] Compiling SwiftParser CharacterInfo.swift
[120/131] Compiling SwiftParser CollectionNodes+Parsable.swift
[121/131] Compiling SwiftParser Declarations.swift
[122/131] Compiling SwiftParser Directives.swift
[123/131] Compiling SwiftParser ExperimentalFeatures.swift
[124/131] Compiling SwiftParser Expressions.swift
[125/131] Compiling SwiftParser IncrementalParseTransition.swift
[126/131] Compiling SwiftParser Cursor.swift
[127/154] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[128/155] Compiling SwiftOperators PrecedenceGroup.swift
[129/155] Compiling SwiftOperators PrecedenceGraph.swift
[130/155] Compiling SwiftOperators OperatorTable.swift
[131/156] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[132/156] Compiling SwiftOperators SyntaxSynthesis.swift
[133/156] Compiling SwiftOperators OperatorError.swift
[134/156] Compiling SwiftOperators OperatorTable+Semantics.swift
[135/156] Compiling SwiftOperators OperatorTable+Defaults.swift
[136/156] Compiling SwiftOperators OperatorError+Diagnostics.swift
[137/156] Compiling SwiftOperators OperatorTable+Folding.swift
[138/156] Compiling SwiftOperators Operator.swift
[139/156] Emitting module SwiftOperators
[140/156] Compiling SwiftParserDiagnostics Utils.swift
[141/156] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[142/156] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[143/156] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[144/156] Emitting module SwiftParserDiagnostics
[145/156] Compiling SwiftParserDiagnostics PresenceUtils.swift
[146/156] Compiling SwiftParserDiagnostics MissingNodesError.swift
[147/156] Compiling SwiftParserDiagnostics MissingTokenError.swift
[148/156] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[149/156] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[150/156] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[151/156] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[152/170] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[153/170] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[154/170] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[155/170] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[156/171] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[157/171] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[158/171] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[159/171] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[160/171] Compiling SwiftSyntaxBuilder Indenter.swift
[161/171] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[162/171] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[163/171] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[164/171] Emitting module SwiftSyntaxBuilder
[165/171] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[166/171] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[167/185] Compiling SwiftSyntaxMacros Macro+Format.swift
[168/185] Compiling SwiftSyntaxMacros Macro.swift
[169/185] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[170/185] Compiling SwiftSyntaxMacros MemberMacro.swift
[171/186] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[172/186] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[173/186] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[174/186] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[175/186] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[176/186] Compiling SwiftSyntaxMacros AccessorMacro.swift
[177/186] Compiling SwiftSyntaxMacros AttachedMacro.swift
[178/186] Emitting module SwiftSyntaxMacros
[179/186] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[180/186] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[181/186] Compiling SwiftSyntaxMacros PeerMacro.swift
[182/194] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[183/194] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[184/194] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[185/194] Emitting module SwiftSyntaxMacroExpansion
[186/194] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[187/194] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[188/194] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[189/194] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[190/201] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[191/201] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[192/201] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[193/201] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[194/201] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[195/201] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[196/201] Emitting module SwiftCompilerPluginMessageHandling
[197/203] Emitting module SwiftCompilerPlugin
[198/203] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[199/205] Emitting module NetworkingMacros
[200/205] Compiling NetworkingMacros NetworkingMacros.swift
[200/205] Write Objects.LinkFileList
[201/205] Linking NetworkingMacros-tool
[203/231] Compiling Networking Headers.swift
[204/231] Compiling Networking Json.swift
[205/233] Compiling Networking Key.swift
[206/233] Compiling Networking KeyValue.swift
[207/233] Compiling Networking DataCoder.swift
[208/233] Compiling Networking DecodingError.swift
[209/233] Compiling Networking Configuration.swift
[210/233] Compiling Networking Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Response/Response.swift:38:98: warning: conditional cast from 'R.ResponseError' to 'R.ResponseError' always succeeds
36 |         guard (200..<400).contains(statusCode) else {
37 |             if let errorDescription = try? configuration.responseBodyDecoder.decode(R.ResponseError.self, from: result.data)  {
38 |                 throw ResponseError<R.ResponseError>.badResponse(httpResponse, (errorDescription as? R.ResponseError))
   |                                                                                                  `- warning: conditional cast from 'R.ResponseError' to 'R.ResponseError' always succeeds
39 |             } else {
40 |                 throw ResponseError<R.ResponseError>.badResponse(httpResponse, .none)
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Types/Error.swift:14:10: warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ResponseError<ErrorDescription>: Error {
   |                           `- note: consider making generic parameter 'ErrorDescription' conform to the 'Sendable' protocol
11 |     case noResponse
12 |     case url(URLError)
13 |     case decoding(DecodingError)
14 |     case badResponse(HTTPURLResponse, ErrorDescription?)
   |          `- warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
15 |     case unsupportedResponseType(URLResponse)
16 |     case unknown(Swift.Error)
[211/233] Compiling Networking Empty.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Response/Response.swift:38:98: warning: conditional cast from 'R.ResponseError' to 'R.ResponseError' always succeeds
36 |         guard (200..<400).contains(statusCode) else {
37 |             if let errorDescription = try? configuration.responseBodyDecoder.decode(R.ResponseError.self, from: result.data)  {
38 |                 throw ResponseError<R.ResponseError>.badResponse(httpResponse, (errorDescription as? R.ResponseError))
   |                                                                                                  `- warning: conditional cast from 'R.ResponseError' to 'R.ResponseError' always succeeds
39 |             } else {
40 |                 throw ResponseError<R.ResponseError>.badResponse(httpResponse, .none)
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Types/Error.swift:14:10: warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ResponseError<ErrorDescription>: Error {
   |                           `- note: consider making generic parameter 'ErrorDescription' conform to the 'Sendable' protocol
11 |     case noResponse
12 |     case url(URLError)
13 |     case decoding(DecodingError)
14 |     case badResponse(HTTPURLResponse, ErrorDescription?)
   |          `- warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
15 |     case unsupportedResponseType(URLResponse)
16 |     case unknown(Swift.Error)
[212/233] Compiling Networking Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Response/Response.swift:38:98: warning: conditional cast from 'R.ResponseError' to 'R.ResponseError' always succeeds
36 |         guard (200..<400).contains(statusCode) else {
37 |             if let errorDescription = try? configuration.responseBodyDecoder.decode(R.ResponseError.self, from: result.data)  {
38 |                 throw ResponseError<R.ResponseError>.badResponse(httpResponse, (errorDescription as? R.ResponseError))
   |                                                                                                  `- warning: conditional cast from 'R.ResponseError' to 'R.ResponseError' always succeeds
39 |             } else {
40 |                 throw ResponseError<R.ResponseError>.badResponse(httpResponse, .none)
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Types/Error.swift:14:10: warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ResponseError<ErrorDescription>: Error {
   |                           `- note: consider making generic parameter 'ErrorDescription' conform to the 'Sendable' protocol
11 |     case noResponse
12 |     case url(URLError)
13 |     case decoding(DecodingError)
14 |     case badResponse(HTTPURLResponse, ErrorDescription?)
   |          `- warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
15 |     case unsupportedResponseType(URLResponse)
16 |     case unknown(Swift.Error)
[213/233] Compiling Networking KeyValueBuilder.swift
[214/233] Compiling Networking ValueBasicType.swift
[215/233] Compiling Networking EmptyRequest.swift
[216/233] Compiling Networking HttpRequest.swift
[217/233] Compiling Networking DeleteRequest.swift
[218/233] Compiling Networking Registry.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Executive/Session.swift:50:28: warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
 48 |
 49 |             let urlRequest = try resolvedRequest.urlRequest()
 50 |             await registry.register(resolvedRequest)
    |                            |- warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'resolvedRequest' to actor-isolated instance method 'register' risks causing data races between actor-isolated and task-isolated uses
 51 |
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Executive/Session.swift:55:28: warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
 53 |             let result = try await session.data(for: urlRequest)
 54 |             let response = try request.builder.resolve(result: result, request: resolvedRequest)
 55 |             await registry.remove(resolvedRequest)
    |                            |- warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'resolvedRequest' to actor-isolated instance method 'remove' risks causing data races between actor-isolated and task-isolated uses
 56 |
 57 |             let resolvedResponse = resolvedRequest.configuration?.service.afterEach(response) ?? response
[219/233] Compiling Networking Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Executive/Session.swift:50:28: warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
 48 |
 49 |             let urlRequest = try resolvedRequest.urlRequest()
 50 |             await registry.register(resolvedRequest)
    |                            |- warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'resolvedRequest' to actor-isolated instance method 'register' risks causing data races between actor-isolated and task-isolated uses
 51 |
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Executive/Session.swift:55:28: warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
 53 |             let result = try await session.data(for: urlRequest)
 54 |             let response = try request.builder.resolve(result: result, request: resolvedRequest)
 55 |             await registry.remove(resolvedRequest)
    |                            |- warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'resolvedRequest' to actor-isolated instance method 'remove' risks causing data races between actor-isolated and task-isolated uses
 56 |
 57 |             let resolvedResponse = resolvedRequest.configuration?.service.afterEach(response) ?? response
[220/233] Compiling Networking Session.swift
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Executive/Session.swift:50:28: warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
 48 |
 49 |             let urlRequest = try resolvedRequest.urlRequest()
 50 |             await registry.register(resolvedRequest)
    |                            |- warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'resolvedRequest' to actor-isolated instance method 'register' risks causing data races between actor-isolated and task-isolated uses
 51 |
 52 |
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Executive/Session.swift:55:28: warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
 53 |             let result = try await session.data(for: urlRequest)
 54 |             let response = try request.builder.resolve(result: result, request: resolvedRequest)
 55 |             await registry.remove(resolvedRequest)
    |                            |- warning: sending 'resolvedRequest' risks causing data races; this is an error in the Swift 6 language mode
    |                            `- note: sending task-isolated 'resolvedRequest' to actor-isolated instance method 'remove' risks causing data races between actor-isolated and task-isolated uses
 56 |
 57 |             let resolvedResponse = resolvedRequest.configuration?.service.afterEach(response) ?? response
[221/233] Emitting module Networking
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Types/Error.swift:14:10: warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public enum ResponseError<ErrorDescription>: Error {
   |                           `- note: consider making generic parameter 'ErrorDescription' conform to the 'Sendable' protocol
11 |     case noResponse
12 |     case url(URLError)
13 |     case decoding(DecodingError)
14 |     case badResponse(HTTPURLResponse, ErrorDescription?)
   |          `- warning: associated value 'badResponse' of 'Sendable'-conforming generic enum 'ResponseError' has non-sendable type 'ErrorDescription'; this is an error in the Swift 6 language mode
15 |     case unsupportedResponseType(URLResponse)
16 |     case unknown(Swift.Error)
[222/233] Compiling Networking PutRequest.swift
[223/233] Compiling Networking Request.swift
[224/233] Compiling Networking Builder.swift
[225/233] Compiling Networking Provider.swift
[226/233] Compiling Networking Scheme.swift
[227/233] Compiling Networking Store.swift
[228/233] Compiling Networking GetRequest.swift
[229/233] Compiling Networking PathRequest.swift
[230/233] Compiling Networking PostRequest.swift
[231/238] Compiling NetworkingExampleApp Service.swift
[232/238] Compiling NetworkingExampleApp main.swift
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:20:11: warning: expression implicitly coerced from 'Response<GetExampleRequest.ResponseBody>?' (aka 'Optional<Response<ExampleResponseModel>>') to 'Any'
18 |     let (auth, error) = await session.send(request: getRequest)
19 |
20 |     print(auth)
   |           |- warning: expression implicitly coerced from 'Response<GetExampleRequest.ResponseBody>?' (aka 'Optional<Response<ExampleResponseModel>>') to 'Any'
   |           |- note: provide a default value to avoid this warning
   |           |- note: force-unwrap the value to avoid this warning
   |           `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
21 |     print(error)
22 | }
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:21:11: warning: expression implicitly coerced from 'ResponseError<GetExampleRequest.ResponseError>?' (aka 'Optional<ResponseError<ExampleErrorModel>>') to 'Any'
19 |
20 |     print(auth)
21 |     print(error)
   |           |- warning: expression implicitly coerced from 'ResponseError<GetExampleRequest.ResponseError>?' (aka 'Optional<ResponseError<ExampleErrorModel>>') to 'Any'
   |           |- note: provide a default value to avoid this warning
   |           |- note: force-unwrap the value to avoid this warning
   |           `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:18:39: warning: non-sendable type '(Response<GetExampleRequest.ResponseBody>?, ResponseError<GetExampleRequest.ResponseError>?)' (aka '(Optional<Response<ExampleResponseModel>>, Optional<ResponseError<ExampleErrorModel>>)') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
16 |
17 | Task {
18 |     let (auth, error) = await session.send(request: getRequest)
   |                                       `- warning: non-sendable type '(Response<GetExampleRequest.ResponseBody>?, ResponseError<GetExampleRequest.ResponseError>?)' (aka '(Optional<Response<ExampleResponseModel>>, Optional<ResponseError<ExampleErrorModel>>)') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
19 |
20 |     print(auth)
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Response/Response.swift:10:15: note: generic struct 'Response' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct Response<Body: Codable> {
   |               `- note: generic struct 'Response' does not conform to the 'Sendable' protocol
11 |     public let body: Body
12 |
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Networking'
 7 |
 8 | import Foundation
 9 | import Networking
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Networking'
10 |
11 | let session = Session(debugLogging: true)
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:18:39: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
16 |
17 | Task {
18 |     let (auth, error) = await session.send(request: getRequest)
   |                                       |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                       `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
19 |
20 |     print(auth)
[233/238] Compiling NetworkingExampleApp Requests.swift
[234/238] Emitting module NetworkingExampleApp
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:20:11: warning: expression implicitly coerced from 'Response<GetExampleRequest.ResponseBody>?' (aka 'Optional<Response<ExampleResponseModel>>') to 'Any'
18 |     let (auth, error) = await session.send(request: getRequest)
19 |
20 |     print(auth)
   |           |- warning: expression implicitly coerced from 'Response<GetExampleRequest.ResponseBody>?' (aka 'Optional<Response<ExampleResponseModel>>') to 'Any'
   |           |- note: provide a default value to avoid this warning
   |           |- note: force-unwrap the value to avoid this warning
   |           `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
21 |     print(error)
22 | }
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:21:11: warning: expression implicitly coerced from 'ResponseError<GetExampleRequest.ResponseError>?' (aka 'Optional<ResponseError<ExampleErrorModel>>') to 'Any'
19 |
20 |     print(auth)
21 |     print(error)
   |           |- warning: expression implicitly coerced from 'ResponseError<GetExampleRequest.ResponseError>?' (aka 'Optional<ResponseError<ExampleErrorModel>>') to 'Any'
   |           |- note: provide a default value to avoid this warning
   |           |- note: force-unwrap the value to avoid this warning
   |           `- note: explicitly cast to 'Any' with 'as Any' to silence this warning
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:18:39: warning: non-sendable type '(Response<GetExampleRequest.ResponseBody>?, ResponseError<GetExampleRequest.ResponseError>?)' (aka '(Optional<Response<ExampleResponseModel>>, Optional<ResponseError<ExampleErrorModel>>)') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
16 |
17 | Task {
18 |     let (auth, error) = await session.send(request: getRequest)
   |                                       `- warning: non-sendable type '(Response<GetExampleRequest.ResponseBody>?, ResponseError<GetExampleRequest.ResponseError>?)' (aka '(Optional<Response<ExampleResponseModel>>, Optional<ResponseError<ExampleErrorModel>>)') returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
19 |
20 |     print(auth)
/Users/admin/builder/spi-builder-workspace/Sources/Networking/Response/Response.swift:10:15: note: generic struct 'Response' does not conform to the 'Sendable' protocol
 8 | import Foundation
 9 |
10 | public struct Response<Body: Codable> {
   |               `- note: generic struct 'Response' does not conform to the 'Sendable' protocol
11 |     public let body: Body
12 |
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Networking'
 7 |
 8 | import Foundation
 9 | import Networking
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Networking'
10 |
11 | let session = Session(debugLogging: true)
/Users/admin/builder/spi-builder-workspace/Examples/NetworkingExampleApp/main.swift:18:39: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
16 |
17 | Task {
18 |     let (auth, error) = await session.send(request: getRequest)
   |                                       |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
   |                                       `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
19 |
20 |     print(auth)
[235/238] Compiling NetworkingExampleApp Models.swift
[235/238] Write Objects.LinkFileList
[236/238] Linking NetworkingExampleApp
[237/238] Applying NetworkingExampleApp
Build complete! (50.02s)
warning: 'spi-builder-workspace': dependency 'quick' is not used by any target
warning: 'spi-builder-workspace': dependency 'nimble' is not used by any target
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "10.0.0",
            "upper_bound" : "11.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "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" : "SwiftyNetworking",
  "name" : "SwiftyNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Networking",
      "targets" : [
        "Networking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NetworkingExampleApp",
      "targets" : [
        "NetworkingExampleApp"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NetworkingMacros",
      "targets" : [
        "NetworkingMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NetworkingMacros",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingMacros",
      "path" : "Sources/NetworkingMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "Networking",
        "NetworkingExampleApp",
        "NetworkingMacros"
      ],
      "sources" : [
        "NetworkingMacros.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "NetworkingMacroTests",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingMacroTests",
      "path" : "Tests/NetworkingMacroTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport"
      ],
      "sources" : [
        "NetworkingMacroTests.swift"
      ],
      "target_dependencies" : [
        "NetworkingMacros"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NetworkingExampleApp",
      "module_type" : "SwiftTarget",
      "name" : "NetworkingExampleApp",
      "path" : "Examples/NetworkingExampleApp",
      "product_memberships" : [
        "NetworkingExampleApp"
      ],
      "sources" : [
        "Models.swift",
        "Requests.swift",
        "Service.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Networking"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Networking",
      "module_type" : "SwiftTarget",
      "name" : "Networking",
      "path" : "Sources/Networking",
      "product_memberships" : [
        "Networking",
        "NetworkingExampleApp"
      ],
      "sources" : [
        "Authorization/Provider.swift",
        "Authorization/Scheme.swift",
        "Authorization/Store.swift",
        "Executive/Registry.swift",
        "Executive/Service.swift",
        "Executive/Session.swift",
        "Extensions/DataCoder.swift",
        "Extensions/DecodingError.swift",
        "Request/Configuration.swift",
        "Request/EmptyRequest.swift",
        "Request/HttpRequest.swift",
        "Request/HttpRequests/DeleteRequest.swift",
        "Request/HttpRequests/GetRequest.swift",
        "Request/HttpRequests/PathRequest.swift",
        "Request/HttpRequests/PostRequest.swift",
        "Request/HttpRequests/PutRequest.swift",
        "Request/Request.swift",
        "Response/Builder.swift",
        "Response/Response.swift",
        "Types/Empty.swift",
        "Types/Error.swift",
        "Types/Headers.swift",
        "Types/Json.swift",
        "Types/Key.swift",
        "Types/KeyValue.swift",
        "Types/KeyValueBuilder.swift",
        "Types/ValueBasicType.swift"
      ],
      "target_dependencies" : [
        "NetworkingMacros"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.