Build Information
Successful build of Thrift, reference master (69c286), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 17:51:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apocolipse/Thrift-Swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apocolipse/Thrift-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 69c2862 add TJSONProtocol support (#35)
Cloned https://github.com/apocolipse/Thrift-Swift.git
Revision (git rev-parse @):
69c28628b75eda61465d58938dcf83d485e847ec
SUCCESS checkout https://github.com/apocolipse/Thrift-Swift.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "thrift-swift",
"name": "Thrift",
"url": "https://github.com/apocolipse/Thrift-Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Thrift-Swift",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/apocolipse/Thrift-Swift.git
[1/916] Fetching thrift-swift
Fetched https://github.com/apocolipse/Thrift-Swift.git from cache (0.81s)
Creating working copy for https://github.com/apocolipse/Thrift-Swift.git
Working copy of https://github.com/apocolipse/Thrift-Swift.git resolved at master (69c2862)
warning: '.resolve-product-dependencies': dependency 'thrift-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apocolipse/Thrift-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/33] Emitting module Thrift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)")
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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 TTransportError.swift
[5/36] Compiling Thrift TWrappedProtocol.swift
[6/36] Compiling Thrift Thrift.swift
[7/36] Compiling Thrift TError.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[8/36] Compiling Thrift TFileHandleTransport.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[9/36] Compiling Thrift TFileTransport.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/36] Compiling Thrift TFramedTransport.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/36] Compiling Thrift TMap.swift
/Users/admin/builder/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>
[12/36] Compiling Thrift TMemoryBufferTransport.swift
/Users/admin/builder/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>
[13/36] Compiling Thrift TMultiplexedProtocol.swift
/Users/admin/builder/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>
[14/36] Compiling Thrift LinuxHelper.swift
[15/36] Compiling Thrift TApplicationError.swift
[16/36] Compiling Thrift TBase64Utils.swift
[17/36] Compiling Thrift TBinary.swift
[18/36] Compiling Thrift TProcessor.swift
/Users/admin/builder/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)
/Users/admin/builder/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)")
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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>
[19/36] Compiling Thrift TProtocol.swift
/Users/admin/builder/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)
/Users/admin/builder/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)")
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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>
[20/36] Compiling Thrift TProtocolError.swift
/Users/admin/builder/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)
/Users/admin/builder/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)")
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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>
[21/36] Compiling Thrift TSet.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[22/36] Compiling Thrift TSocketServer.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[23/36] Compiling Thrift TSocketTransport.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[24/36] Compiling Thrift TStreamTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:67:21: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
65 | throw TTransportError(error: .notOpen)
66 | }
67 | read.append(Data(bytes: buffer))
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
68 | }
69 | return read
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:88:21: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
86 | }
87 |
88 | read.append(Data(bytes: buffer))
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
89 | }
90 | return read
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:100:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
98 | var bytesWritten = 0
99 | while bytesWritten < data.count {
100 | bytesWritten = data.withUnsafeBytes {
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
101 | return output.write($0, maxLength: data.count)
102 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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>
[25/36] Compiling Thrift TStruct.swift
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:67:21: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
65 | throw TTransportError(error: .notOpen)
66 | }
67 | read.append(Data(bytes: buffer))
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
68 | }
69 | return read
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:88:21: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
86 | }
87 |
88 | read.append(Data(bytes: buffer))
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
89 | }
90 | return read
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:100:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
98 | var bytesWritten = 0
99 | while bytesWritten < data.count {
100 | bytesWritten = data.withUnsafeBytes {
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
101 | return output.write($0, maxLength: data.count)
102 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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 TTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:67:21: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
65 | throw TTransportError(error: .notOpen)
66 | }
67 | read.append(Data(bytes: buffer))
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
68 | }
69 | return read
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:88:21: warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
86 | }
87 |
88 | read.append(Data(bytes: buffer))
| `- warning: 'init(bytes:)' is deprecated: use `init(_:)` instead [#DeprecatedDeclaration]
89 | }
90 | return read
/Users/admin/builder/spi-builder-workspace/Sources/TStreamTransport.swift:100:29: warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
98 | var bytesWritten = 0
99 | while bytesWritten < data.count {
100 | bytesWritten = data.withUnsafeBytes {
| `- warning: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead [#DeprecatedDeclaration]
101 | return output.write($0, maxLength: data.count)
102 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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)
/Users/admin/builder/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 TBinaryProtocol.swift
/Users/admin/builder/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")) {
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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>
[28/36] Compiling Thrift TClient.swift
/Users/admin/builder/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")) {
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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>
[29/36] Compiling Thrift TCompactProtocol.swift
/Users/admin/builder/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")) {
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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>
[30/36] Compiling Thrift TEnum.swift
/Users/admin/builder/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")) {
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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))]))
/Users/admin/builder/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 |
/Users/admin/builder/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")) {
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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>
[31/36] Compiling Thrift TSSLSocketTransport.swift
[32/36] Compiling Thrift TSSLSocketTransportError.swift
[33/36] Compiling Thrift TSerializable.swift
[34/36] Compiling Thrift THTTPSessionTransport.swift
/Users/admin/builder/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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[35/36] Compiling Thrift TJSONProtocol.swift
/Users/admin/builder/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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[36/36] Compiling Thrift TList.swift
/Users/admin/builder/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
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (5.76s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Thrift",
"name" : "Thrift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Thrift",
"targets" : [
"Thrift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ThriftTests",
"module_type" : "SwiftTarget",
"name" : "ThriftTests",
"path" : "Tests/ThriftTests",
"sources" : [
"TBinaryProtocolTests.swift",
"TCompactProtocolTests.swift",
"TJSONProtocolTests.swift",
"ThriftTests.swift"
],
"target_dependencies" : [
"Thrift"
],
"type" : "test"
},
{
"c99name" : "Thrift",
"module_type" : "SwiftTarget",
"name" : "Thrift",
"path" : "Sources",
"product_memberships" : [
"Thrift"
],
"sources" : [
"LinuxHelper.swift",
"TApplicationError.swift",
"TBase64Utils.swift",
"TBinary.swift",
"TBinaryProtocol.swift",
"TClient.swift",
"TCompactProtocol.swift",
"TEnum.swift",
"TError.swift",
"TFileHandleTransport.swift",
"TFileTransport.swift",
"TFramedTransport.swift",
"THTTPSessionTransport.swift",
"TJSONProtocol.swift",
"TList.swift",
"TMap.swift",
"TMemoryBufferTransport.swift",
"TMultiplexedProtocol.swift",
"TProcessor.swift",
"TProtocol.swift",
"TProtocolError.swift",
"TSSLSocketTransport.swift",
"TSSLSocketTransportError.swift",
"TSerializable.swift",
"TSet.swift",
"TSocketServer.swift",
"TSocketTransport.swift",
"TStreamTransport.swift",
"TStruct.swift",
"TTransport.swift",
"TTransportError.swift",
"TWrappedProtocol.swift",
"Thrift.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.