Build Information
Successful build of Thrift, reference master (18ff09), with Swift 6.2 for macOS (SPM) on 21 Jun 2025 00:52:34 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/undefinedlabs/Thrift-Swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/undefinedlabs/Thrift-Swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 18ff09e Merge pull request #1 from RayZhao1998/feature/swift5.2
Cloned https://github.com/undefinedlabs/Thrift-Swift.git
Revision (git rev-parse @):
18ff09e6b30e589ed38f90a1af23e193b8ecef8e
SUCCESS checkout https://github.com/undefinedlabs/Thrift-Swift.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/undefinedlabs/Thrift-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/31] Emitting module Thrift
[4/34] Compiling Thrift TClient.swift
[5/34] Compiling Thrift TCompactProtocol.swift
[6/34] Compiling Thrift TEnum.swift
[7/34] Compiling Thrift TStreamTransport.swift
[8/34] Compiling Thrift TStruct.swift
[9/34] Compiling Thrift TTransport.swift
[10/34] Compiling Thrift LinuxHelper.swift
[11/34] Compiling Thrift TApplicationError.swift
[12/34] Compiling Thrift TBinary.swift
[13/34] Compiling Thrift TBinaryProtocol.swift
[14/34] Compiling Thrift TTransportError.swift
[15/34] Compiling Thrift TWrappedProtocol.swift
[16/34] Compiling Thrift Thrift.swift
[17/34] Compiling Thrift TProcessor.swift
/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>
[18/34] Compiling Thrift TProtocol.swift
/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/34] Compiling Thrift TProtocolError.swift
/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/34] Compiling Thrift TFramedTransport.swift
[21/34] Compiling Thrift THTTPSessionTransport.swift
[22/34] Compiling Thrift TList.swift
[23/34] Compiling Thrift TError.swift
[24/34] Compiling Thrift TFileHandleTransport.swift
[25/34] Compiling Thrift TFileTransport.swift
[26/34] Compiling Thrift TSSLSocketTransport.swift
[27/34] Compiling Thrift TSSLSocketTransportError.swift
[28/34] Compiling Thrift TSerializable.swift
[29/34] Compiling Thrift TMap.swift
[30/34] Compiling Thrift TMemoryBufferTransport.swift
[31/34] Compiling Thrift TMultiplexedProtocol.swift
[32/34] Compiling Thrift TSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
[33/34] Compiling Thrift TSocketServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
[34/34] Compiling Thrift TSocketTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:106:72: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
104 | object: nil, queue: nil) {
105 | [weak self] notification in
106 | guard let strongSelf = self else { return }
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
108 |
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:105:55: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
103 | _ = NotificationCenter.default.addObserver(forName: .NSFileHandleConnectionAccepted,
104 | object: nil, queue: nil) {
105 | [weak self] notification in
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
106 | guard let strongSelf = self else { return }
107 | strongSelf.connectionAccepted(strongSelf.socketFileHandle)
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:124:7: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
124 | self.handleClientConnection(socket)
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
125 | }
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'InProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'OutProtocol.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/TSocketServer.swift:121:8: warning: capture of non-sendable type 'Processor.Type' in an isolated closure
119 | }
120 |
121 | func connectionAccepted(_ socket: FileHandle) {
| `- warning: capture of non-sendable type 'Processor.Type' in an isolated closure
122 | // Now that we have a client connected, handle the request on queue
123 | processingQueue.async {
Build complete! (5.07s)
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" : "Thrift",
"module_type" : "SwiftTarget",
"name" : "Thrift",
"path" : "Sources",
"product_memberships" : [
"Thrift"
],
"sources" : [
"LinuxHelper.swift",
"TApplicationError.swift",
"TBinary.swift",
"TBinaryProtocol.swift",
"TClient.swift",
"TCompactProtocol.swift",
"TEnum.swift",
"TError.swift",
"TFileHandleTransport.swift",
"TFileTransport.swift",
"TFramedTransport.swift",
"THTTPSessionTransport.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" : "4.2"
}
Done.