Build Information
Successful build of RSSwiftNetworking with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/rootstrap/RSSwiftNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/61] Compiling RSSwiftNetworking EncodingConfiguration.swift
/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: annotate 'default' 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
6 | }
7 |
[6/61] Compiling RSSwiftNetworking Endpoint.swift
/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: annotate 'default' 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
6 | }
7 |
[7/63] Compiling Alamofire AFError.swift
[8/63] Compiling RSSwiftNetworking NetworkProvider.swift
[9/63] Compiling RSSwiftNetworking HTTPHeader.swift
[10/63] Compiling Alamofire CachedResponseHandler.swift
[11/63] Compiling Alamofire MultipartUpload.swift
[12/63] Compiling Alamofire NetworkReachabilityManager.swift
[13/63] Compiling Alamofire Notifications.swift
[14/63] Compiling Alamofire OperationQueue+Alamofire.swift
[15/63] Compiling RSSwiftNetworking APIEndpoint.swift
/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: annotate 'default' 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
7 |
8 | let dateStrategy: JSONDecoder.DateDecodingStrategy
[16/63] Compiling RSSwiftNetworking DecodingConfiguration.swift
/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: annotate 'default' 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
7 |
8 | let dateStrategy: JSONDecoder.DateDecodingStrategy
[17/63] 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/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: annotate 'default' 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
6 | }
7 |
/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: annotate 'default' 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
7 |
8 | let dateStrategy: JSONDecoder.DateDecodingStrategy
[18/63] Compiling RSSwiftNetworking BaseAPIClient.swift
/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: annotate 'default' 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
6 | }
7 |
/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: annotate 'default' 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
7 |
8 | let dateStrategy: JSONDecoder.DateDecodingStrategy
[19/63] Compiling RSSwiftNetworking RailsAPIEndpoint.swift
/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: annotate 'default' 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
6 | }
7 |
/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: annotate 'default' 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
7 |
8 | let dateStrategy: JSONDecoder.DateDecodingStrategy
[20/63] Compiling RSSwiftNetworking MultipartMedia.swift
[21/63] Compiling RSSwiftNetworking APIClient.swift
[22/63] Compiling RSSwiftNetworking Cancellable.swift
[23/63] Compiling RSSwiftNetworking APIClient+Concurrency.swift
[24/63] Compiling RSSwiftNetworking Data+Base64.swift
[25/63] Compiling RSSwiftNetworking Endpoint+URLRequest.swift
[26/66] Compiling Alamofire Combine.swift
[27/66] Compiling Alamofire Concurrency.swift
[28/66] Compiling Alamofire DispatchQueue+Alamofire.swift
[29/66] Compiling RSSwiftNetworking APIClientError.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]]?
[30/66] Compiling RSSwiftNetworking APIError.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]]?
[31/66] Compiling RSSwiftNetworking ErrorDomain.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]]?
[50/66] Compiling RSSwiftNetworking RailsAPIHeadersProvider.swift
[51/66] Compiling RSSwiftNetworking Network.swift
[52/66] Compiling Alamofire RetryPolicy.swift
[53/66] Compiling Alamofire Request.swift
[54/66] Compiling Alamofire RequestInterceptor.swift
[55/66] Compiling Alamofire RequestTaskMap.swift
[56/66] Compiling Alamofire Response.swift
[57/66] Emitting module Alamofire
[64/66] Compiling Alamofire URLRequest+Alamofire.swift
[65/66] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[66/66] Compiling Alamofire Validation.swift
[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 {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift:37:12: warning: let 'AF' is not concurrency-safe because non-'Sendable' type 'Session' may have shared mutable state; this is an error in the Swift 6 language mode
35 |
36 | /// Reference to `Session.default` for quick bootstrapping and examples.
37 | public let AF = Session.default
| |- warning: let 'AF' is not concurrency-safe because non-'Sendable' type 'Session' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'AF' 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
38 |
39 | /// Current Alamofire version. Necessary since SPM doesn't use dynamic libraries. Plus this will be more accurate.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:30:12: note: class 'Session' does not conform to the 'Sendable' protocol
28 | /// functionality for all `Request`s, including queuing, interception, trust management, redirect handling, and response
29 | /// cache handling.
30 | open class Session {
| `- note: class 'Session' does not conform to the 'Sendable' protocol
31 | /// Shared singleton instance used by all `AF.request` APIs. Cannot be modified.
32 | public static let `default` = Session()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift:35:23: warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
27 | ///
28 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
29 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
30 | /// `CONNECT` method.
31 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
33 | public static let delete = HTTPMethod(rawValue: "DELETE")
34 | /// `GET` method.
35 | public static let get = HTTPMethod(rawValue: "GET")
| |- warning: static property 'get' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'get' 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
36 | /// `HEAD` method.
37 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift:43:23: warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
27 | ///
28 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
29 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
30 | /// `CONNECT` method.
31 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
41 | public static let patch = HTTPMethod(rawValue: "PATCH")
42 | /// `POST` method.
43 | public static let post = HTTPMethod(rawValue: "POST")
| |- warning: static property 'post' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'post' 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
44 | /// `PUT` method.
45 | public static let put = HTTPMethod(rawValue: "PUT")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift:45:23: warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
27 | ///
28 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
29 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
30 | /// `CONNECT` method.
31 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
43 | public static let post = HTTPMethod(rawValue: "POST")
44 | /// `PUT` method.
45 | public static let put = HTTPMethod(rawValue: "PUT")
| |- warning: static property 'put' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'put' 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
46 | /// `QUERY` method.
47 | public static let query = HTTPMethod(rawValue: "QUERY")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift:33:23: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
27 | ///
28 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
29 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
30 | /// `CONNECT` method.
31 | public static let connect = HTTPMethod(rawValue: "CONNECT")
32 | /// `DELETE` method.
33 | public static let delete = HTTPMethod(rawValue: "DELETE")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' 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
34 | /// `GET` method.
35 | public static let get = HTTPMethod(rawValue: "GET")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift:41:23: warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
27 | ///
28 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
29 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
30 | /// `CONNECT` method.
31 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
39 | public static let options = HTTPMethod(rawValue: "OPTIONS")
40 | /// `PATCH` method.
41 | public static let patch = HTTPMethod(rawValue: "PATCH")
| |- warning: static property 'patch' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'patch' 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
42 | /// `POST` method.
43 | public static let post = HTTPMethod(rawValue: "POST")
[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: annotate 'alamofire' 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 | 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: annotate 'alamofire' 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 | networkProvider: AlamofireNetworkProvider(),
16 | headersProvider: [:]
Build complete! (38.79s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/28780] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.31s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.68s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.6.2
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.