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 SimpleNetworking, reference master (bd2bd4), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 02:08:54 UTC.

Swift 6 data race errors: 6

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/SimpleNetworking.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gonzalezreal/SimpleNetworking
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at bd2bd41 Update README
Cloned https://github.com/gonzalezreal/SimpleNetworking.git
Revision (git rev-parse @):
bd2bd41ab92d83a0de1991c4b10d5f182fafee2f
SUCCESS checkout https://github.com/gonzalezreal/SimpleNetworking.git at master
Fetching https://github.com/apple/swift-log
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (1.16s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.2.0 (0.65s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log 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": "simplenetworking",
      "name": "SimpleNetworking",
      "url": "https://github.com/gonzalezreal/SimpleNetworking.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SimpleNetworking",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log",
          "version": "1.6.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/gonzalezreal/SimpleNetworking.git
[1/453] Fetching simplenetworking
Fetched https://github.com/gonzalezreal/SimpleNetworking.git from cache (0.75s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.49s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.1 (0.47s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.1
Creating working copy for https://github.com/gonzalezreal/SimpleNetworking.git
Working copy of https://github.com/gonzalezreal/SimpleNetworking.git resolved at master (bd2bd41)
warning: '.resolve-product-dependencies': dependency 'simplenetworking' 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/gonzalezreal/SimpleNetworking.git
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/7] Compiling Logging LogHandler.swift
[5/7] Compiling Logging Locks.swift
[6/7] Compiling Logging Logging.swift
[7/7] Emitting module Logging
[8/22] Compiling SimpleNetworking URLRequest+APIRequest.swift
[9/23] Compiling SimpleNetworking HTTPURLResponse+Logging.swift
[10/23] Compiling SimpleNetworking HeaderField.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:55:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
53 | public extension HeaderField {
54 |     /// `"Accept"` header field.
55 |     static let accept = HeaderField(rawValue: "Accept")
   |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'accept' 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
56 |
57 |     /// `"Authorization"` header field.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:58:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
56 |
57 |     /// `"Authorization"` header field.
58 |     static let authorization = HeaderField(rawValue: "Authorization")
   |                |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'authorization' 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
59 |
60 |     /// `"Content-Type"` header field.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:61:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
59 |
60 |     /// `"Content-Type"` header field.
61 |     static let contentType = HeaderField(rawValue: "Content-Type")
   |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'contentType' 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
62 | }
63 |
[11/23] Compiling SimpleNetworking Exports.swift
[12/23] Compiling SimpleNetworking ContentType.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/ContentType.swift:39:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import Foundation
25 |
26 | public struct ContentType: Hashable, Equatable, RawRepresentable, CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
27 |     public let rawValue: String
28 |
   :
37 |
38 | public extension ContentType {
39 |     static let json = ContentType(rawValue: "application/json")
   |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'json' 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
40 | }
41 |
[13/23] Compiling SimpleNetworking Data+LogDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/ContentType.swift:39:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import Foundation
25 |
26 | public struct ContentType: Hashable, Equatable, RawRepresentable, CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
27 |     public let rawValue: String
28 |
   :
37 |
38 | public extension ContentType {
39 |     static let json = ContentType(rawValue: "application/json")
   |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'json' 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
40 | }
41 |
[14/23] Compiling SimpleNetworking APIRequest+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:55:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
53 | public extension HeaderField {
54 |     /// `"Accept"` header field.
55 |     static let accept = HeaderField(rawValue: "Accept")
   |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'accept' 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
56 |
57 |     /// `"Authorization"` header field.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/ContentType.swift:39:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import Foundation
25 |
26 | public struct ContentType: Hashable, Equatable, RawRepresentable, CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
27 |     public let rawValue: String
28 |
   :
37 |
38 | public extension ContentType {
39 |     static let json = ContentType(rawValue: "application/json")
   |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'json' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:61:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
59 |
60 |     /// `"Content-Type"` header field.
61 |     static let contentType = HeaderField(rawValue: "Content-Type")
   |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'contentType' 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
62 | }
63 |
[15/23] Compiling SimpleNetworking APIRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:55:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
53 | public extension HeaderField {
54 |     /// `"Accept"` header field.
55 |     static let accept = HeaderField(rawValue: "Accept")
   |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'accept' 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
56 |
57 |     /// `"Authorization"` header field.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/ContentType.swift:39:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import Foundation
25 |
26 | public struct ContentType: Hashable, Equatable, RawRepresentable, CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
27 |     public let rawValue: String
28 |
   :
37 |
38 | public extension ContentType {
39 |     static let json = ContentType(rawValue: "application/json")
   |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'json' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:61:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
59 |
60 |     /// `"Content-Type"` header field.
61 |     static let contentType = HeaderField(rawValue: "Content-Type")
   |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'contentType' 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
62 | }
63 |
[16/23] Compiling SimpleNetworking APIClientError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/APIError.swift:32:16: warning: stored property 'error' of 'Sendable'-conforming generic struct 'APIError' has non-sendable type 'Error?'; this is an error in the Swift 6 language mode
25 |
26 | /// The `APIError` type encapsulates an error returned by an API.
27 | public struct APIError<Error>: Swift.Error {
   |                        `- note: consider making generic parameter 'Error' conform to the 'Sendable' protocol
28 |     /// The HTTP status code.
29 |     public let statusCode: Int
30 |
31 |     /// The error response.
32 |     public let error: Error?
   |                `- warning: stored property 'error' of 'Sendable'-conforming generic struct 'APIError' has non-sendable type 'Error?'; this is an error in the Swift 6 language mode
33 |
34 |     public init(statusCode: Int, error: Error?) {
[17/23] Compiling SimpleNetworking APIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/APIError.swift:32:16: warning: stored property 'error' of 'Sendable'-conforming generic struct 'APIError' has non-sendable type 'Error?'; this is an error in the Swift 6 language mode
25 |
26 | /// The `APIError` type encapsulates an error returned by an API.
27 | public struct APIError<Error>: Swift.Error {
   |                        `- note: consider making generic parameter 'Error' conform to the 'Sendable' protocol
28 |     /// The HTTP status code.
29 |     public let statusCode: Int
30 |
31 |     /// The error response.
32 |     public let error: Error?
   |                `- warning: stored property 'error' of 'Sendable'-conforming generic struct 'APIError' has non-sendable type 'Error?'; this is an error in the Swift 6 language mode
33 |
34 |     public init(statusCode: Int, error: Error?) {
[18/23] Emitting module SimpleNetworking
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/APIError.swift:32:16: warning: stored property 'error' of 'Sendable'-conforming generic struct 'APIError' has non-sendable type 'Error?'; this is an error in the Swift 6 language mode
25 |
26 | /// The `APIError` type encapsulates an error returned by an API.
27 | public struct APIError<Error>: Swift.Error {
   |                        `- note: consider making generic parameter 'Error' conform to the 'Sendable' protocol
28 |     /// The HTTP status code.
29 |     public let statusCode: Int
30 |
31 |     /// The error response.
32 |     public let error: Error?
   |                `- warning: stored property 'error' of 'Sendable'-conforming generic struct 'APIError' has non-sendable type 'Error?'; this is an error in the Swift 6 language mode
33 |
34 |     public init(statusCode: Int, error: Error?) {
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/ContentType.swift:39:16: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
24 | import Foundation
25 |
26 | public struct ContentType: Hashable, Equatable, RawRepresentable, CustomStringConvertible {
   |               `- note: consider making struct 'ContentType' conform to the 'Sendable' protocol
27 |     public let rawValue: String
28 |
   :
37 |
38 | public extension ContentType {
39 |     static let json = ContentType(rawValue: "application/json")
   |                |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'ContentType' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'json' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HTTPStubProtocol.swift:71:24: warning: static property 'stubs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     }
 70 |
 71 |     private static var stubs: [URLRequest: Stub] = [:]
    |                        |- warning: static property 'stubs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'stubs' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'stubs' 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
 72 |
 73 |     /// Stubs a valid response for a given API request.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:55:16: warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
53 | public extension HeaderField {
54 |     /// `"Accept"` header field.
55 |     static let accept = HeaderField(rawValue: "Accept")
   |                |- warning: static property 'accept' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'accept' 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
56 |
57 |     /// `"Authorization"` header field.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:58:16: warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
56 |
57 |     /// `"Authorization"` header field.
58 |     static let authorization = HeaderField(rawValue: "Authorization")
   |                |- warning: static property 'authorization' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'authorization' 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
59 |
60 |     /// `"Content-Type"` header field.
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HeaderField.swift:61:16: warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
43 | ///     )
44 | ///
45 | public struct HeaderField: Hashable, Equatable, RawRepresentable {
   |               `- note: consider making struct 'HeaderField' conform to the 'Sendable' protocol
46 |     public let rawValue: String
47 |
   :
59 |
60 |     /// `"Content-Type"` header field.
61 |     static let contentType = HeaderField(rawValue: "Content-Type")
   |                |- warning: static property 'contentType' is not concurrency-safe because non-'Sendable' type 'HeaderField' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'contentType' 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
62 | }
63 |
[19/23] Compiling SimpleNetworking APIClient.swift
[20/23] Compiling SimpleNetworking APIClientConfiguration.swift
[21/23] Compiling SimpleNetworking Dictionary+LogDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HTTPStubProtocol.swift:71:24: warning: static property 'stubs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     }
 70 |
 71 |     private static var stubs: [URLRequest: Stub] = [:]
    |                        |- warning: static property 'stubs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'stubs' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'stubs' 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
 72 |
 73 |     /// Stubs a valid response for a given API request.
[22/23] Compiling SimpleNetworking HTTPStubProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SimpleNetworking/HTTPStubProtocol.swift:71:24: warning: static property 'stubs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 69 |     }
 70 |
 71 |     private static var stubs: [URLRequest: Stub] = [:]
    |                        |- warning: static property 'stubs' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'stubs' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: annotate 'stubs' 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
 72 |
 73 |     /// Stubs a valid response for a given API request.
[23/23] Compiling SimpleNetworking URLSession+Stubbed.swift
Build complete! (9.57s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log"
    }
  ],
  "manifest_display_name" : "SimpleNetworking",
  "name" : "SimpleNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "SimpleNetworking",
      "targets" : [
        "SimpleNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SimpleNetworkingTests",
      "module_type" : "SwiftTarget",
      "name" : "SimpleNetworkingTests",
      "path" : "Tests/SimpleNetworkingTests",
      "sources" : [
        "APIClientTest.swift",
        "APIRequestTest.swift",
        "Fixtures.swift",
        "HTTPURLResponseAdditionsTest.swift",
        "URLRequestAdditionsTest.swift"
      ],
      "target_dependencies" : [
        "SimpleNetworking"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SimpleNetworking",
      "module_type" : "SwiftTarget",
      "name" : "SimpleNetworking",
      "path" : "Sources/SimpleNetworking",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "SimpleNetworking"
      ],
      "sources" : [
        "APIClient.swift",
        "APIClientConfiguration.swift",
        "APIClientError.swift",
        "APIError.swift",
        "APIRequest+Convenience.swift",
        "APIRequest.swift",
        "ContentType.swift",
        "Data+LogDescription.swift",
        "Dictionary+LogDescription.swift",
        "HTTPStubProtocol.swift",
        "HTTPURLResponse+Logging.swift",
        "HeaderField.swift",
        "Internal/Exports.swift",
        "URLRequest+APIRequest.swift",
        "URLSession+Stubbed.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.