The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Thrift with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apocolipse/Thrift-Swift.git
Reference: master
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/apocolipse/Thrift-Swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 69c2862 add TJSONProtocol support (#35)
Cloned https://github.com/apocolipse/Thrift-Swift.git
Revision (git rev-parse @):
69c28628b75eda61465d58938dcf83d485e847ec
SUCCESS checkout https://github.com/apocolipse/Thrift-Swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/apocolipse/Thrift-Swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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/32] Emitting module Thrift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TList.swift:34:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue : Int {
             ^
/host/spi-builder-workspace/Sources/TMap.swift:119:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
/host/spi-builder-workspace/Sources/TProtocol.swift:102:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func validateValue(_ value: Any?, named name: String) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readResultMessageBegin() throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readException() throws -> TApplicationError {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func skip(type: TType) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var thriftType: TType { return .struct }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func write(to proto: TProtocol) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
  public var hashValue: Int {
  ^~~~~~~

[4/36] Compiling Thrift TTransport.swift
[5/36] Compiling Thrift TTransportError.swift
[6/36] Compiling Thrift TWrappedProtocol.swift
[7/36] Compiling Thrift Thrift.swift
[8/36] Compiling Thrift TMultiplexedProtocol.swift
/host/spi-builder-workspace/Sources/TProtocol.swift:102:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func validateValue(_ value: Any?, named name: String) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readResultMessageBegin() throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readException() throws -> TApplicationError {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func skip(type: TType) throws {
  ^~~~~~~

[9/36] Compiling Thrift TProcessor.swift
/host/spi-builder-workspace/Sources/TProtocol.swift:102:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func validateValue(_ value: Any?, named name: String) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readResultMessageBegin() throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readException() throws -> TApplicationError {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func skip(type: TType) throws {
  ^~~~~~~

[10/36] Compiling Thrift TProtocol.swift
/host/spi-builder-workspace/Sources/TProtocol.swift:102:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func validateValue(_ value: Any?, named name: String) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readResultMessageBegin() throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readException() throws -> TApplicationError {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func skip(type: TType) throws {
  ^~~~~~~

[11/36] Compiling Thrift TProtocolError.swift
/host/spi-builder-workspace/Sources/TProtocol.swift:102:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func validateValue(_ value: Any?, named name: String) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readResultMessageBegin() throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readException() throws -> TApplicationError {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func skip(type: TType) throws {
  ^~~~~~~

[12/36] Compiling Thrift TSSLSocketTransport.swift
[13/36] Compiling Thrift TSSLSocketTransportError.swift
[14/36] Compiling Thrift TSerializable.swift
[15/36] Compiling Thrift TSet.swift
[16/36] Compiling Thrift TFileHandleTransport.swift
/host/spi-builder-workspace/Sources/TFileTransport.swift:90:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let bytesWritten = data.withUnsafeBytes {
                            ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^    ~~~~~~~

/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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
      ~~~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
      config.urlCache = nil
      ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
      config.urlCache = nil
                        ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
      config.httpShouldUsePipelining  = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
      config.httpShouldSetCookies     = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
      config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/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.
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                                     ~~~~~~~ ^~~~~~~~
/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.
    var task: URLSessionTask?
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: factory.url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
          if taskError == nil && httpResponse.statusCode != 200 {
                                 ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
    task?.resume()
    ~~~~~ ^~~~~~
[17/36] Compiling Thrift TFileTransport.swift
/host/spi-builder-workspace/Sources/TFileTransport.swift:90:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let bytesWritten = data.withUnsafeBytes {
                            ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^    ~~~~~~~

/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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
      ~~~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
      config.urlCache = nil
      ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
      config.urlCache = nil
                        ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
      config.httpShouldUsePipelining  = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
      config.httpShouldSetCookies     = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
      config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/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.
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                                     ~~~~~~~ ^~~~~~~~
/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.
    var task: URLSessionTask?
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: factory.url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
          if taskError == nil && httpResponse.statusCode != 200 {
                                 ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
    task?.resume()
    ~~~~~ ^~~~~~
[18/36] Compiling Thrift TFramedTransport.swift
/host/spi-builder-workspace/Sources/TFileTransport.swift:90:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let bytesWritten = data.withUnsafeBytes {
                            ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^    ~~~~~~~

/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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
      ~~~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
      config.urlCache = nil
      ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
      config.urlCache = nil
                        ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
      config.httpShouldUsePipelining  = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
      config.httpShouldSetCookies     = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
      config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/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.
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                                     ~~~~~~~ ^~~~~~~~
/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.
    var task: URLSessionTask?
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: factory.url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
          if taskError == nil && httpResponse.statusCode != 200 {
                                 ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
    task?.resume()
    ~~~~~ ^~~~~~
[19/36] Compiling Thrift THTTPSessionTransport.swift
/host/spi-builder-workspace/Sources/TFileTransport.swift:90:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let bytesWritten = data.withUnsafeBytes {
                            ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^    ~~~~~~~

/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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
      ~~~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
      config.urlCache = nil
      ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
      config.urlCache = nil
                        ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
      config.httpShouldUsePipelining  = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
      config.httpShouldSetCookies     = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
      config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/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.
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                                     ~~~~~~~ ^~~~~~~~
/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.
    var task: URLSessionTask?
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: factory.url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
          if taskError == nil && httpResponse.statusCode != 200 {
                                 ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
    task?.resume()
    ~~~~~ ^~~~~~
[20/36] Compiling Thrift LinuxHelper.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
    let cast = unsafeBitCast(rhs, to: UInt.self)
               ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
               UInt(bitPattern: )
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let buff = Data(bytes: [value])
               ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: note: use 'init(_:)' instead
    let buff = Data(bytes: [value])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

[21/36] Compiling Thrift TApplicationError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
    let cast = unsafeBitCast(rhs, to: UInt.self)
               ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
               UInt(bitPattern: )
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let buff = Data(bytes: [value])
               ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: note: use 'init(_:)' instead
    let buff = Data(bytes: [value])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

[22/36] Compiling Thrift TBase64Utils.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
    let cast = unsafeBitCast(rhs, to: UInt.self)
               ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
               UInt(bitPattern: )
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let buff = Data(bytes: [value])
               ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: note: use 'init(_:)' instead
    let buff = Data(bytes: [value])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

[23/36] Compiling Thrift TBinary.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
    let cast = unsafeBitCast(rhs, to: UInt.self)
               ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
               UInt(bitPattern: )
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let buff = Data(bytes: [value])
               ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: note: use 'init(_:)' instead
    let buff = Data(bytes: [value])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

[24/36] Compiling Thrift TBinaryProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
    let cast = unsafeBitCast(rhs, to: UInt.self)
               ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
               UInt(bitPattern: )
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let buff = Data(bytes: [value])
               ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: note: use 'init(_:)' instead
    let buff = Data(bytes: [value])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

[25/36] Compiling Thrift TSocketServer.swift
/host/spi-builder-workspace/Sources/TSocketServer.swift:82:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let cfaddr = address.withUnsafeBytes {
                           ^
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    return Data(bytes: buff[0..<readBytes])
           ^
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: note: use 'init(_:)' instead
    return Data(bytes: buff[0..<readBytes])
           ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let written = writeBuffer.withUnsafeBytes {
                                ^
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var thriftType: TType { return .struct }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func write(to proto: TProtocol) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
  public var hashValue: Int {
  ^~~~~~~

[26/36] Compiling Thrift TSocketTransport.swift
/host/spi-builder-workspace/Sources/TSocketServer.swift:82:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let cfaddr = address.withUnsafeBytes {
                           ^
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    return Data(bytes: buff[0..<readBytes])
           ^
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: note: use 'init(_:)' instead
    return Data(bytes: buff[0..<readBytes])
           ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let written = writeBuffer.withUnsafeBytes {
                                ^
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var thriftType: TType { return .struct }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func write(to proto: TProtocol) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
  public var hashValue: Int {
  ^~~~~~~

[27/36] Compiling Thrift TStreamTransport.swift
/host/spi-builder-workspace/Sources/TSocketServer.swift:82:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let cfaddr = address.withUnsafeBytes {
                           ^
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    return Data(bytes: buff[0..<readBytes])
           ^
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: note: use 'init(_:)' instead
    return Data(bytes: buff[0..<readBytes])
           ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let written = writeBuffer.withUnsafeBytes {
                                ^
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var thriftType: TType { return .struct }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func write(to proto: TProtocol) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
  public var hashValue: Int {
  ^~~~~~~

[28/36] Compiling Thrift TStruct.swift
/host/spi-builder-workspace/Sources/TSocketServer.swift:82:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let cfaddr = address.withUnsafeBytes {
                           ^
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    return Data(bytes: buff[0..<readBytes])
           ^
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: note: use 'init(_:)' instead
    return Data(bytes: buff[0..<readBytes])
           ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let written = writeBuffer.withUnsafeBytes {
                                ^
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var thriftType: TType { return .struct }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func write(to proto: TProtocol) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
  public var hashValue: Int {
  ^~~~~~~

[29/36] Compiling Thrift TClient.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let byte = Data(bytes: [byte])
               ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: note: use 'init(_:)' instead
    let byte = Data(bytes: [byte])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
                           ^
[30/36] Compiling Thrift TCompactProtocol.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let byte = Data(bytes: [byte])
               ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: note: use 'init(_:)' instead
    let byte = Data(bytes: [byte])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
                           ^
[31/36] Compiling Thrift TEnum.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let byte = Data(bytes: [byte])
               ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: note: use 'init(_:)' instead
    let byte = Data(bytes: [byte])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
                           ^
[32/36] Compiling Thrift TError.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let byte = Data(bytes: [byte])
               ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: note: use 'init(_:)' instead
    let byte = Data(bytes: [byte])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
                           ^
[33/36] Compiling Thrift TJSONProtocol.swift
/host/spi-builder-workspace/Sources/TList.swift:34:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue : Int {
             ^
/host/spi-builder-workspace/Sources/TMap.swift:119:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
[34/36] Compiling Thrift TList.swift
/host/spi-builder-workspace/Sources/TList.swift:34:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue : Int {
             ^
/host/spi-builder-workspace/Sources/TMap.swift:119:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
[35/36] Compiling Thrift TMap.swift
/host/spi-builder-workspace/Sources/TList.swift:34:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue : Int {
             ^
/host/spi-builder-workspace/Sources/TMap.swift:119:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
[36/36] Compiling Thrift TMemoryBufferTransport.swift
/host/spi-builder-workspace/Sources/TList.swift:34:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue : Int {
             ^
/host/spi-builder-workspace/Sources/TMap.swift:119:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling Thrift TStreamTransport.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] Emitting module Thrift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/TList.swift:34:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue : Int {
             ^
/host/spi-builder-workspace/Sources/TMap.swift:119:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead
  public var hashValue: Int {
             ^
/host/spi-builder-workspace/Sources/TProtocol.swift:102:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func validateValue(_ value: Any?, named name: String) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readResultMessageBegin() throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func readException() throws -> TApplicationError {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func skip(type: TType) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var thriftType: TType { return .struct }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func write(to proto: TProtocol) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
  public var hashValue: Int {
  ^~~~~~~

[4/15] Compiling Thrift TStruct.swift
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
  public static var thriftType: TType { return .struct }
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
  public func write(to proto: TProtocol) throws {
  ^~~~~~~

/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
  public var hashValue: Int {
  ^~~~~~~

[5/15] Compiling Thrift LinuxHelper.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
    let cast = unsafeBitCast(rhs, to: UInt.self)
               ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
               UInt(bitPattern: )
[6/15] Compiling Thrift TApplicationError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
    let cast = unsafeBitCast(rhs, to: UInt.self)
               ^~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~
               UInt(bitPattern: )
[7/15] Compiling Thrift TFileTransport.swift
/host/spi-builder-workspace/Sources/TFileTransport.swift:90:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let bytesWritten = data.withUnsafeBytes {
                            ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^    ~~~~~~~

[8/15] Compiling Thrift TFramedTransport.swift
/host/spi-builder-workspace/Sources/TFileTransport.swift:90:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let bytesWritten = data.withUnsafeBytes {
                            ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: note: use 'init(_:)' instead
    data.append(Data(bytes: [UInt8(0xff & (size))]))
                ^    ~~~~~~~

[9/15] Compiling Thrift TBase64Utils.swift
[10/15] Compiling Thrift TBinary.swift
[11/15] 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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
      ~~~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
      config.urlCache = nil
      ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
      config.urlCache = nil
                        ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
      config.httpShouldUsePipelining  = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
      config.httpShouldSetCookies     = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
      config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/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.
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                                     ~~~~~~~ ^~~~~~~~
/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.
    var task: URLSessionTask?
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: factory.url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
          if taskError == nil && httpResponse.statusCode != 200 {
                                 ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
    task?.resume()
    ~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSocketServer.swift:82:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let cfaddr = address.withUnsafeBytes {
                           ^
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
[12/15] Compiling Thrift TSocketServer.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.
    public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
                                   ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/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.
    var session: URLSession
                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
                                                                     ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/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.
    public init(session: URLSession, url: URL) {
                         ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/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.
    func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
                                      ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                    ^~~~~~~~~~
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                     ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/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.
    func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
                                                                                                                            ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
      ~~~~~~ ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
      config.requestCachePolicy = .reloadIgnoringLocalCacheData
                                  ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
      config.urlCache = nil
      ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:25: error: 'nil' requires a contextual type
      config.urlCache = nil
                        ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
      config.httpShouldUsePipelining  = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
      config.httpShouldSetCookies     = true
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
      config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~
/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.
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
      let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
                                     ~~~~~~~ ^~~~~~~~
/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.
    var task: URLSessionTask?
              ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
    var request = URLRequest(url: factory.url)
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
          if taskError == nil && httpResponse.statusCode != 200 {
                                 ~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
    task?.resume()
    ~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/TSocketServer.swift:82:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let cfaddr = address.withUnsafeBytes {
                           ^
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
[13/15] Compiling Thrift TSocketTransport.swift
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    return Data(bytes: buff[0..<readBytes])
           ^
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: note: use 'init(_:)' instead
    return Data(bytes: buff[0..<readBytes])
           ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
      let written = writeBuffer.withUnsafeBytes {
                                ^
[14/15] Compiling Thrift TBinaryProtocol.swift
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let buff = Data(bytes: [value])
               ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: note: use 'init(_:)' instead
    let buff = Data(bytes: [value])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

[15/15] Compiling Thrift TFileHandleTransport.swift
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let buff = Data(bytes: [value])
               ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: note: use 'init(_:)' instead
    let buff = Data(bytes: [value])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
                ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: note: use 'init(_:)' instead
    buff.append(Data(bytes: [UInt8(0xff & (value))]))
                ^    ~~~~~~~

[16/21] Compiling Thrift TMultiplexedProtocol.swift
[17/21] Compiling Thrift TMemoryBufferTransport.swift
[18/21] Compiling Thrift TTransport.swift
[19/21] Compiling Thrift TWrappedProtocol.swift
[20/21] Compiling Thrift TCompactProtocol.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
    let byte = Data(bytes: [byte])
               ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: note: use 'init(_:)' instead
    let byte = Data(bytes: [byte])
               ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: replaced by 'init(_:)'
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: note: use 'init(_:)' instead
      try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
                                     ^    ~~~~~~~

/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead
    let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
                           ^
[21/21] Compiling Thrift TJSONProtocol.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1