Build Information
Successful build of RestBird with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/halcyonmobile/RestBird.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/halcyonmobile/RestBird
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at db51dc7 Update podspec
Cloned https://github.com/halcyonmobile/RestBird.git
Revision (git rev-parse @):
db51dc723cf29fbae3d237205e911fdc4debbd9d
SUCCESS checkout https://github.com/halcyonmobile/RestBird.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/halcyonmobile/RestBird.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/36] Emitting module Alamofire
[5/39] Compiling Alamofire URLRequest+Alamofire.swift
[6/39] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[7/39] Compiling Alamofire Validation.swift
[8/39] Compiling Alamofire AFError.swift
[9/39] Compiling Alamofire Alamofire.swift
[10/39] Compiling Alamofire AlamofireExtended.swift
[11/39] Compiling Alamofire AuthenticationInterceptor.swift
[12/39] Compiling Alamofire StringEncoding+Alamofire.swift
[13/39] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[14/39] Compiling Alamofire URLEncodedFormEncoder.swift
[15/39] Compiling Alamofire ParameterEncoding.swift
[16/39] Compiling Alamofire Protected.swift
[17/39] Compiling Alamofire RedirectHandler.swift
[18/39] Compiling Alamofire Request.swift
[19/39] Compiling Alamofire ServerTrustEvaluation.swift
[20/39] Compiling Alamofire Session.swift
[21/39] Compiling Alamofire SessionDelegate.swift
[22/39] Compiling Alamofire CachedResponseHandler.swift
[23/39] Compiling Alamofire Combine.swift
[24/39] Compiling Alamofire DispatchQueue+Alamofire.swift
[25/39] Compiling Alamofire EventMonitor.swift
[26/39] Compiling Alamofire RequestInterceptor.swift
[27/39] Compiling Alamofire RequestTaskMap.swift
[28/39] Compiling Alamofire Response.swift
[29/39] Compiling Alamofire ResponseSerialization.swift
[30/39] Compiling Alamofire Result+Alamofire.swift
[31/39] Compiling Alamofire RetryPolicy.swift
[32/39] Compiling Alamofire NetworkReachabilityManager.swift
[33/39] Compiling Alamofire Notifications.swift
[34/39] Compiling Alamofire OperationQueue+Alamofire.swift
[35/39] Compiling Alamofire ParameterEncoder.swift
[36/39] Compiling Alamofire HTTPHeaders.swift
[37/39] Compiling Alamofire HTTPMethod.swift
[38/39] Compiling Alamofire MultipartFormData.swift
[39/39] Compiling Alamofire MultipartUpload.swift
[40/52] Compiling RestBird SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:11:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | public protocol SessionManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Informs delegate that a URLRequest is about to be executed.
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:33:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |
32 | /// URL session interface
33 | public protocol SessionManager: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |
35 | var config: NetworkClientConfiguration { get }
[41/52] Compiling RestBird RestBird.swift
[42/53] Compiling RestBird Request.swift
[43/53] Compiling RestBird ParameterEncoding.swift
[44/53] Compiling RestBird EmptyResponse.swift
[45/53] Compiling RestBird MultipartRequest.swift
[46/53] Compiling RestBird Data+Codable.swift
[47/53] Emitting module RestBird
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:32:23: warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Session' may have shared mutable state; this is an error in the Swift 6 language mode
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()
| |- warning: class property 'default' 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 '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
33 |
34 | /// Underlying `URLSession` used to create `URLSessionTasks` for this instance, and for which this instance's
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:11:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
9 | import Foundation
10 |
11 | public protocol SessionManagerDelegate: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 | /// Informs delegate that a URLRequest is about to be executed.
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:33:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |
32 | /// URL session interface
33 | public protocol SessionManager: class {
| `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |
35 | var config: NetworkClientConfiguration { get }
[48/53] Compiling RestBird NetworkClient.swift
[49/53] Compiling RestBird HTTPMethod.swift
[50/53] Compiling RestBird Middleware.swift
[51/53] Compiling RestBird DataRequest.swift
[52/53] Compiling RestBird AlamofireSessionManager.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:32:23: warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Session' may have shared mutable state; this is an error in the Swift 6 language mode
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()
| |- warning: class property 'default' 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 '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
33 |
34 | /// Underlying `URLSession` used to create `URLSessionTasks` for this instance, and for which this instance's
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:125:22: warning: We should do this using Alamofire.
123 | }
124 |
125 | #warning("We should do this using Alamofire.")
| `- warning: We should do this using Alamofire.
126 | try? request.afParameters(using: self.config.jsonEncoder)?.forEach { (param) in
127 | if let value = param.value as? String {
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:81:13: warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
79 | ) where Request : MultipartRequest, T : Decodable {
80 | // We need to observe when `uploadRequest` gets set as in case of `.multipart` this will be set later, in `encodingCompletion` and we can't call these methods right after `sessionManager.upload` as `uploadRequest` will be nil at that point.
81 | var uploadRequest: Alamofire.UploadRequest? {
| `- warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
82 | didSet {
83 | // We don't need to treat the case where `uploadRequest` is nil as that would be a failure and `completion(.failure(error))` would be called in `encodingCompletion`.
/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:37:23: warning: static property 'head' 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")
:
35 | public static let get = HTTPMethod(rawValue: "GET")
36 | /// `HEAD` method.
37 | public static let head = HTTPMethod(rawValue: "HEAD")
| |- warning: static property 'head' 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 'head' 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 | /// `OPTIONS` method.
39 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/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 | /// `TRACE` method.
47 | public static let trace = HTTPMethod(rawValue: "TRACE")
/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")
[53/53] Compiling RestBird Request+Alamofire.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:32:23: warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Session' may have shared mutable state; this is an error in the Swift 6 language mode
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()
| |- warning: class property 'default' 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 '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
33 |
34 | /// Underlying `URLSession` used to create `URLSessionTasks` for this instance, and for which this instance's
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:125:22: warning: We should do this using Alamofire.
123 | }
124 |
125 | #warning("We should do this using Alamofire.")
| `- warning: We should do this using Alamofire.
126 | try? request.afParameters(using: self.config.jsonEncoder)?.forEach { (param) in
127 | if let value = param.value as? String {
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:81:13: warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
79 | ) where Request : MultipartRequest, T : Decodable {
80 | // We need to observe when `uploadRequest` gets set as in case of `.multipart` this will be set later, in `encodingCompletion` and we can't call these methods right after `sessionManager.upload` as `uploadRequest` will be nil at that point.
81 | var uploadRequest: Alamofire.UploadRequest? {
| `- warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
82 | didSet {
83 | // We don't need to treat the case where `uploadRequest` is nil as that would be a failure and `completion(.failure(error))` would be called in `encodingCompletion`.
/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:37:23: warning: static property 'head' 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")
:
35 | public static let get = HTTPMethod(rawValue: "GET")
36 | /// `HEAD` method.
37 | public static let head = HTTPMethod(rawValue: "HEAD")
| |- warning: static property 'head' 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 'head' 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 | /// `OPTIONS` method.
39 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/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 | /// `TRACE` method.
47 | public static let trace = HTTPMethod(rawValue: "TRACE")
/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")
Build complete! (31.68s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/28780] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.88s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.4.1 (0.70s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.4.1
Build complete.
{
"dependencies" : [
{
"identity" : "alamofire",
"requirement" : {
"range" : [
{
"lower_bound" : "5.4.0",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Alamofire/Alamofire.git"
}
],
"manifest_display_name" : "RestBird",
"name" : "RestBird",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
}
],
"products" : [
{
"name" : "RestBird",
"targets" : [
"RestBird"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RestBirdTests",
"module_type" : "SwiftTarget",
"name" : "RestBirdTests",
"path" : "Tests/RestBirdTests",
"sources" : [
"XCTestManifests.swift"
],
"target_dependencies" : [
"RestBird"
],
"type" : "test"
},
{
"c99name" : "RestBird",
"module_type" : "SwiftTarget",
"name" : "RestBird",
"path" : "Sources/RestBird",
"product_dependencies" : [
"Alamofire"
],
"product_memberships" : [
"RestBird"
],
"sources" : [
"Alamofire/AlamofireSessionManager.swift",
"Alamofire/Request+Alamofire.swift",
"Client/NetworkClient.swift",
"HTTPMethod.swift",
"Middleware.swift",
"Request/DataRequest.swift",
"Request/EmptyResponse.swift",
"Request/MultipartRequest.swift",
"Request/ParameterEncoding.swift",
"Request/Request.swift",
"RestBird.swift",
"Session/SessionManager.swift",
"Utility/Data+Codable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.