The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Thrift with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/undefinedlabs/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/undefinedlabs/Thrift-Swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 18ff09e Merge pull request #1 from RayZhao1998/feature/swift5.2
Cloned https://github.com/undefinedlabs/Thrift-Swift.git
Revision (git rev-parse @):
18ff09e6b30e589ed38f90a1af23e193b8ecef8e
SUCCESS checkout https://github.com/undefinedlabs/Thrift-Swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD/checkout
https://github.com/undefinedlabs/Thrift-Swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/29] 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
                 ^
[2/32] Compiling Thrift TSocketTransport.swift
[3/32] Compiling Thrift TStreamTransport.swift
[4/32] Compiling Thrift TStruct.swift
[5/32] Compiling Thrift TTransport.swift
[6/32] Compiling Thrift TProcessor.swift
[7/32] Compiling Thrift TProtocol.swift
[8/32] Compiling Thrift TProtocolError.swift
[9/32] Compiling Thrift TSSLSocketTransport.swift
[10/32] Compiling Thrift TList.swift
[11/32] Compiling Thrift TMap.swift
[12/32] Compiling Thrift TMemoryBufferTransport.swift
[13/32] Compiling Thrift TMultiplexedProtocol.swift
[14/32] 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: )
[15/32] 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: )
[16/32] 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: )
[17/32] 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: )
[18/32] Compiling Thrift TTransportError.swift
[19/32] Compiling Thrift TWrappedProtocol.swift
[20/32] Compiling Thrift Thrift.swift
[21/32] Compiling Thrift TSSLSocketTransportError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
[22/32] Compiling Thrift TSerializable.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
[23/32] Compiling Thrift TSet.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
[24/32] Compiling Thrift TSocketServer.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
[25/32] Compiling Thrift TFileHandleTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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()
    ~~~~~ ^~~~~~
[26/32] Compiling Thrift TFileTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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()
    ~~~~~ ^~~~~~
[27/32] Compiling Thrift TFramedTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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()
    ~~~~~ ^~~~~~
[28/32] 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()
    ~~~~~ ^~~~~~
[29/32] Compiling Thrift TClient.swift
[30/32] Compiling Thrift TCompactProtocol.swift
[31/32] Compiling Thrift TEnum.swift
[32/32] Compiling Thrift TError.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/12] Compiling Thrift TSerializable.swift
[2/13] Compiling Thrift TSSLSocketTransportError.swift
[3/13] Compiling Thrift TSet.swift
[4/17] Compiling Thrift TSocketServer.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
  public static let success = kCFSocketSuccess
                              ^~~~~~~~~~~~~~~~
[5/19] Compiling Thrift TFileHandleTransport.swift
[6/19] Compiling Thrift TFileTransport.swift
[7/19] Compiling Thrift TFramedTransport.swift
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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()
    ~~~~~ ^~~~~~
[8/19] 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()
    ~~~~~ ^~~~~~
[9/23] Compiling Thrift TProtocolError.swift
[10/23] Compiling Thrift TSSLSocketTransport.swift
[11/25] Compiling Thrift TMap.swift
[12/25] Compiling Thrift TMemoryBufferTransport.swift
[13/27] Compiling Thrift TMultiplexedProtocol.swift
[14/27] Compiling Thrift TProtocol.swift
[15/29] Compiling Thrift TTransport.swift
[16/29] Compiling Thrift TTransportError.swift
[17/29] Compiling Thrift TSocketTransport.swift
[18/29] Compiling Thrift TStruct.swift
[19/29] Compiling Thrift TWrappedProtocol.swift
[20/29] Compiling Thrift Thrift.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/29] Compiling Thrift TBinary.swift
[22/29] Compiling Thrift TBinaryProtocol.swift
[23/29] 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
                 ^
[24/29] 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: )
[25/29] 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: )
[26/29] Compiling Thrift TError.swift
[27/29] Compiling Thrift TList.swift
[28/29] Compiling Thrift TCompactProtocol.swift
[29/29] Compiling Thrift TEnum.swift
error: fatalError
BUILD FAILURE 5.9 linux