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 RSSwiftNetworking, reference main (c1a44b), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 00:42:53 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rootstrap/RSSwiftNetworking.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rootstrap/RSSwiftNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c1a44b6 Merge pull request #17 from rootstrap/refactor/version-number-fix
Cloned https://github.com/rootstrap/RSSwiftNetworking.git
Revision (git rev-parse @):
c1a44b60c4e949092629948158a2b27472a5e0be
SUCCESS checkout https://github.com/rootstrap/RSSwiftNetworking.git at main
Fetching https://github.com/Alamofire/Alamofire.git
[1/30137] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.43s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (3.03s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.6.2
========================================
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": "rsswiftnetworking",
      "name": "RSSwiftNetworking",
      "url": "https://github.com/rootstrap/RSSwiftNetworking.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RSSwiftNetworking",
      "dependencies": [
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire.git",
          "version": "5.10.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/rootstrap/RSSwiftNetworking.git
[1/231] Fetching rsswiftnetworking
Fetched https://github.com/rootstrap/RSSwiftNetworking.git from cache (0.63s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.66s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (1.16s)
Creating working copy for https://github.com/rootstrap/RSSwiftNetworking.git
Working copy of https://github.com/rootstrap/RSSwiftNetworking.git resolved at main (c1a44b6)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
warning: '.resolve-product-dependencies': dependency 'rsswiftnetworking' is not used by any target
Found 1 product dependencies
  - Alamofire
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/rootstrap/RSSwiftNetworking.git
https://github.com/rootstrap/RSSwiftNetworking.git
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "RSSwiftNetworking",
  "name" : "RSSwiftNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "RSSwiftNetworking",
      "targets" : [
        "RSSwiftNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RSSwiftNetworkingAlamofire",
      "targets" : [
        "RSSwiftNetworkingAlamofire",
        "RSSwiftNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RSSwiftNetworkingAlamofire",
      "module_type" : "SwiftTarget",
      "name" : "RSSwiftNetworkingAlamofire",
      "path" : "Sources/RSSwiftNetworkingAlamofire",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "RSSwiftNetworkingAlamofire"
      ],
      "sources" : [
        "APIClient+Alamofire.swift",
        "AlamofireNetworkProvider.swift"
      ],
      "target_dependencies" : [
        "RSSwiftNetworking"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RSSwiftNetworking",
      "module_type" : "SwiftTarget",
      "name" : "RSSwiftNetworking",
      "path" : "Sources/RSSwiftNetworking",
      "product_memberships" : [
        "RSSwiftNetworking",
        "RSSwiftNetworkingAlamofire"
      ],
      "sources" : [
        "Errors/APIClientError.swift",
        "Errors/APIError.swift",
        "Errors/ErrorDomain.swift",
        "Extensions/APIClient+Concurrency.swift",
        "Extensions/Data+Base64.swift",
        "Extensions/Endpoint+URLRequest.swift",
        "Extensions/JSONDecoder+DecodingConfiguration.swift",
        "Extensions/String+File.swift",
        "Models/Base64Media.swift",
        "Models/MultipartMedia.swift",
        "Protocols/APIClient.swift",
        "Protocols/Cancellable.swift",
        "Protocols/HeaderProvider.swift",
        "Protocols/NetworkProvider.swift",
        "Services/BaseAPIClient.swift",
        "Services/Endpoints/RailsAPIEndpoint.swift",
        "Types/API/APIEndpoint.swift",
        "Types/API/DecodingConfiguration.swift",
        "Types/API/EncodingConfiguration.swift",
        "Types/API/Endpoint.swift",
        "Types/API/HTTPHeader.swift",
        "Types/API/ParameterEncoding.swift",
        "Types/API/RailsAPIHeadersProvider.swift",
        "Types/Network/Network.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/61] Emitting module RSSwiftNetworking
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[6/63] Emitting module Alamofire
[7/66] Compiling Alamofire StringEncoding+Alamofire.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
[8/66] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
[9/66] Compiling Alamofire URLEncodedFormEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Errors/APIError.swift:7:14: warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 5 | public struct APIError: LocalizedError {
 6 |   public let statusCode: Int
 7 |   public let underlayingError: RailsError
   |              `- warning: stored property 'underlayingError' of 'Sendable'-conforming struct 'APIError' has non-sendable type 'RailsError'; this is an error in the Swift 6 language mode
 8 |
 9 |   public init?(
   :
49 |
50 | /// A structure that represents a Ruby on Rails API error object
51 | public struct RailsError: Decodable {
   |               `- note: consider making struct 'RailsError' conform to the 'Sendable' protocol
52 |
53 |   public let errors: [String: [String]]?
[10/66] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[11/66] Compiling RSSwiftNetworking Network.swift
[12/66] Compiling Alamofire URLRequest+Alamofire.swift
[13/66] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[14/66] Compiling Alamofire Validation.swift
[18/66] Compiling Alamofire ServerTrustEvaluation.swift
[19/66] Compiling Alamofire Session.swift
[20/66] Compiling Alamofire SessionDelegate.swift
[21/66] Compiling Alamofire ParameterEncoder.swift
[22/66] Compiling Alamofire ParameterEncoding.swift
[23/66] Compiling Alamofire Protected.swift
[26/66] Compiling Alamofire Result+Alamofire.swift
[27/66] Compiling Alamofire RetryPolicy.swift
[28/66] Compiling Alamofire AFError.swift
[29/66] Compiling Alamofire Alamofire.swift
[30/66] Compiling Alamofire AlamofireExtended.swift
[31/66] Compiling Alamofire AuthenticationInterceptor.swift
[32/66] Compiling Alamofire CachedResponseHandler.swift
[33/66] Compiling Alamofire Combine.swift
[34/66] Compiling Alamofire Concurrency.swift
[35/66] Compiling Alamofire DispatchQueue+Alamofire.swift
[36/66] Compiling Alamofire Request.swift
[37/66] Compiling Alamofire RequestInterceptor.swift
[38/66] Compiling Alamofire RequestTaskMap.swift
[39/66] Compiling Alamofire Response.swift
[40/66] Compiling Alamofire EventMonitor.swift
[41/66] Compiling Alamofire HTTPHeaders.swift
[42/66] Compiling Alamofire HTTPMethod.swift
[43/66] Compiling Alamofire MultipartFormData.swift
[44/66] Compiling Alamofire MultipartUpload.swift
[45/66] Compiling Alamofire NetworkReachabilityManager.swift
[46/66] Compiling Alamofire Notifications.swift
[47/66] Compiling Alamofire OperationQueue+Alamofire.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:12:30: warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
10 |         await withCheckedContinuation { continuation in
11 |             self.request(endpoint: endpoint) { result, responseHeaders in
12 |                 continuation.resume(returning: (result, responseHeaders))
   |                              |- warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: Passing task-isolated value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
13 |             }
14 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:33:30: warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
31 |                 media: media
32 |             ) { result, responseHeaders in
33 |                 continuation.resume(returning: (result, responseHeaders))
   |                              |- warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: Passing task-isolated value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
34 |             }
35 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:12:30: warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
10 |         await withCheckedContinuation { continuation in
11 |             self.request(endpoint: endpoint) { result, responseHeaders in
12 |                 continuation.resume(returning: (result, responseHeaders))
   |                              |- warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: Passing task-isolated value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
13 |             }
14 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:33:30: warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
31 |                 media: media
32 |             ) { result, responseHeaders in
33 |                 continuation.resume(returning: (result, responseHeaders))
   |                              |- warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: Passing task-isolated value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
34 |             }
35 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:12:30: warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
10 |         await withCheckedContinuation { continuation in
11 |             self.request(endpoint: endpoint) { result, responseHeaders in
12 |                 continuation.resume(returning: (result, responseHeaders))
   |                              |- warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: Passing task-isolated value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
13 |             }
14 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:33:30: warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
31 |                 media: media
32 |             ) { result, responseHeaders in
33 |                 continuation.resume(returning: (result, responseHeaders))
   |                              |- warning: sending value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: Passing task-isolated value of non-Sendable type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
34 |             }
35 |         }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/DecodingConfiguration.swift:6:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 2 |
 3 | /// A decoding configuration object used in the request chain
 4 | public struct DecodingConfiguration {
   |               `- note: consider making struct 'DecodingConfiguration' conform to the 'Sendable' protocol
 5 |
 6 |   public static let `default` = DecodingConfiguration()
   |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'DecodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 7 |
 8 |   let dateStrategy: JSONDecoder.DateDecodingStrategy
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Types/API/EncodingConfiguration.swift:5:21: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Gives an opportunity to define custom encoding for network requests
4 | public struct EncodingConfiguration {
  |               `- note: consider making struct 'EncodingConfiguration' conform to the 'Sendable' protocol
5 |   public static let `default` = EncodingConfiguration()
  |                     |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'EncodingConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
  |                     |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
  |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[67/69] Compiling RSSwiftNetworkingAlamofire AlamofireNetworkProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworkingAlamofire/AlamofireNetworkProvider.swift:144:1: warning: extension declares a conformance of imported type 'DataRequest' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
142 | }
143 |
144 | extension DataRequest: Cancellable {}
    | |- warning: extension declares a conformance of imported type 'DataRequest' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |
146 | fileprivate extension MultipartMedia {
[68/69] Emitting module RSSwiftNetworkingAlamofire
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworkingAlamofire/APIClient+Alamofire.swift:14:14: warning: static property 'alamofire' is not concurrency-safe because non-'Sendable' type 'BaseAPIClient' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Definition for the Alamofire API client provided for prompt use.
13 | public extension BaseAPIClient {
14 |   static let alamofire = BaseAPIClient(
   |              `- warning: static property 'alamofire' is not concurrency-safe because non-'Sendable' type 'BaseAPIClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |     networkProvider: AlamofireNetworkProvider(),
16 |     headersProvider: [:]
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Services/BaseAPIClient.swift:4:20: note: class 'BaseAPIClient' does not conform to the 'Sendable' protocol
  2 |
  3 | /// Concrete implementation of API Client.
  4 | public final class BaseAPIClient: APIClient {
    |                    `- note: class 'BaseAPIClient' does not conform to the 'Sendable' protocol
  5 |
  6 |   // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworkingAlamofire/APIClient+Alamofire.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RSSwiftNetworking'
 8 |
 9 | import Foundation
10 | import RSSwiftNetworking
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RSSwiftNetworking'
11 |
12 | /// Definition for the Alamofire API client provided for prompt use.
13 | public extension BaseAPIClient {
14 |   static let alamofire = BaseAPIClient(
   |              |- note: add '@MainActor' to make static property 'alamofire' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     networkProvider: AlamofireNetworkProvider(),
16 |     headersProvider: [:]
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworkingAlamofire/AlamofireNetworkProvider.swift:144:1: warning: extension declares a conformance of imported type 'DataRequest' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
142 | }
143 |
144 | extension DataRequest: Cancellable {}
    | |- warning: extension declares a conformance of imported type 'DataRequest' to imported protocol 'Cancellable'; this will not behave correctly if the owners of 'Alamofire' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
145 |
146 | fileprivate extension MultipartMedia {
[69/69] Compiling RSSwiftNetworkingAlamofire APIClient+Alamofire.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworkingAlamofire/APIClient+Alamofire.swift:14:14: warning: static property 'alamofire' is not concurrency-safe because non-'Sendable' type 'BaseAPIClient' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// Definition for the Alamofire API client provided for prompt use.
13 | public extension BaseAPIClient {
14 |   static let alamofire = BaseAPIClient(
   |              `- warning: static property 'alamofire' is not concurrency-safe because non-'Sendable' type 'BaseAPIClient' may have shared mutable state; this is an error in the Swift 6 language mode
15 |     networkProvider: AlamofireNetworkProvider(),
16 |     headersProvider: [:]
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Services/BaseAPIClient.swift:4:20: note: class 'BaseAPIClient' does not conform to the 'Sendable' protocol
  2 |
  3 | /// Concrete implementation of API Client.
  4 | public final class BaseAPIClient: APIClient {
    |                    `- note: class 'BaseAPIClient' does not conform to the 'Sendable' protocol
  5 |
  6 |   // MARK: - Properties
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworkingAlamofire/APIClient+Alamofire.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RSSwiftNetworking'
 8 |
 9 | import Foundation
10 | import RSSwiftNetworking
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RSSwiftNetworking'
11 |
12 | /// Definition for the Alamofire API client provided for prompt use.
13 | public extension BaseAPIClient {
14 |   static let alamofire = BaseAPIClient(
   |              |- note: add '@MainActor' to make static property 'alamofire' part of global actor 'MainActor'
   |              `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |     networkProvider: AlamofireNetworkProvider(),
16 |     headersProvider: [:]
Build complete! (7.93s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.2.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "RSSwiftNetworking",
  "name" : "RSSwiftNetworking",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "RSSwiftNetworking",
      "targets" : [
        "RSSwiftNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RSSwiftNetworkingAlamofire",
      "targets" : [
        "RSSwiftNetworkingAlamofire",
        "RSSwiftNetworking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RSSwiftNetworkingAlamofire",
      "module_type" : "SwiftTarget",
      "name" : "RSSwiftNetworkingAlamofire",
      "path" : "Sources/RSSwiftNetworkingAlamofire",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "RSSwiftNetworkingAlamofire"
      ],
      "sources" : [
        "APIClient+Alamofire.swift",
        "AlamofireNetworkProvider.swift"
      ],
      "target_dependencies" : [
        "RSSwiftNetworking"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RSSwiftNetworking",
      "module_type" : "SwiftTarget",
      "name" : "RSSwiftNetworking",
      "path" : "Sources/RSSwiftNetworking",
      "product_memberships" : [
        "RSSwiftNetworking",
        "RSSwiftNetworkingAlamofire"
      ],
      "sources" : [
        "Errors/APIClientError.swift",
        "Errors/APIError.swift",
        "Errors/ErrorDomain.swift",
        "Extensions/APIClient+Concurrency.swift",
        "Extensions/Data+Base64.swift",
        "Extensions/Endpoint+URLRequest.swift",
        "Extensions/JSONDecoder+DecodingConfiguration.swift",
        "Extensions/String+File.swift",
        "Models/Base64Media.swift",
        "Models/MultipartMedia.swift",
        "Protocols/APIClient.swift",
        "Protocols/Cancellable.swift",
        "Protocols/HeaderProvider.swift",
        "Protocols/NetworkProvider.swift",
        "Services/BaseAPIClient.swift",
        "Services/Endpoints/RailsAPIEndpoint.swift",
        "Types/API/APIEndpoint.swift",
        "Types/API/DecodingConfiguration.swift",
        "Types/API/EncodingConfiguration.swift",
        "Types/API/Endpoint.swift",
        "Types/API/HTTPHeader.swift",
        "Types/API/ParameterEncoding.swift",
        "Types/API/RailsAPIHeadersProvider.swift",
        "Types/Network/Network.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.