The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of HTTPClient, reference 0.0.5 (3daf31), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 19:19:35 UTC.

Swift 6 data race errors: 8

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/marinofelipe/http_client.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/marinofelipe/http_client
 * tag               0.0.5      -> FETCH_HEAD
HEAD is now at 3daf31f More conditional imports for Linux
Cloned https://github.com/marinofelipe/http_client.git
Revision (git rev-parse @):
3daf31f1c0cc62156feee3b79699133394fe6bd1
SUCCESS checkout https://github.com/marinofelipe/http_client.git at 0.0.5
Fetching https://github.com/apple/swift-log.git
[1/3723] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.2.0 (3.17s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.2.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": "http_client",
      "name": "HTTPClient",
      "url": "https://github.com/marinofelipe/http_client.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/http_client",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/marinofelipe/http_client.git
[1/311] Fetching http_client
Fetched https://github.com/marinofelipe/http_client.git from cache (0.75s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.41s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Creating working copy for https://github.com/marinofelipe/http_client.git
Working copy of https://github.com/marinofelipe/http_client.git resolved at 0.0.5 (3daf31f)
warning: '.resolve-product-dependencies': dependency 'http_client' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/marinofelipe/http_client.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "HTTPClient",
  "name" : "HTTPClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTPClient",
      "targets" : [
        "HTTPClient",
        "HTTPClientCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CombineHTTPClient",
      "targets" : [
        "CombineHTTPClient",
        "HTTPClientCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTTPClientTestSupport",
      "targets" : [
        "HTTPClientTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientTests",
      "path" : "Tests/HTTPClientTests",
      "sources" : [
        "HTTPClientTests.swift",
        "HTTPResponseDecoderTests.swift",
        "HTTPResponseHandlerTests.swift",
        "Helpers/Helpers.swift",
        "Mocks/Mocks.swift"
      ],
      "target_dependencies" : [
        "HTTPClient",
        "HTTPClientTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPClientTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientTestSupport",
      "path" : "Sources/HTTPClientTestSupport",
      "product_memberships" : [
        "HTTPClientTestSupport"
      ],
      "sources" : [
        "Fakes/FakeError.swift",
        "Fakes/FakeHTTPResponse.swift",
        "Fakes/FakeResponseBody.swift",
        "Fakes/HTTPTaskFake.swift",
        "Mocks/HTTPClientMock.swift",
        "Mocks/MockURLProtocol.swift"
      ],
      "target_dependencies" : [
        "HTTPClient"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPClientCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientCoreTests",
      "path" : "Tests/HTTPClientCoreTests",
      "sources" : [
        "DataExtensionTests.swift",
        "HTTPRequestBuilderTests.swift",
        "ResultExtensionTests.swift",
        "SetExtensionTests.swift"
      ],
      "target_dependencies" : [
        "HTTPClientCore",
        "HTTPClientTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPClientCore",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientCore",
      "path" : "Sources/HTTPClientCore",
      "product_memberships" : [
        "HTTPClient",
        "CombineHTTPClient",
        "HTTPClientTestSupport"
      ],
      "sources" : [
        "Extensions/Data+HTTPClient.swift",
        "Extensions/Result+HTTPClient.swift",
        "Extensions/Set+HTTPClient.swift",
        "HTTPRequestBuilder/HTTPRequestBuilder.swift",
        "HTTPRequestError.swift",
        "HTTPRequestMethod.swift",
        "HTTPRequestScheme.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClient",
      "path" : "Sources/HTTPClient",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "HTTPClient",
        "HTTPClientTestSupport"
      ],
      "sources" : [
        "Abstractions/HTTPTask.swift",
        "Abstractions/URLSessionProtocol.swift",
        "Decoders/HTTPDecoder.swift",
        "Extensions/Optional+Data.swift",
        "HTTPClient.swift",
        "HTTPResponse.swift",
        "Handlers/HTTPResponseHandler.swift",
        "Middlewares/HTTPClientMiddleware.swift",
        "Middlewares/LoggerMiddleware.swift"
      ],
      "target_dependencies" : [
        "HTTPClientCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CombineHTTPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "CombineHTTPClientTests",
      "path" : "Tests/CombineHTTPClientTests",
      "sources" : [
        "CombineHTTPClientTests.swift"
      ],
      "target_dependencies" : [
        "CombineHTTPClient",
        "HTTPClientTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CombineHTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "CombineHTTPClient",
      "path" : "Sources/CombineHTTPClient",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "CombineHTTPClient"
      ],
      "sources" : [
        "CombineHTTPClient.swift",
        "HTTPResponse.swift"
      ],
      "target_dependencies" : [
        "HTTPClientCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/18] Emitting module Logging
[8/18] Compiling Logging LogHandler.swift
[9/18] Compiling Logging Locks.swift
[10/18] Compiling Logging Logging.swift
[11/18] Emitting module HTTPClientCore
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientCore/Extensions/Set+HTTPClient.swift:2:16: warning: static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Set where Element == Int {
2 |     static var defaultSuccessfulStatusCodes: Set<Int> = Set(200..<300)
  |                |- warning: static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                |- note: convert 'defaultSuccessfulStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
  |                |- note: annotate 'defaultSuccessfulStatusCodes' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
[12/18] Compiling HTTPClientCore HTTPRequestScheme.swift
[13/18] Compiling HTTPClientCore HTTPRequestError.swift
[14/18] Compiling HTTPClientCore HTTPRequestMethod.swift
[15/18] Compiling HTTPClientCore Result+HTTPClient.swift
[16/18] Compiling HTTPClientCore HTTPRequestBuilder.swift
[17/18] Compiling HTTPClientCore Set+HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientCore/Extensions/Set+HTTPClient.swift:2:16: warning: static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public extension Set where Element == Int {
2 |     static var defaultSuccessfulStatusCodes: Set<Int> = Set(200..<300)
  |                |- warning: static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  |                |- note: convert 'defaultSuccessfulStatusCodes' to a 'let' constant to make 'Sendable' shared state immutable
  |                |- note: annotate 'defaultSuccessfulStatusCodes' with '@MainActor' if property should only be accessed from the main actor
  |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | }
4 |
[18/18] Compiling HTTPClientCore Data+HTTPClient.swift
[19/31] Compiling HTTPClient LoggerMiddleware.swift
[20/31] Compiling HTTPClient HTTPResponseHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClient/Handlers/HTTPResponseHandler.swift:21:52: warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |     let successfulStatusCodes: Set<Int>
20 |
21 |     public init(successfulStatusCodes: Set<Int> = .defaultSuccessfulStatusCodes) {
   |                                                    `- warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 |         self.successfulStatusCodes = successfulStatusCodes
23 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientCore/Extensions/Set+HTTPClient.swift:2:16: note: static property declared here
1 | public extension Set where Element == Int {
2 |     static var defaultSuccessfulStatusCodes: Set<Int> = Set(200..<300)
  |                `- note: static property declared here
3 | }
4 |
[21/31] Compiling HTTPClient HTTPClientMiddleware.swift
[22/31] Compiling HTTPClient HTTPClient.swift
[23/31] Compiling HTTPClient Optional+Data.swift
[24/31] Compiling HTTPClient URLSessionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClient/Abstractions/URLSessionProtocol.swift:13:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
 7 |     var delegateQueue: OperationQueue { get }
 8 |
 9 |     func dataTask(with request: URLRequest,
   |          `- note: expected sendability to match requirement here
10 |                   completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
11 | }
12 |
13 | extension URLSession: URLSessionProtocol {}
   | `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
14 |
[25/31] Compiling HTTPClient HTTPResponse.swift
[26/31] Compiling HTTPClient HTTPTask.swift
[27/31] Compiling HTTPClient HTTPDecoder.swift
[28/31] Emitting module HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClient/Abstractions/URLSessionProtocol.swift:13:1: warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
 7 |     var delegateQueue: OperationQueue { get }
 8 |
 9 |     func dataTask(with request: URLRequest,
   |          `- note: expected sendability to match requirement here
10 |                   completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTask
11 | }
12 |
13 | extension URLSession: URLSessionProtocol {}
   | `- warning: sendability of function types in instance method 'dataTask(with:completionHandler:)' does not match requirement in protocol 'URLSessionProtocol'; this is an error in the Swift 6 language mode
14 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClient/Handlers/HTTPResponseHandler.swift:21:52: warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
19 |     let successfulStatusCodes: Set<Int>
20 |
21 |     public init(successfulStatusCodes: Set<Int> = .defaultSuccessfulStatusCodes) {
   |                                                    `- warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 |         self.successfulStatusCodes = successfulStatusCodes
23 |     }
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientCore/Extensions/Set+HTTPClient.swift:2:16: note: static property declared here
1 | public extension Set where Element == Int {
2 |     static var defaultSuccessfulStatusCodes: Set<Int> = Set(200..<300)
  |                `- note: static property declared here
3 | }
4 |
[29/31] Compiling CombineHTTPClient CombineHTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/CombineHTTPClient/CombineHTTPClient.swift:32:78: warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     @discardableResult
31 |     public func run<S: Decodable, F: Decodable>(_ request: URLRequest,
32 |                                                 validStatusCode: Set<Int> = .defaultSuccessfulStatusCodes,
   |                                                                              `- warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |                                                 successDecoder: JSONDecoder = .init(),
34 |                                                 failureDecoder: JSONDecoder = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientCore/Extensions/Set+HTTPClient.swift:2:16: note: static property declared here
1 | public extension Set where Element == Int {
2 |     static var defaultSuccessfulStatusCodes: Set<Int> = Set(200..<300)
  |                `- note: static property declared here
3 | }
4 |
[30/31] Emitting module CombineHTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/CombineHTTPClient/CombineHTTPClient.swift:32:78: warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     @discardableResult
31 |     public func run<S: Decodable, F: Decodable>(_ request: URLRequest,
32 |                                                 validStatusCode: Set<Int> = .defaultSuccessfulStatusCodes,
   |                                                                              `- warning: reference to static property 'defaultSuccessfulStatusCodes' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |                                                 successDecoder: JSONDecoder = .init(),
34 |                                                 failureDecoder: JSONDecoder = .init(),
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientCore/Extensions/Set+HTTPClient.swift:2:16: note: static property declared here
1 | public extension Set where Element == Int {
2 |     static var defaultSuccessfulStatusCodes: Set<Int> = Set(200..<300)
  |                `- note: static property declared here
3 | }
4 |
[31/31] Compiling CombineHTTPClient HTTPResponse.swift
[32/38] Compiling HTTPClientTestSupport HTTPTaskFake.swift
[33/38] Compiling HTTPClientTestSupport HTTPClientMock.swift
[34/38] Compiling HTTPClientTestSupport FakeResponseBody.swift
[35/38] Compiling HTTPClientTestSupport FakeHTTPResponse.swift
[36/38] Emitting module HTTPClientTestSupport
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:8:23: warning: static property 'startLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | /// A mock that can be used to run stubbed URLSession tasks.
 7 | public final class URLProtocolMock: URLProtocol {
 8 |     public static var startLoadingCallsCount: Int = 0
   |                       |- warning: static property 'startLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'startLoadingCallsCount' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'startLoadingCallsCount' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |     public static var stopLoadingCallsCount: Int = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:9:23: warning: static property 'stopLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | public final class URLProtocolMock: URLProtocol {
 8 |     public static var startLoadingCallsCount: Int = 0
 9 |     public static var stopLoadingCallsCount: Int = 0
   |                       |- warning: static property 'stopLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stopLoadingCallsCount' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stopLoadingCallsCount' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     // MARK: - Stub
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:13:23: warning: static property 'stubbedError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     // MARK: - Stub
12 |
13 |     public static var stubbedError: Error?
   |                       |- warning: static property 'stubbedError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stubbedError' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stubbedError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     public static var stubbedRequestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
15 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:14:23: warning: static property 'stubbedRequestHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     public static var stubbedError: Error?
14 |     public static var stubbedRequestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
   |                       |- warning: static property 'stubbedRequestHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stubbedRequestHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stubbedRequestHandler' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     public static func cleanup() {
[37/38] Compiling HTTPClientTestSupport FakeError.swift
[38/38] Compiling HTTPClientTestSupport MockURLProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:8:23: warning: static property 'startLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | /// A mock that can be used to run stubbed URLSession tasks.
 7 | public final class URLProtocolMock: URLProtocol {
 8 |     public static var startLoadingCallsCount: Int = 0
   |                       |- warning: static property 'startLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'startLoadingCallsCount' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'startLoadingCallsCount' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |     public static var stopLoadingCallsCount: Int = 0
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:9:23: warning: static property 'stopLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 | public final class URLProtocolMock: URLProtocol {
 8 |     public static var startLoadingCallsCount: Int = 0
 9 |     public static var stopLoadingCallsCount: Int = 0
   |                       |- warning: static property 'stopLoadingCallsCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stopLoadingCallsCount' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stopLoadingCallsCount' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |
11 |     // MARK: - Stub
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:13:23: warning: static property 'stubbedError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 |     // MARK: - Stub
12 |
13 |     public static var stubbedError: Error?
   |                       |- warning: static property 'stubbedError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stubbedError' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stubbedError' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |     public static var stubbedRequestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
15 |
/Users/admin/builder/spi-builder-workspace/Sources/HTTPClientTestSupport/Mocks/MockURLProtocol.swift:14:23: warning: static property 'stubbedRequestHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 |     public static var stubbedError: Error?
14 |     public static var stubbedRequestHandler: ((URLRequest) throws -> (HTTPURLResponse, Data?))?
   |                       |- warning: static property 'stubbedRequestHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'stubbedRequestHandler' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'stubbedRequestHandler' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     public static func cleanup() {
Build complete! (13.33s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "HTTPClient",
  "name" : "HTTPClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTPClient",
      "targets" : [
        "HTTPClient",
        "HTTPClientCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CombineHTTPClient",
      "targets" : [
        "CombineHTTPClient",
        "HTTPClientCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTTPClientTestSupport",
      "targets" : [
        "HTTPClientTestSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientTests",
      "path" : "Tests/HTTPClientTests",
      "sources" : [
        "HTTPClientTests.swift",
        "HTTPResponseDecoderTests.swift",
        "HTTPResponseHandlerTests.swift",
        "Helpers/Helpers.swift",
        "Mocks/Mocks.swift"
      ],
      "target_dependencies" : [
        "HTTPClient",
        "HTTPClientTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPClientTestSupport",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientTestSupport",
      "path" : "Sources/HTTPClientTestSupport",
      "product_memberships" : [
        "HTTPClientTestSupport"
      ],
      "sources" : [
        "Fakes/FakeError.swift",
        "Fakes/FakeHTTPResponse.swift",
        "Fakes/FakeResponseBody.swift",
        "Fakes/HTTPTaskFake.swift",
        "Mocks/HTTPClientMock.swift",
        "Mocks/MockURLProtocol.swift"
      ],
      "target_dependencies" : [
        "HTTPClient"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPClientCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientCoreTests",
      "path" : "Tests/HTTPClientCoreTests",
      "sources" : [
        "DataExtensionTests.swift",
        "HTTPRequestBuilderTests.swift",
        "ResultExtensionTests.swift",
        "SetExtensionTests.swift"
      ],
      "target_dependencies" : [
        "HTTPClientCore",
        "HTTPClientTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPClientCore",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClientCore",
      "path" : "Sources/HTTPClientCore",
      "product_memberships" : [
        "HTTPClient",
        "CombineHTTPClient",
        "HTTPClientTestSupport"
      ],
      "sources" : [
        "Extensions/Data+HTTPClient.swift",
        "Extensions/Result+HTTPClient.swift",
        "Extensions/Set+HTTPClient.swift",
        "HTTPRequestBuilder/HTTPRequestBuilder.swift",
        "HTTPRequestError.swift",
        "HTTPRequestMethod.swift",
        "HTTPRequestScheme.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "HTTPClient",
      "path" : "Sources/HTTPClient",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "HTTPClient",
        "HTTPClientTestSupport"
      ],
      "sources" : [
        "Abstractions/HTTPTask.swift",
        "Abstractions/URLSessionProtocol.swift",
        "Decoders/HTTPDecoder.swift",
        "Extensions/Optional+Data.swift",
        "HTTPClient.swift",
        "HTTPResponse.swift",
        "Handlers/HTTPResponseHandler.swift",
        "Middlewares/HTTPClientMiddleware.swift",
        "Middlewares/LoggerMiddleware.swift"
      ],
      "target_dependencies" : [
        "HTTPClientCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CombineHTTPClientTests",
      "module_type" : "SwiftTarget",
      "name" : "CombineHTTPClientTests",
      "path" : "Tests/CombineHTTPClientTests",
      "sources" : [
        "CombineHTTPClientTests.swift"
      ],
      "target_dependencies" : [
        "CombineHTTPClient",
        "HTTPClientTestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CombineHTTPClient",
      "module_type" : "SwiftTarget",
      "name" : "CombineHTTPClient",
      "path" : "Sources/CombineHTTPClient",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "CombineHTTPClient"
      ],
      "sources" : [
        "CombineHTTPClient.swift",
        "HTTPResponse.swift"
      ],
      "target_dependencies" : [
        "HTTPClientCore"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.