Build Information
Failed to build QXTCPServer, reference 0.3.1 (4b3fcc), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 17:42:54 UTC.
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/cqxfly/qxtcpserver_vapor.git
Reference: 0.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/cqxfly/qxtcpserver_vapor
* tag 0.3.1 -> FETCH_HEAD
HEAD is now at 4b3fcc9 add public methods
Cloned https://github.com/cqxfly/qxtcpserver_vapor.git
Revision (git rev-parse @):
4b3fcc94f3366e0c7eabb793304080c3fcd52e8f
SUCCESS checkout https://github.com/cqxfly/qxtcpserver_vapor.git at 0.3.1
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/cqxfly/qxtcpserver_vapor.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[4/10] Write swift-version-1EA4D86E10B52AF.txt
[5/10] Compiling CNIOLinux shim.c
[6/10] Compiling CNIOLinux ifaddrs-android.c
[7/13] Compiling CNIODarwin shim.c
[8/13] Compiling CNIOSHA1 c_nio_sha1.c
[10/13] Emitting module NIOPriorityQueue
[11/13] Compiling NIOPriorityQueue Heap.swift
[12/13] Compiling NIOPriorityQueue PriorityQueue.swift
[12/13] Compiling c-atomics.c
[14/16] Compiling NIOConcurrencyHelpers lock.swift
[15/16] Emitting module NIOConcurrencyHelpers
[16/16] Compiling NIOConcurrencyHelpers atomics.swift
[17/67] Compiling NIO PendingWritesManager.swift
[18/67] Compiling NIO PriorityQueue.swift
[19/67] Compiling NIO RecvByteBufferAllocator.swift
[20/67] Compiling NIO Resolver.swift
[21/67] Compiling NIO Selectable.swift
[22/72] Compiling NIO ChannelInvoker.swift
[23/72] Compiling NIO ChannelOption.swift
[24/72] Compiling NIO ChannelPipeline.swift
[25/72] Compiling NIO CircularBuffer.swift
[26/72] Compiling NIO Codec.swift
[27/72] Compiling NIO CompositeError.swift
[28/72] Emitting module NIO
[29/72] Compiling NIO MarkedCircularBuffer.swift
[30/72] Compiling NIO MulticastChannel.swift
[31/72] Compiling NIO NIOAny.swift
[32/72] Compiling NIO NonBlockingFileIO.swift
[33/72] Compiling NIO PendingDatagramWritesManager.swift
[34/72] Compiling NIO IOData.swift
[35/72] Compiling NIO IntegerTypes.swift
[36/72] Compiling NIO Interfaces.swift
[37/72] Compiling NIO Linux.swift
[38/72] Compiling NIO LinuxCPUSet.swift
[39/72] Compiling NIO AddressedEnvelope.swift
[40/72] Compiling NIO BaseSocket.swift
[41/72] Compiling NIO BaseSocketChannel.swift
[42/72] Compiling NIO BlockingIOThreadPool.swift
[43/72] Compiling NIO Bootstrap.swift
[44/72] Compiling NIO ByteBuffer-aux.swift
[45/72] Compiling NIO FileHandle.swift
[46/72] Compiling NIO FileRegion.swift
[47/72] Compiling NIO GetaddrinfoResolver.swift
[48/72] Compiling NIO HappyEyeballs.swift
[49/72] Compiling NIO Heap.swift
[50/72] Compiling NIO IO.swift
[51/72] Compiling NIO ByteBuffer-core.swift
[52/72] Compiling NIO ByteBuffer-int.swift
[53/72] Compiling NIO ByteBuffer-views.swift
[54/72] Compiling NIO Channel.swift
[55/72] Compiling NIO ChannelHandler.swift
[56/72] Compiling NIO ChannelHandlers.swift
[57/72] Compiling NIO SocketOptionProvider.swift
[58/72] Compiling NIO System.swift
[59/72] Compiling NIO Thread.swift
[60/72] Compiling NIO TypeAssistedChannelHandler.swift
[61/72] Compiling NIO Utilities.swift
[62/72] Compiling NIO ContiguousCollection.swift
[63/72] Compiling NIO DeadChannel.swift
[64/72] Compiling NIO Embedded.swift
[65/72] Compiling NIO EventLoop.swift
[66/72] Compiling NIO EventLoopFuture.swift
[67/72] Compiling NIO FileDescriptor.swift
[68/72] Compiling NIO Selector.swift
[69/72] Compiling NIO ServerSocket.swift
[70/72] Compiling NIO Socket.swift
[71/72] Compiling NIO SocketAddresses.swift
[72/72] Compiling NIO SocketChannel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[73/74] Emitting module QXTCPServer
/Users/admin/builder/spi-builder-workspace/Sources/QXTCPServer/QXTCPServer.swift:22:29: error: 'init(label:qos:attributes:autoreleaseFrequency:target:)' is only available in macOS 14.0 or newer
11 |
12 | public typealias OnRead = (_ socket: Channel,_ data: NIOAny)-> Void
13 | public class TCPServer {
| `- note: add @available attribute to enclosing class
14 |
15 | let host: String
:
20 | public var onError : (Error) -> Void = { print($0) }
21 |
22 | private let tcpThread = dispatch_queue_concurrent_t(label: "tcp");
| `- error: 'init(label:qos:attributes:autoreleaseFrequency:target:)' is only available in macOS 14.0 or newer
23 |
24 | func bootstrap() throws {
[74/74] Compiling QXTCPServer QXTCPServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/QXTCPServer/QXTCPServer.swift:22:29: error: 'init(label:qos:attributes:autoreleaseFrequency:target:)' is only available in macOS 14.0 or newer
11 |
12 | public typealias OnRead = (_ socket: Channel,_ data: NIOAny)-> Void
13 | public class TCPServer {
| `- note: add @available attribute to enclosing class
14 |
15 | let host: String
:
20 | public var onError : (Error) -> Void = { print($0) }
21 |
22 | private let tcpThread = dispatch_queue_concurrent_t(label: "tcp");
| `- error: 'init(label:qos:attributes:autoreleaseFrequency:target:)' is only available in macOS 14.0 or newer
23 |
24 | func bootstrap() throws {
Fetching https://github.com/apple/swift-nio.git
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (3.63s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (4.18s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[2/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.65s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.17s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
BUILD FAILURE 6.2 macosSpm