Build Information
Successful build of RSSwiftNetworking, reference main (c1a44b
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 20:41:30 UTC.
Swift 6 data race errors: 4
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/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/29795] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.41s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.73s)
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.1",
"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.77s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.67s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.58s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
Creating working copy for https://github.com/rootstrap/RSSwiftNetworking.git
Working copy of https://github.com/rootstrap/RSSwiftNetworking.git resolved at main (c1a44b6)
warning: 'alamofire': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
| |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
| `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 | platforms: [.macOS(.v10_13),
30 | .iOS(.v12),
warning: '.resolve-product-dependencies': dependency 'rsswiftnetworking' is not used by any target
Found 1 product dependencies
- Alamofire
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/rootstrap/RSSwiftNetworking.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/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.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/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
[6/63] Emitting module Alamofire
[7/66] Compiling Alamofire AFError.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 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]]?
[9/66] Compiling Alamofire AlamofireExtended.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 ServerTrustEvaluation.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
[13/66] Compiling Alamofire Session.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
[14/66] Compiling Alamofire OperationQueue+Alamofire.swift
[15/66] Compiling Alamofire ParameterEncoder.swift
[16/66] Compiling Alamofire ParameterEncoding.swift
[17/66] Compiling Alamofire Protected.swift
[18/66] Compiling Alamofire RedirectHandler.swift
[19/66] Compiling Alamofire MultipartFormData.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/66] Compiling Alamofire MultipartUpload.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
[21/66] Compiling Alamofire NetworkReachabilityManager.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 |
[22/66] Compiling Alamofire Notifications.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 |
[23/66] Compiling Alamofire URLRequest+Alamofire.swift
[24/66] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[25/66] Compiling Alamofire Validation.swift
[26/66] Compiling Alamofire AuthenticationInterceptor.swift
[27/66] Compiling Alamofire CachedResponseHandler.swift
[28/66] Compiling Alamofire Combine.swift
[29/66] Compiling Alamofire Concurrency.swift
[30/66] Compiling Alamofire DispatchQueue+Alamofire.swift
[31/66] Compiling Alamofire EventMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:12:30: warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; 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: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:33:30: warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
31 | media: media
32 | ) { result, responseHeaders in
33 | continuation.resume(returning: (result, responseHeaders))
| `- warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
34 | }
35 | }
[32/66] Compiling Alamofire HTTPHeaders.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:12:30: warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; 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: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:33:30: warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
31 | media: media
32 | ) { result, responseHeaders in
33 | continuation.resume(returning: (result, responseHeaders))
| `- warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
34 | }
35 | }
[33/66] Compiling Alamofire HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:12:30: warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; 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: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
13 | }
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/RSSwiftNetworking/Extensions/APIClient+Concurrency.swift:33:30: warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
31 | media: media
32 | ) { result, responseHeaders in
33 | continuation.resume(returning: (result, responseHeaders))
| `- warning: task-isolated value of type '(result: Result<T?, any Error>, responseHeaders: [AnyHashable : Any])' passed as a strongly transferred parameter; later accesses could race; this is an error in the Swift 6 language mode
34 | }
35 | }
[57/66] Compiling Alamofire StringEncoding+Alamofire.swift
[58/66] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[59/66] Compiling Alamofire URLEncodedFormEncoder.swift
[61/66] Compiling Alamofire RequestInterceptor.swift
[62/66] Compiling Alamofire RequestTaskMap.swift
[63/66] Compiling Alamofire Response.swift
[64/66] Compiling Alamofire ResponseSerialization.swift
[65/66] Compiling Alamofire Result+Alamofire.swift
[66/66] Compiling Alamofire RetryPolicy.swift
[67/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: [:]
[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 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 {
Build complete! (32.41s)
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.