Build Information
Successful build of ServiceManager, reference master (81bb25
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 14:33:59 UTC.
Swift 6 data race errors: 23
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/bibinjacobpulickal/ServiceManager.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bibinjacobpulickal/ServiceManager
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 81bb25b Added port component.
Cloned https://github.com/bibinjacobpulickal/ServiceManager.git
Revision (git rev-parse @):
81bb25bfea2779e9bdcd9ccd1bcad592435b24ca
SUCCESS checkout https://github.com/bibinjacobpulickal/ServiceManager.git at master
========================================
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": "servicemanager",
"name": "ServiceManager",
"url": "https://github.com/bibinjacobpulickal/ServiceManager.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ServiceManager",
"dependencies": [
]
}
]
}
Fetching https://github.com/bibinjacobpulickal/ServiceManager.git
[1/954] Fetching servicemanager
Fetched https://github.com/bibinjacobpulickal/ServiceManager.git from cache (0.90s)
Creating working copy for https://github.com/bibinjacobpulickal/ServiceManager.git
Working copy of https://github.com/bibinjacobpulickal/ServiceManager.git resolved at master (81bb25b)
warning: '.resolve-product-dependencies': dependency 'servicemanager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/bibinjacobpulickal/ServiceManager.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/22] Emitting module ServiceManager
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:72:10: warning: associated value 'invalidURL(url:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'any URLConvertible'; this is an error in the Swift 6 language mode
70 | }
71 |
72 | case invalidURL(url: URLConvertible)
| `- warning: associated value 'invalidURL(url:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'any URLConvertible'; this is an error in the Swift 6 language mode
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Protocols/URLConvertible.swift:29:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
27 | /// Types adopting the `URLConvertible` protocol can be used to construct `URL`s, which can then be used to construct
28 | /// `URLRequests`.
29 | public protocol URLConvertible {
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
30 | /// Returns a `URL` from the conforming instance or throws.
31 | ///
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:73:10: warning: associated value 'parameterEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ParameterEncodingFailureReason'; this is an error in the Swift 6 language mode
27 | public enum HTTPError: Error {
28 |
29 | public enum ParameterEncodingFailureReason {
| `- note: consider making enum 'ParameterEncodingFailureReason' conform to the 'Sendable' protocol
30 | case missingURL
31 | case optionalDictionaryCastingFailed
:
71 |
72 | case invalidURL(url: URLConvertible)
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
| `- warning: associated value 'parameterEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ParameterEncodingFailureReason'; this is an error in the Swift 6 language mode
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:74:10: warning: associated value 'multipartEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.MultipartEncodingFailureReason'; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public enum MultipartEncodingFailureReason {
| `- note: consider making enum 'MultipartEncodingFailureReason' conform to the 'Sendable' protocol
37 | case bodyPartURLInvalid(url: URL)
38 | case bodyPartFilenameInvalid(in: URL)
:
72 | case invalidURL(url: URLConvertible)
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
| `- warning: associated value 'multipartEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.MultipartEncodingFailureReason'; this is an error in the Swift 6 language mode
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:75:10: warning: associated value 'responseValidationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseValidationFailureReason'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | public enum ResponseValidationFailureReason {
| `- note: consider making enum 'ResponseValidationFailureReason' conform to the 'Sendable' protocol
55 | case dataFileNil
56 | case dataFileReadFailed(at: URL)
:
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
| `- warning: associated value 'responseValidationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseValidationFailureReason'; this is an error in the Swift 6 language mode
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:76:10: warning: associated value 'responseSerializationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseSerializationFailureReason'; this is an error in the Swift 6 language mode
60 | }
61 |
62 | public enum ResponseSerializationFailureReason {
| `- note: consider making enum 'ResponseSerializationFailureReason' conform to the 'Sendable' protocol
63 | case inputDataNil
64 | case inputDataNilOrZeroLength
:
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
| `- warning: associated value 'responseSerializationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseSerializationFailureReason'; this is an error in the Swift 6 language mode
77 | }
78 |
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:338:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// An order-preserving and case-insensitive representation of HTTP headers.
28 | public struct HTTPHeaders {
| `- note: consider making struct 'HTTPHeaders' conform to the 'Sendable' protocol
29 | private var headers: [HTTPHeader] = []
30 |
:
336 | /// The default set of `HTTPHeaders` used by BBServiceKit. Includes `Accept-Encoding`, `Accept-Language`, and
337 | /// `User-Agent`.
338 | static let `default`: HTTPHeaders = [.defaultAcceptEncoding,
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' 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
339 | .defaultAcceptLanguage,
340 | .defaultUserAgent]
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:348:23: warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
346 | ///
347 | /// See the [Accept-Encoding HTTP header documentation](https://tools.ietf.org/html/rfc7230#section-4.2.3) .
348 | public static let defaultAcceptEncoding: HTTPHeader = {
| |- warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptEncoding' 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
349 | let encodings: [String]
350 | if #available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:363:23: warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
361 | ///
362 | /// See the [Accept-Language HTTP header documentation](https://tools.ietf.org/html/rfc7231#section-5.3.5).
363 | public static let defaultAcceptLanguage: HTTPHeader = {
| |- warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptLanguage' 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
364 | .acceptLanguage(Locale.preferredLanguages.prefix(6).qualityEncoded())
365 | }()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:372:23: warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
370 | ///
371 | /// Example: `iOS Example/1.0 (org.BBServiceKit.iOS-Example; build:1; iOS 13.0.0) BBServiceKit/5.0.0`
372 | public static let defaultUserAgent: HTTPHeader = {
| |- warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultUserAgent' 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
373 | let info = Bundle.main.infoDictionary
374 | let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:33:23: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
| |- warning: static property 'connect' 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 'connect' 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 | /// `DELETE` method.
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:35: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
34 | /// `DELETE` method.
35 | 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
36 | /// `GET` method.
37 | public static let get = HTTPMethod(rawValue: "GET")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:39: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
37 | public static let get = HTTPMethod(rawValue: "GET")
38 | /// `HEAD` method.
39 | 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
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:41:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
39 | public static let head = HTTPMethod(rawValue: "HEAD")
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
| |- warning: static property 'options' 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 'options' 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 | /// `PATCH` method.
43 | public static let patch = HTTPMethod(rawValue: "PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:43: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
42 | /// `PATCH` method.
43 | 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
44 | /// `POST` method.
45 | public static let post = HTTPMethod(rawValue: "POST")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:45: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
43 | public static let patch = HTTPMethod(rawValue: "PATCH")
44 | /// `POST` method.
45 | 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
46 | /// `PUT` method.
47 | public static let put = HTTPMethod(rawValue: "PUT")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:47: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
45 | public static let post = HTTPMethod(rawValue: "POST")
46 | /// `PUT` method.
47 | 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
48 | /// `TRACE` method.
49 | public static let trace = HTTPMethod(rawValue: "TRACE")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:49:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
47 | public static let put = HTTPMethod(rawValue: "PUT")
48 | /// `TRACE` method.
49 | public static let trace = HTTPMethod(rawValue: "TRACE")
| |- warning: static property 'trace' 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 'trace' 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
50 |
51 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:29:23: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:31:23: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' 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
32 | /// `FTP` scheme.
33 | public static let ftp = HTTPScheme(rawValue: "ftp")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:33:23: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
:
31 | public static let http = HTTPScheme(rawValue: "http")
32 | /// `FTP` scheme.
33 | public static let ftp = HTTPScheme(rawValue: "ftp")
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ftp' 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 |
35 | public let rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/BBServiceKit.swift:28:12: warning: let 'BB' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Reference to `Service.shared` for quick bootstrapping and examples.
28 | public let BB = Service.shared
| |- warning: let 'BB' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BB' 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
29 |
30 | /// Current BBServiceKit version. Necessary since SPM doesn't use dynamic libraries. Plus this will be more accurate.
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:30:14: note: class 'Service' does not conform to the 'Sendable' protocol
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | public func result<Object: Decodable>(_ route: Route,
[4/24] Compiling ServiceManager JSONEncoding.swift
[5/24] Compiling ServiceManager PropertyListEncoding.swift
[6/24] Compiling ServiceManager BBServiceKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/BBServiceKit.swift:28:12: warning: let 'BB' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Reference to `Service.shared` for quick bootstrapping and examples.
28 | public let BB = Service.shared
| |- warning: let 'BB' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BB' 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
29 |
30 | /// Current BBServiceKit version. Necessary since SPM doesn't use dynamic libraries. Plus this will be more accurate.
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:30:14: note: class 'Service' does not conform to the 'Sendable' protocol
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | public func result<Object: Decodable>(_ route: Route,
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:151:17: warning: capture of 'self' with non-sendable type 'Service?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
:
149 | let task = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
150 | let httpUrlResponse = urlResponse as? HTTPURLResponse
151 | self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
| `- warning: capture of 'self' with non-sendable type 'Service?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | DispatchQueue.main.async { completion?(data, httpUrlResponse, error) }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:152:44: warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
150 | let httpUrlResponse = urlResponse as? HTTPURLResponse
151 | self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
152 | DispatchQueue.main.async { completion?(data, httpUrlResponse, error) }
| |- warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
153 | }
154 | task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:152:44: warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
150 | let httpUrlResponse = urlResponse as? HTTPURLResponse
151 | self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
152 | DispatchQueue.main.async { completion?(data, httpUrlResponse, error) }
| |- warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
153 | }
154 | task.resume()
[7/24] Compiling ServiceManager Service.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/BBServiceKit.swift:28:12: warning: let 'BB' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// Reference to `Service.shared` for quick bootstrapping and examples.
28 | public let BB = Service.shared
| |- warning: let 'BB' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'BB' 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
29 |
30 | /// Current BBServiceKit version. Necessary since SPM doesn't use dynamic libraries. Plus this will be more accurate.
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:30:14: note: class 'Service' does not conform to the 'Sendable' protocol
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:32:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Service' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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 | public func result<Object: Decodable>(_ route: Route,
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:151:17: warning: capture of 'self' with non-sendable type 'Service?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
28 | public typealias ServiceCompletion<Object> = ((Result<Object, Error>) -> Void)?
29 |
30 | public class Service {
| `- note: class 'Service' does not conform to the 'Sendable' protocol
31 |
32 | public static let shared = Service()
:
149 | let task = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
150 | let httpUrlResponse = urlResponse as? HTTPURLResponse
151 | self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
| `- warning: capture of 'self' with non-sendable type 'Service?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
152 | DispatchQueue.main.async { completion?(data, httpUrlResponse, error) }
153 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:152:44: warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
150 | let httpUrlResponse = urlResponse as? HTTPURLResponse
151 | self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
152 | DispatchQueue.main.async { completion?(data, httpUrlResponse, error) }
| |- warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
153 | }
154 | task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:152:44: warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
150 | let httpUrlResponse = urlResponse as? HTTPURLResponse
151 | self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
152 | DispatchQueue.main.async { completion?(data, httpUrlResponse, error) }
| |- warning: capture of 'completion' with non-sendable type '((Data?, HTTPURLResponse?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
153 | }
154 | task.resume()
[8/24] Compiling ServiceManager RequestComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
[9/24] Compiling ServiceManager ResponseComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
[10/24] Compiling ServiceManager HTTPScheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:29:23: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:31:23: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' 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
32 | /// `FTP` scheme.
33 | public static let ftp = HTTPScheme(rawValue: "ftp")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:33:23: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
:
31 | public static let http = HTTPScheme(rawValue: "http")
32 | /// `FTP` scheme.
33 | public static let ftp = HTTPScheme(rawValue: "ftp")
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ftp' 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 |
35 | public let rawValue: String
[11/24] Compiling ServiceManager DataConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:29:23: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:31:23: warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
| |- warning: static property 'http' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'http' 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
32 | /// `FTP` scheme.
33 | public static let ftp = HTTPScheme(rawValue: "ftp")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:33:23: warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
:
31 | public static let http = HTTPScheme(rawValue: "http")
32 | /// `FTP` scheme.
33 | public static let ftp = HTTPScheme(rawValue: "ftp")
| |- warning: static property 'ftp' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ftp' 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 |
35 | public let rawValue: String
[12/24] Compiling ServiceManager HTTPHeader.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:338:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// An order-preserving and case-insensitive representation of HTTP headers.
28 | public struct HTTPHeaders {
| `- note: consider making struct 'HTTPHeaders' conform to the 'Sendable' protocol
29 | private var headers: [HTTPHeader] = []
30 |
:
336 | /// The default set of `HTTPHeaders` used by BBServiceKit. Includes `Accept-Encoding`, `Accept-Language`, and
337 | /// `User-Agent`.
338 | static let `default`: HTTPHeaders = [.defaultAcceptEncoding,
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' 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
339 | .defaultAcceptLanguage,
340 | .defaultUserAgent]
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:348:23: warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
346 | ///
347 | /// See the [Accept-Encoding HTTP header documentation](https://tools.ietf.org/html/rfc7230#section-4.2.3) .
348 | public static let defaultAcceptEncoding: HTTPHeader = {
| |- warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptEncoding' 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
349 | let encodings: [String]
350 | if #available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:363:23: warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
361 | ///
362 | /// See the [Accept-Language HTTP header documentation](https://tools.ietf.org/html/rfc7231#section-5.3.5).
363 | public static let defaultAcceptLanguage: HTTPHeader = {
| |- warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptLanguage' 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
364 | .acceptLanguage(Locale.preferredLanguages.prefix(6).qualityEncoded())
365 | }()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:372:23: warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
370 | ///
371 | /// Example: `iOS Example/1.0 (org.BBServiceKit.iOS-Example; build:1; iOS 13.0.0) BBServiceKit/5.0.0`
372 | public static let defaultUserAgent: HTTPHeader = {
| |- warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultUserAgent' 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
373 | let info = Bundle.main.infoDictionary
374 | let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:33:23: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
| |- warning: static property 'connect' 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 'connect' 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 | /// `DELETE` method.
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:35: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
34 | /// `DELETE` method.
35 | 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
36 | /// `GET` method.
37 | public static let get = HTTPMethod(rawValue: "GET")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:39: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
37 | public static let get = HTTPMethod(rawValue: "GET")
38 | /// `HEAD` method.
39 | 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
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:41:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
39 | public static let head = HTTPMethod(rawValue: "HEAD")
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
| |- warning: static property 'options' 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 'options' 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 | /// `PATCH` method.
43 | public static let patch = HTTPMethod(rawValue: "PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:43: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
42 | /// `PATCH` method.
43 | 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
44 | /// `POST` method.
45 | public static let post = HTTPMethod(rawValue: "POST")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:45: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
43 | public static let patch = HTTPMethod(rawValue: "PATCH")
44 | /// `POST` method.
45 | 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
46 | /// `PUT` method.
47 | public static let put = HTTPMethod(rawValue: "PUT")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:47: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
45 | public static let post = HTTPMethod(rawValue: "POST")
46 | /// `PUT` method.
47 | 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
48 | /// `TRACE` method.
49 | public static let trace = HTTPMethod(rawValue: "TRACE")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:49:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
47 | public static let put = HTTPMethod(rawValue: "PUT")
48 | /// `TRACE` method.
49 | public static let trace = HTTPMethod(rawValue: "TRACE")
| |- warning: static property 'trace' 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 'trace' 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
50 |
51 | public let rawValue: String
[13/24] Compiling ServiceManager HTTPMethod.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:338:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | /// An order-preserving and case-insensitive representation of HTTP headers.
28 | public struct HTTPHeaders {
| `- note: consider making struct 'HTTPHeaders' conform to the 'Sendable' protocol
29 | private var headers: [HTTPHeader] = []
30 |
:
336 | /// The default set of `HTTPHeaders` used by BBServiceKit. Includes `Accept-Encoding`, `Accept-Language`, and
337 | /// `User-Agent`.
338 | static let `default`: HTTPHeaders = [.defaultAcceptEncoding,
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' 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
339 | .defaultAcceptLanguage,
340 | .defaultUserAgent]
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:348:23: warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
346 | ///
347 | /// See the [Accept-Encoding HTTP header documentation](https://tools.ietf.org/html/rfc7230#section-4.2.3) .
348 | public static let defaultAcceptEncoding: HTTPHeader = {
| |- warning: static property 'defaultAcceptEncoding' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptEncoding' 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
349 | let encodings: [String]
350 | if #available(iOS 11.0, macOS 10.13, tvOS 11.0, watchOS 4.0, *) {
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:363:23: warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
361 | ///
362 | /// See the [Accept-Language HTTP header documentation](https://tools.ietf.org/html/rfc7231#section-5.3.5).
363 | public static let defaultAcceptLanguage: HTTPHeader = {
| |- warning: static property 'defaultAcceptLanguage' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultAcceptLanguage' 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
364 | .acceptLanguage(Locale.preferredLanguages.prefix(6).qualityEncoded())
365 | }()
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:372:23: warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
192 |
193 | /// A representation of a single HTTP header's name / value pair.
194 | public struct HTTPHeader: Hashable {
| `- note: consider making struct 'HTTPHeader' conform to the 'Sendable' protocol
195 | /// Name of the header.
196 | public let name: String
:
370 | ///
371 | /// Example: `iOS Example/1.0 (org.BBServiceKit.iOS-Example; build:1; iOS 13.0.0) BBServiceKit/5.0.0`
372 | public static let defaultUserAgent: HTTPHeader = {
| |- warning: static property 'defaultUserAgent' is not concurrency-safe because non-'Sendable' type 'HTTPHeader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultUserAgent' 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
373 | let info = Bundle.main.infoDictionary
374 | let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:33:23: warning: static property 'connect' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
| |- warning: static property 'connect' 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 'connect' 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 | /// `DELETE` method.
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:35: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
34 | /// `DELETE` method.
35 | 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
36 | /// `GET` method.
37 | public static let get = HTTPMethod(rawValue: "GET")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:39: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
37 | public static let get = HTTPMethod(rawValue: "GET")
38 | /// `HEAD` method.
39 | 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
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:41:23: warning: static property 'options' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
39 | public static let head = HTTPMethod(rawValue: "HEAD")
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
| |- warning: static property 'options' 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 'options' 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 | /// `PATCH` method.
43 | public static let patch = HTTPMethod(rawValue: "PATCH")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:43: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
42 | /// `PATCH` method.
43 | 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
44 | /// `POST` method.
45 | public static let post = HTTPMethod(rawValue: "POST")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:45: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
43 | public static let patch = HTTPMethod(rawValue: "PATCH")
44 | /// `POST` method.
45 | 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
46 | /// `PUT` method.
47 | public static let put = HTTPMethod(rawValue: "PUT")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:47: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
45 | public static let post = HTTPMethod(rawValue: "POST")
46 | /// `PUT` method.
47 | 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
48 | /// `TRACE` method.
49 | public static let trace = HTTPMethod(rawValue: "TRACE")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:49:23: warning: static property 'trace' is not concurrency-safe because non-'Sendable' type 'HTTPMethod' may have shared mutable state; this is an error in the Swift 6 language mode
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
47 | public static let put = HTTPMethod(rawValue: "PUT")
48 | /// `TRACE` method.
49 | public static let trace = HTTPMethod(rawValue: "TRACE")
| |- warning: static property 'trace' 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 'trace' 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
50 |
51 | public let rawValue: String
[14/24] Compiling ServiceManager URLEncoding.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:39: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
37 | public static let get = HTTPMethod(rawValue: "GET")
38 | /// `HEAD` method.
39 | 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
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:35: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
34 | /// `DELETE` method.
35 | 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
36 | /// `GET` method.
37 | public static let get = HTTPMethod(rawValue: "GET")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:72:10: warning: associated value 'invalidURL(url:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'any URLConvertible'; this is an error in the Swift 6 language mode
70 | }
71 |
72 | case invalidURL(url: URLConvertible)
| `- warning: associated value 'invalidURL(url:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'any URLConvertible'; this is an error in the Swift 6 language mode
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Protocols/URLConvertible.swift:29:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
27 | /// Types adopting the `URLConvertible` protocol can be used to construct `URL`s, which can then be used to construct
28 | /// `URLRequests`.
29 | public protocol URLConvertible {
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
30 | /// Returns a `URL` from the conforming instance or throws.
31 | ///
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:73:10: warning: associated value 'parameterEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ParameterEncodingFailureReason'; this is an error in the Swift 6 language mode
27 | public enum HTTPError: Error {
28 |
29 | public enum ParameterEncodingFailureReason {
| `- note: consider making enum 'ParameterEncodingFailureReason' conform to the 'Sendable' protocol
30 | case missingURL
31 | case optionalDictionaryCastingFailed
:
71 |
72 | case invalidURL(url: URLConvertible)
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
| `- warning: associated value 'parameterEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ParameterEncodingFailureReason'; this is an error in the Swift 6 language mode
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:74:10: warning: associated value 'multipartEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.MultipartEncodingFailureReason'; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public enum MultipartEncodingFailureReason {
| `- note: consider making enum 'MultipartEncodingFailureReason' conform to the 'Sendable' protocol
37 | case bodyPartURLInvalid(url: URL)
38 | case bodyPartFilenameInvalid(in: URL)
:
72 | case invalidURL(url: URLConvertible)
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
| `- warning: associated value 'multipartEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.MultipartEncodingFailureReason'; this is an error in the Swift 6 language mode
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:75:10: warning: associated value 'responseValidationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseValidationFailureReason'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | public enum ResponseValidationFailureReason {
| `- note: consider making enum 'ResponseValidationFailureReason' conform to the 'Sendable' protocol
55 | case dataFileNil
56 | case dataFileReadFailed(at: URL)
:
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
| `- warning: associated value 'responseValidationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseValidationFailureReason'; this is an error in the Swift 6 language mode
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:76:10: warning: associated value 'responseSerializationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseSerializationFailureReason'; this is an error in the Swift 6 language mode
60 | }
61 |
62 | public enum ResponseSerializationFailureReason {
| `- note: consider making enum 'ResponseSerializationFailureReason' conform to the 'Sendable' protocol
63 | case inputDataNil
64 | case inputDataNilOrZeroLength
:
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
| `- warning: associated value 'responseSerializationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseSerializationFailureReason'; this is an error in the Swift 6 language mode
77 | }
78 |
[15/24] Compiling ServiceManager HTTPError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:37: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
35 | public static let delete = HTTPMethod(rawValue: "DELETE")
36 | /// `GET` method.
37 | 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
38 | /// `HEAD` method.
39 | public static let head = HTTPMethod(rawValue: "HEAD")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:39: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
:
37 | public static let get = HTTPMethod(rawValue: "GET")
38 | /// `HEAD` method.
39 | 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
40 | /// `OPTIONS` method.
41 | public static let options = HTTPMethod(rawValue: "OPTIONS")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPMethod.swift:35: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
29 | ///
30 | /// See https://tools.ietf.org/html/rfc7231#section-4.3
31 | public struct HTTPMethod: RawRepresentable, Equatable, Hashable {
| `- note: consider making struct 'HTTPMethod' conform to the 'Sendable' protocol
32 | /// `CONNECT` method.
33 | public static let connect = HTTPMethod(rawValue: "CONNECT")
34 | /// `DELETE` method.
35 | 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
36 | /// `GET` method.
37 | public static let get = HTTPMethod(rawValue: "GET")
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:72:10: warning: associated value 'invalidURL(url:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'any URLConvertible'; this is an error in the Swift 6 language mode
70 | }
71 |
72 | case invalidURL(url: URLConvertible)
| `- warning: associated value 'invalidURL(url:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'any URLConvertible'; this is an error in the Swift 6 language mode
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/Protocols/URLConvertible.swift:29:17: note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
27 | /// Types adopting the `URLConvertible` protocol can be used to construct `URL`s, which can then be used to construct
28 | /// `URLRequests`.
29 | public protocol URLConvertible {
| `- note: protocol 'URLConvertible' does not conform to the 'Sendable' protocol
30 | /// Returns a `URL` from the conforming instance or throws.
31 | ///
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:73:10: warning: associated value 'parameterEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ParameterEncodingFailureReason'; this is an error in the Swift 6 language mode
27 | public enum HTTPError: Error {
28 |
29 | public enum ParameterEncodingFailureReason {
| `- note: consider making enum 'ParameterEncodingFailureReason' conform to the 'Sendable' protocol
30 | case missingURL
31 | case optionalDictionaryCastingFailed
:
71 |
72 | case invalidURL(url: URLConvertible)
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
| `- warning: associated value 'parameterEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ParameterEncodingFailureReason'; this is an error in the Swift 6 language mode
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:74:10: warning: associated value 'multipartEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.MultipartEncodingFailureReason'; this is an error in the Swift 6 language mode
34 | }
35 |
36 | public enum MultipartEncodingFailureReason {
| `- note: consider making enum 'MultipartEncodingFailureReason' conform to the 'Sendable' protocol
37 | case bodyPartURLInvalid(url: URL)
38 | case bodyPartFilenameInvalid(in: URL)
:
72 | case invalidURL(url: URLConvertible)
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
| `- warning: associated value 'multipartEncodingFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.MultipartEncodingFailureReason'; this is an error in the Swift 6 language mode
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:75:10: warning: associated value 'responseValidationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseValidationFailureReason'; this is an error in the Swift 6 language mode
52 | }
53 |
54 | public enum ResponseValidationFailureReason {
| `- note: consider making enum 'ResponseValidationFailureReason' conform to the 'Sendable' protocol
55 | case dataFileNil
56 | case dataFileReadFailed(at: URL)
:
73 | case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
| `- warning: associated value 'responseValidationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseValidationFailureReason'; this is an error in the Swift 6 language mode
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPError.swift:76:10: warning: associated value 'responseSerializationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseSerializationFailureReason'; this is an error in the Swift 6 language mode
60 | }
61 |
62 | public enum ResponseSerializationFailureReason {
| `- note: consider making enum 'ResponseSerializationFailureReason' conform to the 'Sendable' protocol
63 | case inputDataNil
64 | case inputDataNilOrZeroLength
:
74 | case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
75 | case responseValidationFailed(reason: ResponseValidationFailureReason)
76 | case responseSerializationFailed(reason: ResponseSerializationFailureReason)
| `- warning: associated value 'responseSerializationFailed(reason:)' of 'Sendable'-conforming enum 'HTTPError' has non-sendable type 'HTTPError.ResponseSerializationFailureReason'; this is an error in the Swift 6 language mode
77 | }
78 |
[16/24] Compiling ServiceManager URLConvertible.swift
[17/24] Compiling ServiceManager URLRequestConvertible.swift
[18/24] Compiling ServiceManager AnyDecoder.swift
[19/24] Compiling ServiceManager AnyEncoder.swift
[20/24] Compiling ServiceManager EncodableExtensions.swift
[21/24] Compiling ServiceManager FormDataEncoding.swift
[22/24] Compiling ServiceManager HTTPEncoding.swift
[23/24] Compiling ServiceManager Route.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:29:23: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
[24/24] Compiling ServiceManager URLComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPScheme.swift:29:23: warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
25 | import Foundation
26 |
27 | public struct HTTPScheme {
| `- note: consider making struct 'HTTPScheme' conform to the 'Sendable' protocol
28 | /// `HTTPS` scheme.
29 | public static let https = HTTPScheme(rawValue: "https")
| |- warning: static property 'https' is not concurrency-safe because non-'Sendable' type 'HTTPScheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'https' 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
30 | /// `HTTP` scheme.
31 | public static let http = HTTPScheme(rawValue: "http")
Build complete! (18.51s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ServiceManager",
"name" : "ServiceManager",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "ServiceManager",
"targets" : [
"ServiceManager"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ServiceManagerTests",
"module_type" : "SwiftTarget",
"name" : "ServiceManagerTests",
"path" : "Tests/ServiceManagerTests",
"sources" : [
"ServiceManagerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ServiceManager"
],
"type" : "test"
},
{
"c99name" : "ServiceManager",
"module_type" : "SwiftTarget",
"name" : "ServiceManager",
"path" : "Sources/ServiceManager",
"product_memberships" : [
"ServiceManager"
],
"sources" : [
"Decoding/AnyDecoder.swift",
"Encoding/AnyEncoder.swift",
"Encoding/EncodableExtensions.swift",
"Encoding/FormDataEncoding.swift",
"Encoding/HTTPEncoding.swift",
"Encoding/JSONEncoding.swift",
"Encoding/PropertyListEncoding.swift",
"Encoding/URLEncoding.swift",
"HTTP/HTTPError.swift",
"HTTP/HTTPHeader.swift",
"HTTP/HTTPMethod.swift",
"HTTP/HTTPScheme.swift",
"Protocols/DataConvertible.swift",
"Protocols/URLConvertible.swift",
"Protocols/URLRequestConvertible.swift",
"Route/RequestComponent.swift",
"Route/ResponseComponent.swift",
"Route/Route.swift",
"Route/URLComponent.swift",
"Service/BBServiceKit.swift",
"Service/Service.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.