The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Thrift, reference 1.2.0 (69c286), with Swift 6.3 for Linux on 13 Apr 2026 18:04:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apocolipse/Thrift-Swift.git
Reference: 1.2.0
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
 * tag               1.2.0      -> FETCH_HEAD
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 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/apocolipse/Thrift-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/32] Emitting module Thrift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/TList.swift:34:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 32 |
 33 |   /// Mark: Hashable
 34 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 35 |     let prime = 31
 36 |     var result = 1
/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 [#DeprecatedDeclaration]
117 |   /// Mark: Hashable
118 |
119 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |     let prime = 31
121 |     var result = 1
/host/spi-builder-workspace/Sources/TProtocol.swift:102:3: warning: 'public' modifier is redundant for instance method declared in a public extension
100 |
101 | public extension TProtocol {
102 |   public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
103 |     try writeFieldBegin(name: name, type: type, fieldID: id)
104 |     try value.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
106 |   }
107 |
108 |   public func validateValue(_ value: Any?, named name: String) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
109 |     if value == nil {
110 |       throw TProtocolError(error: .unknown, message: "Missing required value for field: \(name)")
/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |   }
113 |
114 |   public func readResultMessageBegin() throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |     let (_, type, _) = try readMessageBegin();
116 |     if type == .exception {
/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |   }
122 |
123 |   public func readException() throws -> TApplicationError {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |     return try TApplicationError.read(from: self)
125 |   }
/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
125 |   }
126 |
127 |   public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 |     try writeMessageBegin(name: name, type: .exception, sequenceID: sequenceID)
129 |     try ex.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
131 |   }
132 |
133 |   public func skip(type: TType) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
134 |     switch type {
135 |     case .bool:   _ = try read() as Bool
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
 30 |
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
 33 |   public static var thriftType: TType { return .struct }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 34 |
 35 |   public func write(to proto: TProtocol) throws {
/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
 35 |   public func write(to proto: TProtocol) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
 36 |     // Write struct name first
 37 |     try proto.writeStructBegin(name: Self.structName)
/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
 46 |   }
 47 |
 48 |   public var hashValue: Int {
    |   `- warning: 'public' modifier is redundant for property declared in a public extension
 49 |     let prime = 31
 50 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 LinuxHelper.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
326 |
327 |   public func write(_ value: UInt8) throws {
328 |     let buff = Data(bytes: [value])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
329 |
330 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
335 |   public func write(_ value: Int16) throws {
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
340 |       try self.transport.write(data: buff)
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
344 |   public func write(_ value: Int32) throws {
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
350 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
350 |
351 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
356 |   public func write(_ value: Int64) throws {
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
366 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
366 |
367 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/36] Compiling Thrift TApplicationError.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
326 |
327 |   public func write(_ value: UInt8) throws {
328 |     let buff = Data(bytes: [value])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
329 |
330 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
335 |   public func write(_ value: Int16) throws {
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
340 |       try self.transport.write(data: buff)
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
344 |   public func write(_ value: Int32) throws {
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
350 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
350 |
351 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
356 |   public func write(_ value: Int64) throws {
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
366 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
366 |
367 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/36] Compiling Thrift TBase64Utils.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
326 |
327 |   public func write(_ value: UInt8) throws {
328 |     let buff = Data(bytes: [value])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
329 |
330 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
335 |   public func write(_ value: Int16) throws {
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
340 |       try self.transport.write(data: buff)
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
344 |   public func write(_ value: Int32) throws {
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
350 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
350 |
351 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
356 |   public func write(_ value: Int64) throws {
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
366 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
366 |
367 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/36] Compiling Thrift TBinary.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
326 |
327 |   public func write(_ value: UInt8) throws {
328 |     let buff = Data(bytes: [value])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
329 |
330 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
335 |   public func write(_ value: Int16) throws {
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
340 |       try self.transport.write(data: buff)
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
344 |   public func write(_ value: Int32) throws {
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
350 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
350 |
351 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
356 |   public func write(_ value: Int64) throws {
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
366 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
366 |
367 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/36] Compiling Thrift TBinaryProtocol.swift
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/LinuxHelper.swift:34:16: warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
32 | extension UInt {
33 |   public static func &(lhs: UInt, rhs: Int) -> UInt {
34 |     let cast = unsafeBitCast(rhs, to: UInt.self)
   |                `- warning: 'unsafeBitCast' from 'Int' to 'UInt' can be replaced with 'bitPattern:' initializer on 'UInt'
35 |     return lhs & cast
36 |   }
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:328:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
326 |
327 |   public func write(_ value: UInt8) throws {
328 |     let buff = Data(bytes: [value])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
329 |
330 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:337:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
335 |   public func write(_ value: Int16) throws {
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:338:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
336 |     var buff = Data()
337 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
338 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
339 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
340 |       try self.transport.write(data: buff)
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:346:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
344 |   public func write(_ value: Int32) throws {
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:347:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
345 |     var buff = Data()
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:348:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
346 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
350 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:349:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
347 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
348 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
349 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
350 |
351 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:358:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
356 |   public func write(_ value: Int64) throws {
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:359:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
357 |     var buff = Data()
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:360:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
358 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 56))]))
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:361:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
359 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 48))]))
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:362:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
360 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 40))]))
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:363:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
361 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 32))]))
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:364:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
362 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 24))]))
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
366 |
/host/spi-builder-workspace/Sources/TBinaryProtocol.swift:365:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
363 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 16))]))
364 |     buff.append(Data(bytes: [UInt8(0xff & (value >> 8))]))
365 |     buff.append(Data(bytes: [UInt8(0xff & (value))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
366 |
367 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport write failed")) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/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
100 |
101 | public extension TProtocol {
102 |   public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
103 |     try writeFieldBegin(name: name, type: type, fieldID: id)
104 |     try value.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
106 |   }
107 |
108 |   public func validateValue(_ value: Any?, named name: String) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
109 |     if value == nil {
110 |       throw TProtocolError(error: .unknown, message: "Missing required value for field: \(name)")
/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |   }
113 |
114 |   public func readResultMessageBegin() throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |     let (_, type, _) = try readMessageBegin();
116 |     if type == .exception {
/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |   }
122 |
123 |   public func readException() throws -> TApplicationError {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |     return try TApplicationError.read(from: self)
125 |   }
/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
125 |   }
126 |
127 |   public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 |     try writeMessageBegin(name: name, type: .exception, sequenceID: sequenceID)
129 |     try ex.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
131 |   }
132 |
133 |   public func skip(type: TType) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
134 |     switch type {
135 |     case .bool:   _ = try read() as Bool
/host/spi-builder-workspace/Sources/TProtocolError.swift:135:22: warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
133 |   do {
134 |     try block()
135 |   } catch let err as TError {
    |                      `- warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
136 |     var message = error.message ?? ""
137 |     message += "\nFile: \(sourceFile)\n"
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[14/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
100 |
101 | public extension TProtocol {
102 |   public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
103 |     try writeFieldBegin(name: name, type: type, fieldID: id)
104 |     try value.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
106 |   }
107 |
108 |   public func validateValue(_ value: Any?, named name: String) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
109 |     if value == nil {
110 |       throw TProtocolError(error: .unknown, message: "Missing required value for field: \(name)")
/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |   }
113 |
114 |   public func readResultMessageBegin() throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |     let (_, type, _) = try readMessageBegin();
116 |     if type == .exception {
/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |   }
122 |
123 |   public func readException() throws -> TApplicationError {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |     return try TApplicationError.read(from: self)
125 |   }
/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
125 |   }
126 |
127 |   public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 |     try writeMessageBegin(name: name, type: .exception, sequenceID: sequenceID)
129 |     try ex.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
131 |   }
132 |
133 |   public func skip(type: TType) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
134 |     switch type {
135 |     case .bool:   _ = try read() as Bool
/host/spi-builder-workspace/Sources/TProtocolError.swift:135:22: warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
133 |   do {
134 |     try block()
135 |   } catch let err as TError {
    |                      `- warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
136 |     var message = error.message ?? ""
137 |     message += "\nFile: \(sourceFile)\n"
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[15/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
100 |
101 | public extension TProtocol {
102 |   public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
103 |     try writeFieldBegin(name: name, type: type, fieldID: id)
104 |     try value.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
106 |   }
107 |
108 |   public func validateValue(_ value: Any?, named name: String) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
109 |     if value == nil {
110 |       throw TProtocolError(error: .unknown, message: "Missing required value for field: \(name)")
/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |   }
113 |
114 |   public func readResultMessageBegin() throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |     let (_, type, _) = try readMessageBegin();
116 |     if type == .exception {
/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |   }
122 |
123 |   public func readException() throws -> TApplicationError {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |     return try TApplicationError.read(from: self)
125 |   }
/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
125 |   }
126 |
127 |   public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 |     try writeMessageBegin(name: name, type: .exception, sequenceID: sequenceID)
129 |     try ex.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
131 |   }
132 |
133 |   public func skip(type: TType) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
134 |     switch type {
135 |     case .bool:   _ = try read() as Bool
/host/spi-builder-workspace/Sources/TProtocolError.swift:135:22: warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
133 |   do {
134 |     try block()
135 |   } catch let err as TError {
    |                      `- warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
136 |     var message = error.message ?? ""
137 |     message += "\nFile: \(sourceFile)\n"
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[16/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
100 |
101 | public extension TProtocol {
102 |   public func writeFieldValue(_ value: TSerializable, name: String, type: TType, id: Int32) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
103 |     try writeFieldBegin(name: name, type: type, fieldID: id)
104 |     try value.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:108:3: warning: 'public' modifier is redundant for instance method declared in a public extension
106 |   }
107 |
108 |   public func validateValue(_ value: Any?, named name: String) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
109 |     if value == nil {
110 |       throw TProtocolError(error: .unknown, message: "Missing required value for field: \(name)")
/host/spi-builder-workspace/Sources/TProtocol.swift:114:3: warning: 'public' modifier is redundant for instance method declared in a public extension
112 |   }
113 |
114 |   public func readResultMessageBegin() throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
115 |     let (_, type, _) = try readMessageBegin();
116 |     if type == .exception {
/host/spi-builder-workspace/Sources/TProtocol.swift:123:3: warning: 'public' modifier is redundant for instance method declared in a public extension
121 |   }
122 |
123 |   public func readException() throws -> TApplicationError {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
124 |     return try TApplicationError.read(from: self)
125 |   }
/host/spi-builder-workspace/Sources/TProtocol.swift:127:3: warning: 'public' modifier is redundant for instance method declared in a public extension
125 |   }
126 |
127 |   public func writeException(messageName name: String, sequenceID: Int32, ex: TApplicationError) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
128 |     try writeMessageBegin(name: name, type: .exception, sequenceID: sequenceID)
129 |     try ex.write(to: self)
/host/spi-builder-workspace/Sources/TProtocol.swift:133:3: warning: 'public' modifier is redundant for instance method declared in a public extension
131 |   }
132 |
133 |   public func skip(type: TType) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
134 |     switch type {
135 |     case .bool:   _ = try read() as Bool
/host/spi-builder-workspace/Sources/TProtocolError.swift:135:22: warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
133 |   do {
134 |     try block()
135 |   } catch let err as TError {
    |                      `- warning: use of protocol 'TError' as a type must be written 'any TError'; this will be an error in a future Swift language mode [#ExistentialAny]
136 |     var message = error.message ?? ""
137 |     message += "\nFile: \(sourceFile)\n"
[#ExistentialAny]: <https://docs.swift.org/compiler/documentation/diagnostics/existential-any>
[17/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 [#DeprecatedDeclaration]
 88 |
 89 |   public func write(data: Data) throws {
 90 |     let bytesWritten = data.withUnsafeBytes {
    |                             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 91 |       fwrite($0, 1, data.count, self.fileHandle)
 92 |     }
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 93 |   private func encodeFrameSize(size: UInt32) -> Data {
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
 99 |
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 99 |
100 |     return data
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/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 [#DeprecatedDeclaration]
 88 |
 89 |   public func write(data: Data) throws {
 90 |     let bytesWritten = data.withUnsafeBytes {
    |                             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 91 |       fwrite($0, 1, data.count, self.fileHandle)
 92 |     }
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 93 |   private func encodeFrameSize(size: UInt32) -> Data {
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
 99 |
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 99 |
100 |     return data
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/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 [#DeprecatedDeclaration]
 88 |
 89 |   public func write(data: Data) throws {
 90 |     let bytesWritten = data.withUnsafeBytes {
    |                             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 91 |       fwrite($0, 1, data.count, self.fileHandle)
 92 |     }
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 93 |   private func encodeFrameSize(size: UInt32) -> Data {
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
 99 |
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 99 |
100 |     return data
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[20/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 [#DeprecatedDeclaration]
 88 |
 89 |   public func write(data: Data) throws {
 90 |     let bytesWritten = data.withUnsafeBytes {
    |                             `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 91 |       fwrite($0, 1, data.count, self.fileHandle)
 92 |     }
/host/spi-builder-workspace/Sources/TFramedTransport.swift:95:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 93 |   private func encodeFrameSize(size: UInt32) -> Data {
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:96:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     var data = Data()
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
/host/spi-builder-workspace/Sources/TFramedTransport.swift:97:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 95 |     data.append(Data(bytes: [UInt8(0xff & (size >> 24))]))
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
 99 |
/host/spi-builder-workspace/Sources/TFramedTransport.swift:98:17: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 96 |     data.append(Data(bytes: [UInt8(0xff & (size >> 16))]))
 97 |     data.append(Data(bytes: [UInt8(0xff & (size >> 8))]))
 98 |     data.append(Data(bytes: [UInt8(0xff & (size))]))
    |                 `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 99 |
100 |     return data
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:26:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 | public class THTTPSessionTransport: TAsyncTransport {
 25 |   public class Factory : TAsyncTransportFactory {
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
    |                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |
 28 |     var session: URLSession
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:28:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 26 |     public var responseValidate: ((HTTPURLResponse?, Data?) throws -> Void)?
 27 |
 28 |     var session: URLSession
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:31:70: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     var url: URL
 30 |
 31 |     public class func setupDefaultsForSessionConfiguration(_ config: URLSessionConfiguration, withProtocolName protocolName: String?) {
    |                                                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 |       var thriftContentType = "application/x-thrift"
 33 |
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:50:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 48 |     }
 49 |
 50 |     public init(session: URLSession, url: URL) {
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 51 |       self.session = session
 52 |       self.url = url
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:59:39: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 57 |     }
 58 |
 59 |     func validateResponse(_ response: HTTPURLResponse?, data: Data?) throws {
    |                                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 60 |       try responseValidate?(response, data)
 61 |     }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:37: error: cannot find type 'URLRequest' in scope
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                     `- error: cannot find type 'URLRequest' in scope
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:86: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:63:125: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 61 |     }
 62 |
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
    |                                                                                                                             `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'requestCachePolicy'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:38:36: error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 36 |       }
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
    |                                    `- error: cannot infer contextual base in reference to member 'reloadIgnoringLocalCacheData'
 39 |       config.urlCache = nil
 40 |
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:39:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 37 |
 38 |       config.requestCachePolicy = .reloadIgnoringLocalCacheData
 39 |       config.urlCache = nil
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCache'
 40 |
 41 |       config.httpShouldUsePipelining  = true
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:41:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 39 |       config.urlCache = nil
 40 |
 41 |       config.httpShouldUsePipelining  = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldUsePipelining'
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:42:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 40 |
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
 44 |                                          "Accept": thriftContentType,
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:43:14: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 41 |       config.httpShouldUsePipelining  = true
 42 |       config.httpShouldSetCookies     = true
 43 |       config.httpAdditionalHeaders    = ["Content-Type": thriftContentType,
    |              `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpAdditionalHeaders'
 44 |                                          "Accept": thriftContentType,
 45 |                                          "User-Agent": "Thrift/Swift (Session)"]
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:20: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                    `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |       if let newTask = newTask {
 67 |         return newTask
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:65:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 63 |     func taskWithRequest(_ request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> ()) throws -> URLSessionTask {
 64 |
 65 |       let newTask: URLSessionTask? = session.dataTask(with: request, completionHandler: completionHandler)
    |                                              `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 66 |       if let newTask = newTask {
 67 |         return newTask
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:105:15: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |   public func flush(_ completed: @escaping (TAsyncTransport, Error?) -> Void) {
104 |     var error: Error?
105 |     var task: URLSessionTask?
    |               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |
107 |     var request = URLRequest(url: factory.url)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:107:19: error: cannot find 'URLRequest' in scope
105 |     var task: URLSessionTask?
106 |
107 |     var request = URLRequest(url: factory.url)
    |                   `- error: cannot find 'URLRequest' in scope
108 |     request.httpMethod = "POST"
109 |     request.httpBody =  requestData
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:132:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
130 |         // Check status code
131 |         if let httpResponse = response as? HTTPURLResponse {
132 |           if taskError == nil && httpResponse.statusCode != 200 {
    |                                               `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
133 |             if httpResponse.statusCode == 401 {
134 |               error = THTTPTransportError(error: .authentication)
/host/spi-builder-workspace/Sources/THTTPSessionTransport.swift:166:11: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
164 |       completed(self, error)
165 |     }
166 |     task?.resume()
    |           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
167 |   }
168 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[21/36] Compiling Thrift TClient.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 68 |
 69 |   func writebyteDirect(_ byte: UInt8) throws {
 70 |     let byte = Data(bytes: [byte])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 71 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 72 |       try self.transport.write(data: byte)
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 91 |
 92 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 93 |       try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     }
 95 |   }
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
112 |
113 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
114 |       try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
115 |     }
116 |
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
376 |     }
377 |
378 |     let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
379 |       return UnsafePointer<UInt64>(OpaquePointer(ptr)).pointee
380 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/36] Compiling Thrift TCompactProtocol.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 68 |
 69 |   func writebyteDirect(_ byte: UInt8) throws {
 70 |     let byte = Data(bytes: [byte])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 71 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 72 |       try self.transport.write(data: byte)
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 91 |
 92 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 93 |       try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     }
 95 |   }
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
112 |
113 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
114 |       try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
115 |     }
116 |
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
376 |     }
377 |
378 |     let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
379 |       return UnsafePointer<UInt64>(OpaquePointer(ptr)).pointee
380 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/36] Compiling Thrift TEnum.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 68 |
 69 |   func writebyteDirect(_ byte: UInt8) throws {
 70 |     let byte = Data(bytes: [byte])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 71 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 72 |       try self.transport.write(data: byte)
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 91 |
 92 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 93 |       try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     }
 95 |   }
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
112 |
113 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
114 |       try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
115 |     }
116 |
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
376 |     }
377 |
378 |     let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
379 |       return UnsafePointer<UInt64>(OpaquePointer(ptr)).pointee
380 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[24/36] Compiling Thrift TError.swift
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:70:16: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 68 |
 69 |   func writebyteDirect(_ byte: UInt8) throws {
 70 |     let byte = Data(bytes: [byte])
    |                `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 71 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 72 |       try self.transport.write(data: byte)
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:93:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 91 |
 92 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
 93 |       try self.transport.write(data: Data(bytes: i32buf[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
 94 |     }
 95 |   }
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:114:38: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
112 |
113 |     try ProtocolTransportTry(error: TProtocolError(message: "Transport Write Failed")) {
114 |       try self.transport.write(data: Data(bytes: varint64out[0..<idx]))
    |                                      `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
115 |     }
116 |
/host/spi-builder-workspace/Sources/TCompactProtocol.swift:378:28: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
376 |     }
377 |
378 |     let i64: UInt64 = buff.withUnsafeBytes { (ptr: UnsafePointer<UInt8>) -> UInt64 in
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
379 |       return UnsafePointer<UInt64>(OpaquePointer(ptr)).pointee
380 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
 80 |       let address = Data(bytes: ptr, count: MemoryLayout<sockaddr_in>.size)
 81 |
 82 |       let cfaddr = address.withUnsafeBytes {
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 83 |         CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, $0, address.count, nil)
 84 |       }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
185 |     let readBytes = Sys.read(socketDescriptor, &buff, size)
186 |
187 |     return Data(bytes: buff[0..<readBytes])
    |            `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
188 |   }
189 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
192 |     var writeBuffer = data
193 |     while bytesToWrite > 0 {
194 |       let written = writeBuffer.withUnsafeBytes {
    |                                 `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
195 |         Sys.write(socketDescriptor, $0, writeBuffer.count)
196 |       }
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
 30 |
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
 33 |   public static var thriftType: TType { return .struct }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 34 |
 35 |   public func write(to proto: TProtocol) throws {
/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
 35 |   public func write(to proto: TProtocol) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
 36 |     // Write struct name first
 37 |     try proto.writeStructBegin(name: Self.structName)
/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
 46 |   }
 47 |
 48 |   public var hashValue: Int {
    |   `- warning: 'public' modifier is redundant for property declared in a public extension
 49 |     let prime = 31
 50 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
 80 |       let address = Data(bytes: ptr, count: MemoryLayout<sockaddr_in>.size)
 81 |
 82 |       let cfaddr = address.withUnsafeBytes {
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 83 |         CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, $0, address.count, nil)
 84 |       }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
185 |     let readBytes = Sys.read(socketDescriptor, &buff, size)
186 |
187 |     return Data(bytes: buff[0..<readBytes])
    |            `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
188 |   }
189 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
192 |     var writeBuffer = data
193 |     while bytesToWrite > 0 {
194 |       let written = writeBuffer.withUnsafeBytes {
    |                                 `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
195 |         Sys.write(socketDescriptor, $0, writeBuffer.count)
196 |       }
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
 30 |
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
 33 |   public static var thriftType: TType { return .struct }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 34 |
 35 |   public func write(to proto: TProtocol) throws {
/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
 35 |   public func write(to proto: TProtocol) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
 36 |     // Write struct name first
 37 |     try proto.writeStructBegin(name: Self.structName)
/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
 46 |   }
 47 |
 48 |   public var hashValue: Int {
    |   `- warning: 'public' modifier is redundant for property declared in a public extension
 49 |     let prime = 31
 50 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
 80 |       let address = Data(bytes: ptr, count: MemoryLayout<sockaddr_in>.size)
 81 |
 82 |       let cfaddr = address.withUnsafeBytes {
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 83 |         CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, $0, address.count, nil)
 84 |       }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
185 |     let readBytes = Sys.read(socketDescriptor, &buff, size)
186 |
187 |     return Data(bytes: buff[0..<readBytes])
    |            `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
188 |   }
189 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
192 |     var writeBuffer = data
193 |     while bytesToWrite > 0 {
194 |       let written = writeBuffer.withUnsafeBytes {
    |                                 `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
195 |         Sys.write(socketDescriptor, $0, writeBuffer.count)
196 |       }
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
 30 |
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
 33 |   public static var thriftType: TType { return .struct }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 34 |
 35 |   public func write(to proto: TProtocol) throws {
/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
 35 |   public func write(to proto: TProtocol) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
 36 |     // Write struct name first
 37 |     try proto.writeStructBegin(name: Self.structName)
/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
 46 |   }
 47 |
 48 |   public var hashValue: Int {
    |   `- warning: 'public' modifier is redundant for property declared in a public extension
 49 |     let prime = 31
 50 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[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 [#DeprecatedDeclaration]
 80 |       let address = Data(bytes: ptr, count: MemoryLayout<sockaddr_in>.size)
 81 |
 82 |       let cfaddr = address.withUnsafeBytes {
    |                            `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
 83 |         CFDataCreateWithBytesNoCopy(kCFAllocatorDefault, $0, address.count, nil)
 84 |       }
/host/spi-builder-workspace/Sources/LinuxHelper.swift:29:31: error: cannot find 'kCFSocketSuccess' in scope
27 |
28 | extension CFSocketError {
29 |   public static let success = kCFSocketSuccess
   |                               `- error: cannot find 'kCFSocketSuccess' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:187:12: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
185 |     let readBytes = Sys.read(socketDescriptor, &buff, size)
186 |
187 |     return Data(bytes: buff[0..<readBytes])
    |            `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
188 |   }
189 |
/host/spi-builder-workspace/Sources/TSocketTransport.swift:194:33: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
192 |     var writeBuffer = data
193 |     while bytesToWrite > 0 {
194 |       let written = writeBuffer.withUnsafeBytes {
    |                                 `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
195 |         Sys.write(socketDescriptor, $0, writeBuffer.count)
196 |       }
/host/spi-builder-workspace/Sources/TStruct.swift:32:3: warning: 'public' modifier is redundant for static property declared in a public extension
 30 |
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
/host/spi-builder-workspace/Sources/TStruct.swift:33:3: warning: 'public' modifier is redundant for static property declared in a public extension
 31 | public extension TStruct {
 32 |   public static var fieldIds: [String: (id: Int32, type: TType)] { return [:] }
 33 |   public static var thriftType: TType { return .struct }
    |   `- warning: 'public' modifier is redundant for static property declared in a public extension
 34 |
 35 |   public func write(to proto: TProtocol) throws {
/host/spi-builder-workspace/Sources/TStruct.swift:35:3: warning: 'public' modifier is redundant for instance method declared in a public extension
 33 |   public static var thriftType: TType { return .struct }
 34 |
 35 |   public func write(to proto: TProtocol) throws {
    |   `- warning: 'public' modifier is redundant for instance method declared in a public extension
 36 |     // Write struct name first
 37 |     try proto.writeStructBegin(name: Self.structName)
/host/spi-builder-workspace/Sources/TStruct.swift:48:3: warning: 'public' modifier is redundant for property declared in a public extension
 46 |   }
 47 |
 48 |   public var hashValue: Int {
    |   `- warning: 'public' modifier is redundant for property declared in a public extension
 49 |     let prime = 31
 50 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[29/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 [#DeprecatedDeclaration]
 32 |
 33 |   /// Mark: Hashable
 34 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 35 |     let prime = 31
 36 |     var result = 1
/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 [#DeprecatedDeclaration]
117 |   /// Mark: Hashable
118 |
119 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |     let prime = 31
121 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[30/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 [#DeprecatedDeclaration]
 32 |
 33 |   /// Mark: Hashable
 34 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 35 |     let prime = 31
 36 |     var result = 1
/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 [#DeprecatedDeclaration]
117 |   /// Mark: Hashable
118 |
119 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |     let prime = 31
121 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[31/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 [#DeprecatedDeclaration]
 32 |
 33 |   /// Mark: Hashable
 34 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 35 |     let prime = 31
 36 |     var result = 1
/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 [#DeprecatedDeclaration]
117 |   /// Mark: Hashable
118 |
119 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |     let prime = 31
121 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[32/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 [#DeprecatedDeclaration]
 32 |
 33 |   /// Mark: Hashable
 34 |   public var hashValue : Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TList' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 35 |     let prime = 31
 36 |     var result = 1
/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 [#DeprecatedDeclaration]
117 |   /// Mark: Hashable
118 |
119 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'TMap' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
120 |     let prime = 31
121 |     var result = 1
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[33/36] Compiling Thrift TSSLSocketTransport.swift
[34/36] Compiling Thrift TSSLSocketTransportError.swift
[35/36] Compiling Thrift TSerializable.swift
[36/36] Compiling Thrift TSet.swift
BUILD FAILURE 6.3 linux