The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ServiceManager, reference 1.2.2 (81bb25), with Swift 6.0 for Linux on 28 Nov 2024 00:45:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

   :
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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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
/host/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")
/host/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")
/host/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
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:38:28: error: cannot find type 'URLRequest' in scope
36 | extension URLRequestConvertible {
37 |     /// The `URLRequest` returned by discarding any `Error` encountered.
38 |     public var urlRequest: URLRequest? { try? asURLRequest() }
   |                            `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:41:11: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | extension URLRequest: URLRequestConvertible {
   |           `- error: cannot find type 'URLRequest' in scope
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
/host/spi-builder-workspace/Sources/ServiceManager/Route/Route.swift:31:35: error: cannot find type 'URLRequest' in scope
29 | public extension Route {
30 |
31 |     func asURLRequest() throws -> URLRequest {
   |                                   `- error: cannot find type 'URLRequest' in scope
32 |         let url            = try asURL()
33 |         let request        = try URLRequest(url: url, method: method, body: body, headers: headers)
/host/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.
/host/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()
/host/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,
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:146:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
144 |         _ request: URLRequestConvertible,
145 |         log: Bool = false,
146 |         _ completion: ((Data?, HTTPURLResponse?, Error?) -> Void)? = nil) {
    |                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 |         do {
148 |             let request = try request.asURLRequest()
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:161:41: error: cannot find type 'URLRequest' in scope
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                         `- error: cannot find type 'URLRequest' in scope
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:161:64: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:195:39: error: cannot find type 'URLRequest' in scope
193 |         let headers: HTTPHeaders?
194 |
195 |         func asURLRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
196 |             let request = try URLRequest(url: url, method: method, body: body, headers: headers)
197 |             return try encoding.encode(request, with: object, using: encoder)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:202:11: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
203 |     /// Creates an instance with the specified `url`, `method`, and `headers`.
204 |     ///
[4/24] Compiling ServiceManager Route.swift
/host/spi-builder-workspace/Sources/ServiceManager/Route/Route.swift:31:35: error: cannot find type 'URLRequest' in scope
29 | public extension Route {
30 |
31 |     func asURLRequest() throws -> URLRequest {
   |                                   `- error: cannot find type 'URLRequest' in scope
32 |         let url            = try asURL()
33 |         let request        = try URLRequest(url: url, method: method, body: body, headers: headers)
/host/spi-builder-workspace/Sources/ServiceManager/Route/Route.swift:33:34: error: cannot find 'URLRequest' in scope
31 |     func asURLRequest() throws -> URLRequest {
32 |         let url            = try asURL()
33 |         let request        = try URLRequest(url: url, method: method, body: body, headers: headers)
   |                                  `- error: cannot find 'URLRequest' in scope
34 |         return try encoding.encode(request, with: object, using: encoder)
35 |     }
/host/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")
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
[5/24] Compiling ServiceManager URLComponent.swift
/host/spi-builder-workspace/Sources/ServiceManager/Route/Route.swift:31:35: error: cannot find type 'URLRequest' in scope
29 | public extension Route {
30 |
31 |     func asURLRequest() throws -> URLRequest {
   |                                   `- error: cannot find type 'URLRequest' in scope
32 |         let url            = try asURL()
33 |         let request        = try URLRequest(url: url, method: method, body: body, headers: headers)
/host/spi-builder-workspace/Sources/ServiceManager/Route/Route.swift:33:34: error: cannot find 'URLRequest' in scope
31 |     func asURLRequest() throws -> URLRequest {
32 |         let url            = try asURL()
33 |         let request        = try URLRequest(url: url, method: method, body: body, headers: headers)
   |                                  `- error: cannot find 'URLRequest' in scope
34 |         return try encoding.encode(request, with: object, using: encoder)
35 |     }
/host/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")
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
[6/24] Compiling ServiceManager AnyDecoder.swift
[7/24] Compiling ServiceManager AnyEncoder.swift
[8/24] Compiling ServiceManager EncodableExtensions.swift
[9/24] Compiling ServiceManager FormDataEncoding.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:47:101: error: cannot find type 'URLRequest' in scope
 45 |     }
 46 |
 47 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 48 |         var urlRequest = try urlRequest.asURLRequest()
 49 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:54:94: error: cannot find type 'URLRequest' in scope
52 |     /// - Returns:      The encoded `URLRequest`.
53 |     /// - Throws:       Any `Error` produced during parameter encoding.
54 |     func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:54:40: error: cannot infer contextual base in reference to member 'contentType'
 52 |
 53 |         if urlRequest.headers["Content-Type"] == nil {
 54 |             urlRequest.headers.update(.contentType(formData.contentType))
    |                                        `- error: cannot infer contextual base in reference to member 'contentType'
 55 |         }
 56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:178:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
176 |
177 |         do {
178 |             let isReachable = try fileURL.checkPromisedItemIsReachable()
    |                                           `- error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
179 |             guard isReachable else {
180 |                 setBodyPartError(withReason: .bodyPartFileNotReachable(at: fileURL))
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                      `- error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                            `- error: cannot find 'kUTTagClassFilenameExtension' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:107: error: cannot find type 'CFString' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                                                                           `- error: cannot find type 'CFString' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:117: error: 'nil' requires a contextual type
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                                                                                     `- error: 'nil' requires a contextual type
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:411:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
    |                               `- error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
412 |         {
413 |             return contentType as String
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:411:67: error: cannot find 'kUTTagClassMIMEType' in scope
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
    |                                                                   `- error: cannot find 'kUTTagClassMIMEType' in scope
412 |         {
413 |             return contentType as String
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:59:123: error: cannot find type 'URLRequest' in scope
57 | extension ParameterEncoding {
58 |
59 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
60 |         try encode(urlRequest, with: try object?.jsonObject(using: encoder) as? Parameters)
61 |     }
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift:51:123: error: cannot find type 'URLRequest' in scope
49 |     }
50 |
51 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
52 |         var urlRequest = try urlRequest.asURLRequest()
53 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift:70:40: error: cannot infer contextual base in reference to member 'contentType'
68 |         }
69 |         if urlRequest.headers["Content-Type"] == nil {
70 |             urlRequest.headers.update(.contentType("application/json"))
   |                                        `- error: cannot infer contextual base in reference to member 'contentType'
71 |         }
72 |
[10/24] Compiling ServiceManager HTTPEncoding.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:47:101: error: cannot find type 'URLRequest' in scope
 45 |     }
 46 |
 47 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 48 |         var urlRequest = try urlRequest.asURLRequest()
 49 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:54:94: error: cannot find type 'URLRequest' in scope
52 |     /// - Returns:      The encoded `URLRequest`.
53 |     /// - Throws:       Any `Error` produced during parameter encoding.
54 |     func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:54:40: error: cannot infer contextual base in reference to member 'contentType'
 52 |
 53 |         if urlRequest.headers["Content-Type"] == nil {
 54 |             urlRequest.headers.update(.contentType(formData.contentType))
    |                                        `- error: cannot infer contextual base in reference to member 'contentType'
 55 |         }
 56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:178:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
176 |
177 |         do {
178 |             let isReachable = try fileURL.checkPromisedItemIsReachable()
    |                                           `- error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
179 |             guard isReachable else {
180 |                 setBodyPartError(withReason: .bodyPartFileNotReachable(at: fileURL))
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                      `- error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                            `- error: cannot find 'kUTTagClassFilenameExtension' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:107: error: cannot find type 'CFString' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                                                                           `- error: cannot find type 'CFString' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:117: error: 'nil' requires a contextual type
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                                                                                     `- error: 'nil' requires a contextual type
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:411:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
    |                               `- error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
412 |         {
413 |             return contentType as String
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:411:67: error: cannot find 'kUTTagClassMIMEType' in scope
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
    |                                                                   `- error: cannot find 'kUTTagClassMIMEType' in scope
412 |         {
413 |             return contentType as String
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:59:123: error: cannot find type 'URLRequest' in scope
57 | extension ParameterEncoding {
58 |
59 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
60 |         try encode(urlRequest, with: try object?.jsonObject(using: encoder) as? Parameters)
61 |     }
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift:51:123: error: cannot find type 'URLRequest' in scope
49 |     }
50 |
51 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
52 |         var urlRequest = try urlRequest.asURLRequest()
53 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift:70:40: error: cannot infer contextual base in reference to member 'contentType'
68 |         }
69 |         if urlRequest.headers["Content-Type"] == nil {
70 |             urlRequest.headers.update(.contentType("application/json"))
   |                                        `- error: cannot infer contextual base in reference to member 'contentType'
71 |         }
72 |
[11/24] Compiling ServiceManager JSONEncoding.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:47:101: error: cannot find type 'URLRequest' in scope
 45 |     }
 46 |
 47 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 48 |         var urlRequest = try urlRequest.asURLRequest()
 49 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:54:94: error: cannot find type 'URLRequest' in scope
52 |     /// - Returns:      The encoded `URLRequest`.
53 |     /// - Throws:       Any `Error` produced during parameter encoding.
54 |     func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:54:40: error: cannot infer contextual base in reference to member 'contentType'
 52 |
 53 |         if urlRequest.headers["Content-Type"] == nil {
 54 |             urlRequest.headers.update(.contentType(formData.contentType))
    |                                        `- error: cannot infer contextual base in reference to member 'contentType'
 55 |         }
 56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:178:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
176 |
177 |         do {
178 |             let isReachable = try fileURL.checkPromisedItemIsReachable()
    |                                           `- error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
179 |             guard isReachable else {
180 |                 setBodyPartError(withReason: .bodyPartFileNotReachable(at: fileURL))
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                      `- error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                            `- error: cannot find 'kUTTagClassFilenameExtension' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:107: error: cannot find type 'CFString' in scope
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                                                                           `- error: cannot find type 'CFString' in scope
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:410:117: error: 'nil' requires a contextual type
408 |     private func mimeType(forPathExtension pathExtension: String) -> String {
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
    |                                                                                                                     `- error: 'nil' requires a contextual type
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
412 |         {
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:411:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
    |                               `- error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
412 |         {
413 |             return contentType as String
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/FormDataEncoding.swift:411:67: error: cannot find 'kUTTagClassMIMEType' in scope
409 |         if
410 |             let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
411 |             let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
    |                                                                   `- error: cannot find 'kUTTagClassMIMEType' in scope
412 |         {
413 |             return contentType as String
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:59:123: error: cannot find type 'URLRequest' in scope
57 | extension ParameterEncoding {
58 |
59 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
60 |         try encode(urlRequest, with: try object?.jsonObject(using: encoder) as? Parameters)
61 |     }
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift:51:123: error: cannot find type 'URLRequest' in scope
49 |     }
50 |
51 |     public func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest {
   |                                                                                                                           `- error: cannot find type 'URLRequest' in scope
52 |         var urlRequest = try urlRequest.asURLRequest()
53 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/JSONEncoding.swift:70:40: error: cannot infer contextual base in reference to member 'contentType'
68 |         }
69 |         if urlRequest.headers["Content-Type"] == nil {
70 |             urlRequest.headers.update(.contentType("application/json"))
   |                                        `- error: cannot infer contextual base in reference to member 'contentType'
71 |         }
72 |
[12/24] Compiling ServiceManager RequestComponent.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/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")
[13/24] Compiling ServiceManager ResponseComponent.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/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")
[14/24] Compiling ServiceManager PropertyListEncoding.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift:49:101: error: cannot find type 'URLRequest' in scope
47 |     }
48 |
49 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
   |                                                                                                     `- error: cannot find type 'URLRequest' in scope
50 |         var urlRequest = try urlRequest.asURLRequest()
51 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:54:94: error: cannot find type 'URLRequest' in scope
52 |     /// - Returns:      The encoded `URLRequest`.
53 |     /// - Throws:       Any `Error` produced during parameter encoding.
54 |     func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift:62:44: error: cannot infer contextual base in reference to member 'contentType'
60 |
61 |             if urlRequest.headers["Content-Type"] == nil {
62 |                 urlRequest.headers.update(.contentType("application/x-plist"))
   |                                            `- error: cannot infer contextual base in reference to member 'contentType'
63 |             }
64 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:79:101: error: cannot find type 'URLRequest' in scope
 77 |     }
 78 |
 79 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 80 |         var urlRequest = try urlRequest.asURLRequest()
 81 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:97:44: error: cannot infer contextual base in reference to member 'contentType'
 95 |         } else {
 96 |             if urlRequest.headers["Content-Type"] == nil {
 97 |                 urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
    |                                            `- error: cannot infer contextual base in reference to member 'contentType'
 98 |             }
 99 |
/host/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")
/host/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")
/host/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")
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:193:36: error: cannot find 'CFBooleanGetTypeID' in scope
191 |
192 | extension NSNumber {
193 |     fileprivate var isBool: Bool { CFBooleanGetTypeID() == CFGetTypeID(self) }
    |                                    `- error: cannot find 'CFBooleanGetTypeID' in scope
194 | }
195 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:193:60: error: cannot find 'CFGetTypeID' in scope
191 |
192 | extension NSNumber {
193 |     fileprivate var isBool: Bool { CFBooleanGetTypeID() == CFGetTypeID(self) }
    |                                                            `- error: cannot find 'CFGetTypeID' in scope
194 | }
195 |
/host/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)
/host/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 |     ///
/host/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)
/host/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)
/host/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 | }
/host/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 URLEncoding.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift:49:101: error: cannot find type 'URLRequest' in scope
47 |     }
48 |
49 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
   |                                                                                                     `- error: cannot find type 'URLRequest' in scope
50 |         var urlRequest = try urlRequest.asURLRequest()
51 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:54:94: error: cannot find type 'URLRequest' in scope
52 |     /// - Returns:      The encoded `URLRequest`.
53 |     /// - Throws:       Any `Error` produced during parameter encoding.
54 |     func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift:62:44: error: cannot infer contextual base in reference to member 'contentType'
60 |
61 |             if urlRequest.headers["Content-Type"] == nil {
62 |                 urlRequest.headers.update(.contentType("application/x-plist"))
   |                                            `- error: cannot infer contextual base in reference to member 'contentType'
63 |             }
64 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:79:101: error: cannot find type 'URLRequest' in scope
 77 |     }
 78 |
 79 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 80 |         var urlRequest = try urlRequest.asURLRequest()
 81 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:97:44: error: cannot infer contextual base in reference to member 'contentType'
 95 |         } else {
 96 |             if urlRequest.headers["Content-Type"] == nil {
 97 |                 urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
    |                                            `- error: cannot infer contextual base in reference to member 'contentType'
 98 |             }
 99 |
/host/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")
/host/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")
/host/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")
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:193:36: error: cannot find 'CFBooleanGetTypeID' in scope
191 |
192 | extension NSNumber {
193 |     fileprivate var isBool: Bool { CFBooleanGetTypeID() == CFGetTypeID(self) }
    |                                    `- error: cannot find 'CFBooleanGetTypeID' in scope
194 | }
195 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:193:60: error: cannot find 'CFGetTypeID' in scope
191 |
192 | extension NSNumber {
193 |     fileprivate var isBool: Bool { CFBooleanGetTypeID() == CFGetTypeID(self) }
    |                                                            `- error: cannot find 'CFGetTypeID' in scope
194 | }
195 |
/host/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)
/host/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 |     ///
/host/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)
/host/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)
/host/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 | }
/host/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 HTTPError.swift
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift:49:101: error: cannot find type 'URLRequest' in scope
47 |     }
48 |
49 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
   |                                                                                                     `- error: cannot find type 'URLRequest' in scope
50 |         var urlRequest = try urlRequest.asURLRequest()
51 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:54:94: error: cannot find type 'URLRequest' in scope
52 |     /// - Returns:      The encoded `URLRequest`.
53 |     /// - Throws:       Any `Error` produced during parameter encoding.
54 |     func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
   |                                                                                              `- error: cannot find type 'URLRequest' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/PropertyListEncoding.swift:62:44: error: cannot infer contextual base in reference to member 'contentType'
60 |
61 |             if urlRequest.headers["Content-Type"] == nil {
62 |                 urlRequest.headers.update(.contentType("application/x-plist"))
   |                                            `- error: cannot infer contextual base in reference to member 'contentType'
63 |             }
64 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:79:101: error: cannot find type 'URLRequest' in scope
 77 |     }
 78 |
 79 |     public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
    |                                                                                                     `- error: cannot find type 'URLRequest' in scope
 80 |         var urlRequest = try urlRequest.asURLRequest()
 81 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:97:44: error: cannot infer contextual base in reference to member 'contentType'
 95 |         } else {
 96 |             if urlRequest.headers["Content-Type"] == nil {
 97 |                 urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
    |                                            `- error: cannot infer contextual base in reference to member 'contentType'
 98 |             }
 99 |
/host/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")
/host/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")
/host/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")
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:193:36: error: cannot find 'CFBooleanGetTypeID' in scope
191 |
192 | extension NSNumber {
193 |     fileprivate var isBool: Bool { CFBooleanGetTypeID() == CFGetTypeID(self) }
    |                                    `- error: cannot find 'CFBooleanGetTypeID' in scope
194 | }
195 |
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/URLEncoding.swift:193:60: error: cannot find 'CFGetTypeID' in scope
191 |
192 | extension NSNumber {
193 |     fileprivate var isBool: Bool { CFBooleanGetTypeID() == CFGetTypeID(self) }
    |                                                            `- error: cannot find 'CFGetTypeID' in scope
194 | }
195 |
/host/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)
/host/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 |     ///
/host/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)
/host/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)
/host/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 | }
/host/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 |
[17/24] Compiling ServiceManager HTTPHeader.swift
/host/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]
/host/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, *) {
/host/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 |     }()
/host/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) ??
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:374:33: error: cannot find 'kCFBundleExecutableKey' in scope
372 |     public static let defaultUserAgent: HTTPHeader = {
373 |         let info = Bundle.main.infoDictionary
374 |         let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
    |                                 `- error: cannot find 'kCFBundleExecutableKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:377:28: error: cannot find 'kCFBundleIdentifierKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
    |                            `- error: cannot find 'kCFBundleIdentifierKey' in scope
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:379:30: error: cannot find 'kCFBundleVersionKey' in scope
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
    |                              `- error: cannot find 'kCFBundleVersionKey' in scope
380 |
381 |         let osNameVersion: String = {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:428:11: error: cannot find type 'URLRequest' in scope
426 | // MARK: - System Type Extensions
427 |
428 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
429 |     /// Returns `allHTTPHeaderFields` as `HTTPHeaders`.
430 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
434 | }
435 |
436 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
437 |     /// Returns `allHeaderFields` as `HTTPHeaders`.
438 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:443:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
441 | }
442 |
443 | public extension URLSessionConfiguration {
    |        `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
444 |     /// Returns `httpAdditionalHeaders` as `HTTPHeaders`.
445 |     var headers: HTTPHeaders {
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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
/host/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")
/host/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")
/host/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
[18/24] Compiling ServiceManager HTTPMethod.swift
/host/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]
/host/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, *) {
/host/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 |     }()
/host/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) ??
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:374:33: error: cannot find 'kCFBundleExecutableKey' in scope
372 |     public static let defaultUserAgent: HTTPHeader = {
373 |         let info = Bundle.main.infoDictionary
374 |         let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
    |                                 `- error: cannot find 'kCFBundleExecutableKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:377:28: error: cannot find 'kCFBundleIdentifierKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
    |                            `- error: cannot find 'kCFBundleIdentifierKey' in scope
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:379:30: error: cannot find 'kCFBundleVersionKey' in scope
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
    |                              `- error: cannot find 'kCFBundleVersionKey' in scope
380 |
381 |         let osNameVersion: String = {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:428:11: error: cannot find type 'URLRequest' in scope
426 | // MARK: - System Type Extensions
427 |
428 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
429 |     /// Returns `allHTTPHeaderFields` as `HTTPHeaders`.
430 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
434 | }
435 |
436 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
437 |     /// Returns `allHeaderFields` as `HTTPHeaders`.
438 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:443:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
441 | }
442 |
443 | public extension URLSessionConfiguration {
    |        `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
444 |     /// Returns `httpAdditionalHeaders` as `HTTPHeaders`.
445 |     var headers: HTTPHeaders {
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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
/host/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")
/host/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")
/host/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
[19/24] Compiling ServiceManager HTTPScheme.swift
/host/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]
/host/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, *) {
/host/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 |     }()
/host/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) ??
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:374:33: error: cannot find 'kCFBundleExecutableKey' in scope
372 |     public static let defaultUserAgent: HTTPHeader = {
373 |         let info = Bundle.main.infoDictionary
374 |         let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
    |                                 `- error: cannot find 'kCFBundleExecutableKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:377:28: error: cannot find 'kCFBundleIdentifierKey' in scope
375 |             (ProcessInfo.processInfo.arguments.first?.split(separator: "/").last.map(String.init)) ??
376 |             "Unknown"
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
    |                            `- error: cannot find 'kCFBundleIdentifierKey' in scope
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:379:30: error: cannot find 'kCFBundleVersionKey' in scope
377 |         let bundle = info?[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
378 |         let appVersion = info?["CFBundleShortVersionString"] as? String ?? "Unknown"
379 |         let appBuild = info?[kCFBundleVersionKey as String] as? String ?? "Unknown"
    |                              `- error: cannot find 'kCFBundleVersionKey' in scope
380 |
381 |         let osNameVersion: String = {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:428:11: error: cannot find type 'URLRequest' in scope
426 | // MARK: - System Type Extensions
427 |
428 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
429 |     /// Returns `allHTTPHeaderFields` as `HTTPHeaders`.
430 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
434 | }
435 |
436 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
437 |     /// Returns `allHeaderFields` as `HTTPHeaders`.
438 |     public var headers: HTTPHeaders {
/host/spi-builder-workspace/Sources/ServiceManager/HTTP/HTTPHeader.swift:443:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
441 | }
442 |
443 | public extension URLSessionConfiguration {
    |        `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
444 |     /// Returns `httpAdditionalHeaders` as `HTTPHeaders`.
445 |     var headers: HTTPHeaders {
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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")
/host/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
/host/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")
/host/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")
/host/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
[20/24] Compiling ServiceManager DataConvertible.swift
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:38:28: error: cannot find type 'URLRequest' in scope
36 | extension URLRequestConvertible {
37 |     /// The `URLRequest` returned by discarding any `Error` encountered.
38 |     public var urlRequest: URLRequest? { try? asURLRequest() }
   |                            `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:41:11: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | extension URLRequest: URLRequestConvertible {
   |           `- error: cannot find type 'URLRequest' in scope
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:43:42: error: cannot find type 'URLRequest' in scope
41 | extension URLRequest: URLRequestConvertible {
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
   |                                          `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
[21/24] Compiling ServiceManager URLConvertible.swift
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:38:28: error: cannot find type 'URLRequest' in scope
36 | extension URLRequestConvertible {
37 |     /// The `URLRequest` returned by discarding any `Error` encountered.
38 |     public var urlRequest: URLRequest? { try? asURLRequest() }
   |                            `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:41:11: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | extension URLRequest: URLRequestConvertible {
   |           `- error: cannot find type 'URLRequest' in scope
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:43:42: error: cannot find type 'URLRequest' in scope
41 | extension URLRequest: URLRequestConvertible {
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
   |                                          `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
[22/24] Compiling ServiceManager URLRequestConvertible.swift
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:38:28: error: cannot find type 'URLRequest' in scope
36 | extension URLRequestConvertible {
37 |     /// The `URLRequest` returned by discarding any `Error` encountered.
38 |     public var urlRequest: URLRequest? { try? asURLRequest() }
   |                            `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:41:11: error: cannot find type 'URLRequest' in scope
39 | }
40 |
41 | extension URLRequest: URLRequestConvertible {
   |           `- error: cannot find type 'URLRequest' in scope
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:43:42: error: cannot find type 'URLRequest' in scope
41 | extension URLRequest: URLRequestConvertible {
42 |     /// Returns `self`.
43 |     public func asURLRequest() throws -> URLRequest { self }
   |                                          `- error: cannot find type 'URLRequest' in scope
44 | }
45 |
[23/24] Compiling ServiceManager BBServiceKit.swift
/host/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.
/host/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()
/host/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,
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/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")
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:146:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
144 |         _ request: URLRequestConvertible,
145 |         log: Bool = false,
146 |         _ completion: ((Data?, HTTPURLResponse?, Error?) -> Void)? = nil) {
    |                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 |         do {
148 |             let request = try request.asURLRequest()
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:161:41: error: cannot find type 'URLRequest' in scope
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                         `- error: cannot find type 'URLRequest' in scope
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:161:64: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:195:39: error: cannot find type 'URLRequest' in scope
193 |         let headers: HTTPHeaders?
194 |
195 |         func asURLRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
196 |             let request = try URLRequest(url: url, method: method, body: body, headers: headers)
197 |             return try encoding.encode(request, with: object, using: encoder)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:202:11: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
203 |     /// Creates an instance with the specified `url`, `method`, and `headers`.
204 |     ///
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:111:44: error: 'nil' requires a contextual type
109 |             }
110 |         } catch {
111 |             logSession(log: true, request: nil, response: nil, error: error, data: nil)
    |                                            `- error: 'nil' requires a contextual type
112 |             completion?(.failure(error))
113 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:111:59: error: 'nil' requires a contextual type
109 |             }
110 |         } catch {
111 |             logSession(log: true, request: nil, response: nil, error: error, data: nil)
    |                                                           `- error: 'nil' requires a contextual type
112 |             completion?(.failure(error))
113 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:111:84: error: 'nil' requires a contextual type
109 |             }
110 |         } catch {
111 |             logSession(log: true, request: nil, response: nil, error: error, data: nil)
    |                                                                                    `- error: 'nil' requires a contextual type
112 |             completion?(.failure(error))
113 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:84: error: cannot infer type of closure parameter 'data' without a type annotation
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                                                                    `- error: cannot infer type of closure parameter 'data' without a type annotation
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:90: error: cannot infer type of closure parameter 'urlResponse' without a type annotation
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                                                                          `- error: cannot infer type of closure parameter 'urlResponse' without a type annotation
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:103: error: cannot infer type of closure parameter 'error' without a type annotation
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                                                                                       `- error: cannot infer type of closure parameter 'error' without a type annotation
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:156:43: error: 'nil' requires a contextual type
154 |             task.resume()
155 |         } catch {
156 |             logSession(log: log, request: nil, response: nil, error: error, data: nil)
    |                                           `- error: 'nil' requires a contextual type
157 |             completion?(nil, nil, error)
158 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:156:58: error: 'nil' requires a contextual type
154 |             task.resume()
155 |         } catch {
156 |             logSession(log: log, request: nil, response: nil, error: error, data: nil)
    |                                                          `- error: 'nil' requires a contextual type
157 |             completion?(nil, nil, error)
158 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:156:83: error: 'nil' requires a contextual type
154 |             task.resume()
155 |         } catch {
156 |             logSession(log: log, request: nil, response: nil, error: error, data: nil)
    |                                                                                   `- error: 'nil' requires a contextual type
157 |             completion?(nil, nil, error)
158 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:163:75: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
    |                                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
164 |             return
165 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:175:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
173 |             print("Body:\t\tSize: \(data)\n\(data.prettyPrintedString)")
174 |         }
175 |         if let statusCode = response?.statusCode {
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
176 |             print("Status Code: \t\(statusCode)")
177 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:196:31: error: cannot find 'URLRequest' in scope
194 |
195 |         func asURLRequest() throws -> URLRequest {
196 |             let request = try URLRequest(url: url, method: method, body: body, headers: headers)
    |                               `- error: cannot find 'URLRequest' in scope
197 |             return try encoding.encode(request, with: object, using: encoder)
198 |         }
[24/24] Compiling ServiceManager Service.swift
/host/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.
/host/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()
/host/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,
/host/spi-builder-workspace/Sources/ServiceManager/Protocols/URLRequestConvertible.swift:33:35: error: cannot find type 'URLRequest' in scope
31 |     /// - Returns: A `URLRequest`.
32 |     /// - Throws:  Any error thrown while constructing the `URLRequest`.
33 |     func asURLRequest() throws -> URLRequest
   |                                   `- error: cannot find type 'URLRequest' in scope
34 | }
35 |
/host/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")
/host/spi-builder-workspace/Sources/ServiceManager/Encoding/HTTPEncoding.swift:41:116: error: cannot find type 'URLRequest' in scope
39 |     /// - Returns:      The encoded `URLRequest`.
40 |     /// - Throws:       Any `Error` produced during parameter encoding.
41 |     func encode(_ urlRequest: URLRequestConvertible, with object: Encodable?, using encoder: AnyEncoder) throws -> URLRequest
   |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
42 | }
43 |
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:146:32: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
144 |         _ request: URLRequestConvertible,
145 |         log: Bool = false,
146 |         _ completion: ((Data?, HTTPURLResponse?, Error?) -> Void)? = nil) {
    |                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 |         do {
148 |             let request = try request.asURLRequest()
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:161:41: error: cannot find type 'URLRequest' in scope
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                         `- error: cannot find type 'URLRequest' in scope
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:161:64: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 |     }
160 |
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
    |                                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:195:39: error: cannot find type 'URLRequest' in scope
193 |         let headers: HTTPHeaders?
194 |
195 |         func asURLRequest() throws -> URLRequest {
    |                                       `- error: cannot find type 'URLRequest' in scope
196 |             let request = try URLRequest(url: url, method: method, body: body, headers: headers)
197 |             return try encoding.encode(request, with: object, using: encoder)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:202:11: error: cannot find type 'URLRequest' in scope
200 | }
201 |
202 | extension URLRequest {
    |           `- error: cannot find type 'URLRequest' in scope
203 |     /// Creates an instance with the specified `url`, `method`, and `headers`.
204 |     ///
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:111:44: error: 'nil' requires a contextual type
109 |             }
110 |         } catch {
111 |             logSession(log: true, request: nil, response: nil, error: error, data: nil)
    |                                            `- error: 'nil' requires a contextual type
112 |             completion?(.failure(error))
113 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:111:59: error: 'nil' requires a contextual type
109 |             }
110 |         } catch {
111 |             logSession(log: true, request: nil, response: nil, error: error, data: nil)
    |                                                           `- error: 'nil' requires a contextual type
112 |             completion?(.failure(error))
113 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:111:84: error: 'nil' requires a contextual type
109 |             }
110 |         } catch {
111 |             logSession(log: true, request: nil, response: nil, error: error, data: nil)
    |                                                                                    `- error: 'nil' requires a contextual type
112 |             completion?(.failure(error))
113 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:84: error: cannot infer type of closure parameter 'data' without a type annotation
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                                                                    `- error: cannot infer type of closure parameter 'data' without a type annotation
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:90: error: cannot infer type of closure parameter 'urlResponse' without a type annotation
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                                                                          `- error: cannot infer type of closure parameter 'urlResponse' without a type annotation
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:149:103: error: cannot infer type of closure parameter 'error' without a type annotation
147 |         do {
148 |             let request = try request.asURLRequest()
149 |             let task    = URLSession.shared.dataTask(with: request) { [weak self] (data, urlResponse, error) in
    |                                                                                                       `- error: cannot infer type of closure parameter 'error' without a type annotation
150 |                 let httpUrlResponse = urlResponse as? HTTPURLResponse
151 |                 self?.logSession(log: log, request: request, response: httpUrlResponse, error: error, data: data)
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:156:43: error: 'nil' requires a contextual type
154 |             task.resume()
155 |         } catch {
156 |             logSession(log: log, request: nil, response: nil, error: error, data: nil)
    |                                           `- error: 'nil' requires a contextual type
157 |             completion?(nil, nil, error)
158 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:156:58: error: 'nil' requires a contextual type
154 |             task.resume()
155 |         } catch {
156 |             logSession(log: log, request: nil, response: nil, error: error, data: nil)
    |                                                          `- error: 'nil' requires a contextual type
157 |             completion?(nil, nil, error)
158 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:156:83: error: 'nil' requires a contextual type
154 |             task.resume()
155 |         } catch {
156 |             logSession(log: log, request: nil, response: nil, error: error, data: nil)
    |                                                                                   `- error: 'nil' requires a contextual type
157 |             completion?(nil, nil, error)
158 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:163:75: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
161 |     func logSession(log: Bool, request: URLRequest?, response: HTTPURLResponse?, error: Error?, data: Data?) {
162 |
163 |         if log == false && error == nil && (200..<300).contains(response?.statusCode ?? 0) {
    |                                                                           `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
164 |             return
165 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:175:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
173 |             print("Body:\t\tSize: \(data)\n\(data.prettyPrintedString)")
174 |         }
175 |         if let statusCode = response?.statusCode {
    |                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
176 |             print("Status Code: \t\(statusCode)")
177 |         }
/host/spi-builder-workspace/Sources/ServiceManager/Service/Service.swift:196:31: error: cannot find 'URLRequest' in scope
194 |
195 |         func asURLRequest() throws -> URLRequest {
196 |             let request = try URLRequest(url: url, method: method, body: body, headers: headers)
    |                               `- error: cannot find 'URLRequest' in scope
197 |             return try encoding.encode(request, with: object, using: encoder)
198 |         }
BUILD FAILURE 6.0 linux