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 Thrift, reference 1.1.2 (18ff09), with Swift 6.0 for Linux on 4 Nov 2024 04:56:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/undefinedlabs/Thrift-Swift.git
Reference: 1.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/undefinedlabs/Thrift-Swift
 * tag               1.1.2      -> FETCH_HEAD
HEAD is now at 18ff09e Merge pull request #1 from RayZhao1998/feature/swift5.2
Cloned https://github.com/undefinedlabs/Thrift-Swift.git
Revision (git rev-parse @):
18ff09e6b30e589ed38f90a1af23e193b8ecef8e
SUCCESS checkout https://github.com/undefinedlabs/Thrift-Swift.git at 1.1.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/undefinedlabs/Thrift-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/31] Emitting module Thrift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TApplicationError.swift:102:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
 20 |
 21 | public struct TApplicationError : TError {
 22 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 23 |     case unknown
 24 |     case unknownMethod(methodName: String?)
    :
100 |   }
101 |
102 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
103 |   public var message: String? = nil
104 |   public static var defaultCase: Code { return .unknown }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:33:21: warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
    |                     |- warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictRead' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictRead' 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 |   public static var strictWrite: Bool = true
 35 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:34:21: warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
 34 |   public static var strictWrite: Bool = true
    |                     |- warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictWrite' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictWrite' 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
 35 |
 36 |   private var strictRead: Bool
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
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/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
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/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TProtocolError.swift:84:14: warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 59 |   }
 60 |
 61 |   public enum ExtendedErrorCode : TErrorCode {
    |               `- note: consider making enum 'ExtendedErrorCode' conform to the 'Sendable' protocol
 62 |     case unknown
 63 |     case missingRequiredField(fieldName: String)
    :
 82 |   }
 83 |
 84 |   public var extendedError: ExtendedErrorCode? = nil
    |              `- warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 85 |
 86 |   public init(error: Code = .unknown,
/host/spi-builder-workspace/Sources/TProtocolError.swift:95:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 23 |   public init() { }
 24 |
 25 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 26 |     case unknown
 27 |     case invalidData
    :
 93 |
 94 |   /// Mark: TError
 95 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 96 |   public var message: String? = nil
 97 |   public static var defaultCase: Code { return .unknown }
/host/spi-builder-workspace/Sources/TSSLSocketTransportError.swift:43:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TSSLSocketTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case hostanameResolution(hostname: String)
23 |     case socketCreate(port: Int)
   :
41 |
42 |   }
43 |   public var error: ErrorCode = .connect
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
44 |   public var message: String?
45 |   public static var defaultCase: ErrorCode { return .connect }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:34:14: warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | private struct Sys {
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
    |              |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:35:14: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
    |              |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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 |   static let close = Glibc.close
 37 |   #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:36:14: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
    |              |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 37 |   #else
 38 |   static let read = Darwin.read
/host/spi-builder-workspace/Sources/TTransportError.swift:54:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case unknown
23 |     case notOpen
   :
52 |     }
53 |   }
54 |   public var error: ErrorCode = .unknown
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
55 |   public var message: String? = nil
56 |   public static var defaultCase: ErrorCode { return .unknown }
/host/spi-builder-workspace/Sources/TTransportError.swift:80:14: warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
64 | /// Error's thrown on HTTP Transport
65 | public struct THTTPTransportError: TError {
66 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
67 |     case invalidResponse
68 |     case invalidStatus(statusCode: Int)
   :
78 |     public var thriftErrorCode: Int { return 0 }
79 |   }
80 |   public var error: ErrorCode = .invalidResponse
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
81 |   public var message: String? = nil
82 |   public static var defaultCase: ErrorCode { return .invalidResponse }
[4/34] Compiling Thrift TFileHandleTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
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/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
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/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |                         `- error: 'nil' requires a contextual type
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[5/34] Compiling Thrift TFileTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
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/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
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/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |                         `- error: 'nil' requires a contextual type
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[6/34] Compiling Thrift TFramedTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
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/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
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/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |                         `- error: 'nil' requires a contextual type
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[7/34] Compiling Thrift THTTPSessionTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
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/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
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/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |                         `- error: 'nil' requires a contextual type
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[8/34] Compiling Thrift TTransportError.swift
/host/spi-builder-workspace/Sources/TTransportError.swift:54:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case unknown
23 |     case notOpen
   :
52 |     }
53 |   }
54 |   public var error: ErrorCode = .unknown
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
55 |   public var message: String? = nil
56 |   public static var defaultCase: ErrorCode { return .unknown }
/host/spi-builder-workspace/Sources/TTransportError.swift:80:14: warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
64 | /// Error's thrown on HTTP Transport
65 | public struct THTTPTransportError: TError {
66 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
67 |     case invalidResponse
68 |     case invalidStatus(statusCode: Int)
   :
78 |     public var thriftErrorCode: Int { return 0 }
79 |   }
80 |   public var error: ErrorCode = .invalidResponse
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
81 |   public var message: String? = nil
82 |   public static var defaultCase: ErrorCode { return .invalidResponse }
[9/34] Compiling Thrift TWrappedProtocol.swift
/host/spi-builder-workspace/Sources/TTransportError.swift:54:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case unknown
23 |     case notOpen
   :
52 |     }
53 |   }
54 |   public var error: ErrorCode = .unknown
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
55 |   public var message: String? = nil
56 |   public static var defaultCase: ErrorCode { return .unknown }
/host/spi-builder-workspace/Sources/TTransportError.swift:80:14: warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
64 | /// Error's thrown on HTTP Transport
65 | public struct THTTPTransportError: TError {
66 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
67 |     case invalidResponse
68 |     case invalidStatus(statusCode: Int)
   :
78 |     public var thriftErrorCode: Int { return 0 }
79 |   }
80 |   public var error: ErrorCode = .invalidResponse
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
81 |   public var message: String? = nil
82 |   public static var defaultCase: ErrorCode { return .invalidResponse }
[10/34] Compiling Thrift Thrift.swift
/host/spi-builder-workspace/Sources/TTransportError.swift:54:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case unknown
23 |     case notOpen
   :
52 |     }
53 |   }
54 |   public var error: ErrorCode = .unknown
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TTransportError' has non-sendable type 'TTransportError.ErrorCode'; this is an error in the Swift 6 language mode
55 |   public var message: String? = nil
56 |   public static var defaultCase: ErrorCode { return .unknown }
/host/spi-builder-workspace/Sources/TTransportError.swift:80:14: warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
64 | /// Error's thrown on HTTP Transport
65 | public struct THTTPTransportError: TError {
66 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
67 |     case invalidResponse
68 |     case invalidStatus(statusCode: Int)
   :
78 |     public var thriftErrorCode: Int { return 0 }
79 |   }
80 |   public var error: ErrorCode = .invalidResponse
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'THTTPTransportError' has non-sendable type 'THTTPTransportError.ErrorCode'; this is an error in the Swift 6 language mode
81 |   public var message: String? = nil
82 |   public static var defaultCase: ErrorCode { return .invalidResponse }
[11/34] Compiling Thrift TProcessor.swift
/host/spi-builder-workspace/Sources/TProtocolError.swift:84:14: warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 59 |   }
 60 |
 61 |   public enum ExtendedErrorCode : TErrorCode {
    |               `- note: consider making enum 'ExtendedErrorCode' conform to the 'Sendable' protocol
 62 |     case unknown
 63 |     case missingRequiredField(fieldName: String)
    :
 82 |   }
 83 |
 84 |   public var extendedError: ExtendedErrorCode? = nil
    |              `- warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 85 |
 86 |   public init(error: Code = .unknown,
/host/spi-builder-workspace/Sources/TProtocolError.swift:95:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 23 |   public init() { }
 24 |
 25 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 26 |     case unknown
 27 |     case invalidData
    :
 93 |
 94 |   /// Mark: TError
 95 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 96 |   public var message: String? = nil
 97 |   public static var defaultCase: Code { return .unknown }
[12/34] Compiling Thrift TProtocol.swift
/host/spi-builder-workspace/Sources/TProtocolError.swift:84:14: warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 59 |   }
 60 |
 61 |   public enum ExtendedErrorCode : TErrorCode {
    |               `- note: consider making enum 'ExtendedErrorCode' conform to the 'Sendable' protocol
 62 |     case unknown
 63 |     case missingRequiredField(fieldName: String)
    :
 82 |   }
 83 |
 84 |   public var extendedError: ExtendedErrorCode? = nil
    |              `- warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 85 |
 86 |   public init(error: Code = .unknown,
/host/spi-builder-workspace/Sources/TProtocolError.swift:95:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 23 |   public init() { }
 24 |
 25 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 26 |     case unknown
 27 |     case invalidData
    :
 93 |
 94 |   /// Mark: TError
 95 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 96 |   public var message: String? = nil
 97 |   public static var defaultCase: Code { return .unknown }
[13/34] Compiling Thrift TProtocolError.swift
/host/spi-builder-workspace/Sources/TProtocolError.swift:84:14: warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 59 |   }
 60 |
 61 |   public enum ExtendedErrorCode : TErrorCode {
    |               `- note: consider making enum 'ExtendedErrorCode' conform to the 'Sendable' protocol
 62 |     case unknown
 63 |     case missingRequiredField(fieldName: String)
    :
 82 |   }
 83 |
 84 |   public var extendedError: ExtendedErrorCode? = nil
    |              `- warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 85 |
 86 |   public init(error: Code = .unknown,
/host/spi-builder-workspace/Sources/TProtocolError.swift:95:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 23 |   public init() { }
 24 |
 25 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 26 |     case unknown
 27 |     case invalidData
    :
 93 |
 94 |   /// Mark: TError
 95 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 96 |   public var message: String? = nil
 97 |   public static var defaultCase: Code { return .unknown }
[14/34] Compiling Thrift TSSLSocketTransport.swift
/host/spi-builder-workspace/Sources/TProtocolError.swift:84:14: warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 59 |   }
 60 |
 61 |   public enum ExtendedErrorCode : TErrorCode {
    |               `- note: consider making enum 'ExtendedErrorCode' conform to the 'Sendable' protocol
 62 |     case unknown
 63 |     case missingRequiredField(fieldName: String)
    :
 82 |   }
 83 |
 84 |   public var extendedError: ExtendedErrorCode? = nil
    |              `- warning: stored property 'extendedError' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.ExtendedErrorCode?'; this is an error in the Swift 6 language mode
 85 |
 86 |   public init(error: Code = .unknown,
/host/spi-builder-workspace/Sources/TProtocolError.swift:95:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 23 |   public init() { }
 24 |
 25 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 26 |     case unknown
 27 |     case invalidData
    :
 93 |
 94 |   /// Mark: TError
 95 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TProtocolError' has non-sendable type 'TProtocolError.Code'; this is an error in the Swift 6 language mode
 96 |   public var message: String? = nil
 97 |   public static var defaultCase: Code { return .unknown }
[15/34] Compiling Thrift TSSLSocketTransportError.swift
/host/spi-builder-workspace/Sources/TSSLSocketTransportError.swift:43:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TSSLSocketTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case hostanameResolution(hostname: String)
23 |     case socketCreate(port: Int)
   :
41 |
42 |   }
43 |   public var error: ErrorCode = .connect
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
44 |   public var message: String?
45 |   public static var defaultCase: ErrorCode { return .connect }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
104 |                                                object: nil, queue: nil) {
105 |                                                 [weak self] notification in
106 |                                                 guard let strongSelf = self else { return }
    |                                                                        `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                                                 strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
122 |     // Now that we have a client connected, handle the request on queue
123 |     processingQueue.async {
124 |       self.handleClientConnection(socket)
    |       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |     }
126 |   }
/host/spi-builder-workspace/Sources/TSocketServer.swift:144:23: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
142 |       NotificationCenter.default
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
    |                       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
/host/spi-builder-workspace/Sources/TSocketServer.swift:145:53: warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |                                                                    `- note: consider making generic parameter 'Processor' conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
    |                                                     `- warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |                          TSocketServerTransportKey: transport])
147 |     }
/host/spi-builder-workspace/Sources/TSocketServer.swift:146:53: warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
    |                                                     `- warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 |     }
148 |   }
/host/spi-builder-workspace/Sources/TFileHandleTransport.swift:22:14: note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
20 | import Foundation
21 |
22 | public class TFileHandleTransport: TTransport {
   |              `- note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
23 |   var inputFileHandle: FileHandle
24 |   var outputFileHandle: FileHandle
[16/34] Compiling Thrift TSerializable.swift
/host/spi-builder-workspace/Sources/TSSLSocketTransportError.swift:43:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TSSLSocketTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case hostanameResolution(hostname: String)
23 |     case socketCreate(port: Int)
   :
41 |
42 |   }
43 |   public var error: ErrorCode = .connect
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
44 |   public var message: String?
45 |   public static var defaultCase: ErrorCode { return .connect }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
104 |                                                object: nil, queue: nil) {
105 |                                                 [weak self] notification in
106 |                                                 guard let strongSelf = self else { return }
    |                                                                        `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                                                 strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
122 |     // Now that we have a client connected, handle the request on queue
123 |     processingQueue.async {
124 |       self.handleClientConnection(socket)
    |       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |     }
126 |   }
/host/spi-builder-workspace/Sources/TSocketServer.swift:144:23: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
142 |       NotificationCenter.default
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
    |                       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
/host/spi-builder-workspace/Sources/TSocketServer.swift:145:53: warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |                                                                    `- note: consider making generic parameter 'Processor' conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
    |                                                     `- warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |                          TSocketServerTransportKey: transport])
147 |     }
/host/spi-builder-workspace/Sources/TSocketServer.swift:146:53: warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
    |                                                     `- warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 |     }
148 |   }
/host/spi-builder-workspace/Sources/TFileHandleTransport.swift:22:14: note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
20 | import Foundation
21 |
22 | public class TFileHandleTransport: TTransport {
   |              `- note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
23 |   var inputFileHandle: FileHandle
24 |   var outputFileHandle: FileHandle
[17/34] Compiling Thrift TSet.swift
/host/spi-builder-workspace/Sources/TSSLSocketTransportError.swift:43:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TSSLSocketTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case hostanameResolution(hostname: String)
23 |     case socketCreate(port: Int)
   :
41 |
42 |   }
43 |   public var error: ErrorCode = .connect
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
44 |   public var message: String?
45 |   public static var defaultCase: ErrorCode { return .connect }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
104 |                                                object: nil, queue: nil) {
105 |                                                 [weak self] notification in
106 |                                                 guard let strongSelf = self else { return }
    |                                                                        `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                                                 strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
122 |     // Now that we have a client connected, handle the request on queue
123 |     processingQueue.async {
124 |       self.handleClientConnection(socket)
    |       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |     }
126 |   }
/host/spi-builder-workspace/Sources/TSocketServer.swift:144:23: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
142 |       NotificationCenter.default
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
    |                       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
/host/spi-builder-workspace/Sources/TSocketServer.swift:145:53: warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |                                                                    `- note: consider making generic parameter 'Processor' conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
    |                                                     `- warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |                          TSocketServerTransportKey: transport])
147 |     }
/host/spi-builder-workspace/Sources/TSocketServer.swift:146:53: warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
    |                                                     `- warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 |     }
148 |   }
/host/spi-builder-workspace/Sources/TFileHandleTransport.swift:22:14: note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
20 | import Foundation
21 |
22 | public class TFileHandleTransport: TTransport {
   |              `- note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
23 |   var inputFileHandle: FileHandle
24 |   var outputFileHandle: FileHandle
[18/34] Compiling Thrift TSocketServer.swift
/host/spi-builder-workspace/Sources/TSSLSocketTransportError.swift:43:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
19 |
20 | public struct TSSLSocketTransportError: TError {
21 |   public enum ErrorCode: TErrorCode {
   |               `- note: consider making enum 'ErrorCode' conform to the 'Sendable' protocol
22 |     case hostanameResolution(hostname: String)
23 |     case socketCreate(port: Int)
   :
41 |
42 |   }
43 |   public var error: ErrorCode = .connect
   |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TSSLSocketTransportError' has non-sendable type 'TSSLSocketTransportError.ErrorCode'; this is an error in the Swift 6 language mode
44 |   public var message: String?
45 |   public static var defaultCase: ErrorCode { return .connect }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
104 |                                                object: nil, queue: nil) {
105 |                                                 [weak self] notification in
106 |                                                 guard let strongSelf = self else { return }
    |                                                                        `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
107 |                                                 strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/host/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
122 |     // Now that we have a client connected, handle the request on queue
123 |     processingQueue.async {
124 |       self.handleClientConnection(socket)
    |       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
125 |     }
126 |   }
/host/spi-builder-workspace/Sources/TSocketServer.swift:144:23: warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |       `- note: generic class 'TSocketServer' does not conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
142 |       NotificationCenter.default
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
    |                       `- warning: capture of 'self' with non-sendable type 'TSocketServer<InProtocol, OutProtocol, Processor, Service>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
/host/spi-builder-workspace/Sources/TSocketServer.swift:145:53: warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 32 | public let TSocketServerTransportKey = "TSocketServerTransport"
 33 |
 34 | class TSocketServer<InProtocol: TProtocol, OutProtocol: TProtocol, Processor: TProcessor, Service> where Processor.Service == Service {
    |                                                                    `- note: consider making generic parameter 'Processor' conform to the 'Sendable' protocol
 35 |   var socketFileHandle: FileHandle
 36 |   var processingQueue =  DispatchQueue(label: "TSocketServer.processing",
    :
143 |         .post(name: Notification.Name(rawValue: TSocketServerClientConnectionFinished),
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
    |                                                     `- warning: capture of 'processor' with non-sendable type 'Processor' in a `@Sendable` closure; this is an error in the Swift 6 language mode
146 |                          TSocketServerTransportKey: transport])
147 |     }
/host/spi-builder-workspace/Sources/TSocketServer.swift:146:53: warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
144 |               object: self,
145 |               userInfo: [TSocketServerProcessorKey: processor,
146 |                          TSocketServerTransportKey: transport])
    |                                                     `- warning: capture of 'transport' with non-sendable type 'TFileHandleTransport' in a `@Sendable` closure; this is an error in the Swift 6 language mode
147 |     }
148 |   }
/host/spi-builder-workspace/Sources/TFileHandleTransport.swift:22:14: note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
20 | import Foundation
21 |
22 | public class TFileHandleTransport: TTransport {
   |              `- note: class 'TFileHandleTransport' does not conform to the 'Sendable' protocol
23 |   var inputFileHandle: FileHandle
24 |   var outputFileHandle: FileHandle
[19/34] Compiling Thrift TClient.swift
[20/34] Compiling Thrift TCompactProtocol.swift
[21/34] Compiling Thrift TEnum.swift
[22/34] Compiling Thrift TError.swift
[23/34] Compiling Thrift LinuxHelper.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TApplicationError.swift:102:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
 20 |
 21 | public struct TApplicationError : TError {
 22 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 23 |     case unknown
 24 |     case unknownMethod(methodName: String?)
    :
100 |   }
101 |
102 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
103 |   public var message: String? = nil
104 |   public static var defaultCase: Code { return .unknown }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:33:21: warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
    |                     |- warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictRead' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictRead' 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 |   public static var strictWrite: Bool = true
 35 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:34:21: warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
 34 |   public static var strictWrite: Bool = true
    |                     |- warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictWrite' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictWrite' 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
 35 |
 36 |   private var strictRead: Bool
[24/34] Compiling Thrift TApplicationError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TApplicationError.swift:102:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
 20 |
 21 | public struct TApplicationError : TError {
 22 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 23 |     case unknown
 24 |     case unknownMethod(methodName: String?)
    :
100 |   }
101 |
102 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
103 |   public var message: String? = nil
104 |   public static var defaultCase: Code { return .unknown }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:33:21: warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
    |                     |- warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictRead' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictRead' 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 |   public static var strictWrite: Bool = true
 35 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:34:21: warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
 34 |   public static var strictWrite: Bool = true
    |                     |- warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictWrite' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictWrite' 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
 35 |
 36 |   private var strictRead: Bool
[25/34] Compiling Thrift TBinary.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TApplicationError.swift:102:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
 20 |
 21 | public struct TApplicationError : TError {
 22 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 23 |     case unknown
 24 |     case unknownMethod(methodName: String?)
    :
100 |   }
101 |
102 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
103 |   public var message: String? = nil
104 |   public static var defaultCase: Code { return .unknown }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:33:21: warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
    |                     |- warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictRead' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictRead' 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 |   public static var strictWrite: Bool = true
 35 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:34:21: warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
 34 |   public static var strictWrite: Bool = true
    |                     |- warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictWrite' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictWrite' 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
 35 |
 36 |   private var strictRead: Bool
[26/34] Compiling Thrift TBinaryProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TApplicationError.swift:102:14: warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
 20 |
 21 | public struct TApplicationError : TError {
 22 |   public enum Code : TErrorCode {
    |               `- note: consider making enum 'Code' conform to the 'Sendable' protocol
 23 |     case unknown
 24 |     case unknownMethod(methodName: String?)
    :
100 |   }
101 |
102 |   public var error: Code = .unknown
    |              `- warning: stored property 'error' of 'Sendable'-conforming struct 'TApplicationError' has non-sendable type 'TApplicationError.Code'; this is an error in the Swift 6 language mode
103 |   public var message: String? = nil
104 |   public static var defaultCase: Code { return .unknown }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:33:21: warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
    |                     |- warning: static property 'strictRead' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictRead' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictRead' 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 |   public static var strictWrite: Bool = true
 35 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:34:21: warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |   // class level properties for setting global config (useful for server in lieu of Factory design)
 33 |   public static var strictRead: Bool = false
 34 |   public static var strictWrite: Bool = true
    |                     |- warning: static property 'strictWrite' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'strictWrite' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'strictWrite' 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
 35 |
 36 |   private var strictRead: Bool
[27/34] Compiling Thrift TList.swift
[28/34] Compiling Thrift TMap.swift
[29/34] Compiling Thrift TMemoryBufferTransport.swift
[30/34] Compiling Thrift TMultiplexedProtocol.swift
[31/34] Compiling Thrift TSocketTransport.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:34:14: warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | private struct Sys {
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
    |              |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:35:14: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
    |              |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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 |   static let close = Glibc.close
 37 |   #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:36:14: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
    |              |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 37 |   #else
 38 |   static let read = Darwin.read
[32/34] Compiling Thrift TStreamTransport.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:34:14: warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | private struct Sys {
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
    |              |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:35:14: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
    |              |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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 |   static let close = Glibc.close
 37 |   #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:36:14: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
    |              |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 37 |   #else
 38 |   static let read = Darwin.read
[33/34] Compiling Thrift TStruct.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:34:14: warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | private struct Sys {
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
    |              |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:35:14: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
    |              |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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 |   static let close = Glibc.close
 37 |   #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:36:14: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
    |              |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 37 |   #else
 38 |   static let read = Darwin.read
[34/34] Compiling Thrift TTransport.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:34:14: warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 32 | private struct Sys {
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
    |              |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeMutableRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'read' 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
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:35:14: warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |   #if os(Linux)
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
    |              |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type '(Int32, UnsafeRawPointer?, Int) -> Int' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'write' 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 |   static let close = Glibc.close
 37 |   #else
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/TSocketTransport.swift:36:14: warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |   static let read = Glibc.read
 35 |   static let write = Glibc.write
 36 |   static let close = Glibc.close
    |              |- warning: static property 'close' is not concurrency-safe because non-'Sendable' type '(Int32) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |              |- note: annotate 'close' 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
 37 |   #else
 38 |   static let read = Darwin.read
BUILD FAILURE 6.0 linux