The Swift Package Index logo.Swift Package Index

Build Information

Failed to build QXTCPServer with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.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/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-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 into spi-builder-workspace
4b3fcc94f3366e0c7eabb793304080c3fcd52e8f
SUCCESS checkout https://github.com/cqxfly/qxtcpserver_vapor.git at 0.3.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.35s)
Fetched https://github.com/apple/swift-nio.git (1.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.03s)
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 (0.09s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.8.0
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
Building for debugging...
[0/4] Compiling CNIOLinux shim.c
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
sha1_step(ctxt)
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_init(ctxt)
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_pad(ctxt)
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOSHA1/c_nio_sha1.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
c_nio_sha1_loop(ctxt, input, len)
^
4 warnings generated.
[1/7] Compiling CNIOSHA1 c_nio_sha1.c
[2/7] Compiling CNIODarwin shim.c
[4/7] Compiling NIOPriorityQueue PriorityQueue.swift
[5/7] Compiling NIOPriorityQueue Heap.swift
[6/7] Emitting module NIOPriorityQueue
[6/7] Compiling c-atomics.c
[8/10] Compiling NIOConcurrencyHelpers lock.swift
[9/10] Compiling NIOConcurrencyHelpers atomics.swift
[10/10] Emitting module NIOConcurrencyHelpers
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/57] Emitting module NIO
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[12/63] Compiling NIO IO.swift
[13/63] Compiling NIO IOData.swift
[14/63] Compiling NIO IntegerTypes.swift
[15/63] Compiling NIO Interfaces.swift
[16/63] Compiling NIO Linux.swift
[17/63] Compiling NIO LinuxCPUSet.swift
[18/63] Compiling NIO AddressedEnvelope.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[19/63] Compiling NIO BaseSocket.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[20/63] Compiling NIO BaseSocketChannel.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[21/63] Compiling NIO BlockingIOThreadPool.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[22/63] Compiling NIO Bootstrap.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[23/63] Compiling NIO ByteBuffer-aux.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[24/63] Compiling NIO ByteBuffer-core.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[25/63] Compiling NIO ByteBuffer-int.swift
[26/63] Compiling NIO ByteBuffer-views.swift
[27/63] Compiling NIO Channel.swift
[28/63] Compiling NIO ChannelHandler.swift
[29/63] Compiling NIO ChannelHandlers.swift
[30/63] Compiling NIO ChannelInvoker.swift
[31/63] Compiling NIO ChannelOption.swift
[32/63] Compiling NIO EventLoopFuture.swift
[33/63] Compiling NIO FileDescriptor.swift
[34/63] Compiling NIO FileHandle.swift
[35/63] Compiling NIO FileRegion.swift
[36/63] Compiling NIO GetaddrinfoResolver.swift
[37/63] Compiling NIO HappyEyeballs.swift
[38/63] Compiling NIO Heap.swift
[39/63] Compiling NIO MarkedCircularBuffer.swift
[40/63] Compiling NIO NIOAny.swift
[41/63] Compiling NIO NonBlockingFileIO.swift
[42/63] Compiling NIO PendingDatagramWritesManager.swift
[43/63] Compiling NIO PendingWritesManager.swift
[44/63] Compiling NIO PriorityQueue.swift
[45/63] Compiling NIO ChannelPipeline.swift
[46/63] Compiling NIO CircularBuffer.swift
[47/63] Compiling NIO Codec.swift
[48/63] Compiling NIO CompositeError.swift
[49/63] Compiling NIO DeadChannel.swift
[50/63] Compiling NIO Embedded.swift
[51/63] Compiling NIO EventLoop.swift
[52/63] Compiling NIO RecvByteBufferAllocator.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:587:19: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
            guard selectorEvent != .none else {
                  ^
[53/63] Compiling NIO Resolver.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:587:19: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
            guard selectorEvent != .none else {
                  ^
[54/63] Compiling NIO Selectable.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:587:19: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
            guard selectorEvent != .none else {
                  ^
[55/63] Compiling NIO Selector.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:587:19: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
            guard selectorEvent != .none else {
                  ^
[56/63] Compiling NIO ServerSocket.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:587:19: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
            guard selectorEvent != .none else {
                  ^
[57/63] Compiling NIO Socket.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:587:19: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
            guard selectorEvent != .none else {
                  ^
[58/63] Compiling NIO SocketAddresses.swift
[59/63] Compiling NIO SocketChannel.swift
[60/63] Compiling NIO System.swift
[61/63] Compiling NIO Thread.swift
[62/63] Compiling NIO TypeAssistedChannelHandler.swift
[63/63] Compiling NIO Utilities.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
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
[0/1] Planning build
Building for debugging...
[1/13] Compiling NIO Bootstrap.swift
[2/13] Compiling NIO ByteBuffer-aux.swift
[3/13] Compiling NIO ServerSocket.swift
[4/13] Compiling NIO Resolver.swift
[5/13] Compiling NIO Selectable.swift
[6/13] Compiling NIO Selector.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:587:19: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
            guard selectorEvent != .none else {
                  ^
[7/17] Compiling NIO AddressedEnvelope.swift
[8/17] Compiling NIO BaseSocket.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/17] Emitting module NIO
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[10/17] Compiling NIO BaseSocketChannel.swift
[11/17] Compiling NIO BlockingIOThreadPool.swift
[12/17] Compiling NIO ByteBuffer-core.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[13/17] Compiling NIO RecvByteBufferAllocator.swift
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664:1: error: unavailable subscript 'subscript(_:)' was used to satisfy a requirement of protocol 'Collection'
extension StaticString: Collection {
^
Swift.Collection:3:12: note: 'subscript(_:)' declared here
    public subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
           ^
Swift.Collection:14:5: note: requirement 'subscript(_:)' declared here
    subscript(bounds: Range<Self.Index>) -> Self.SubSequence { get }
    ^
[14/21] Compiling NIO Socket.swift
[15/25] Compiling NIO Channel.swift
[16/25] Compiling NIO EventLoop.swift
[17/25] Compiling NIO SocketChannel.swift
[18/35] Compiling NIO PendingWritesManager.swift
[19/38] Compiling NIO GetaddrinfoResolver.swift
[20/41] Compiling NIO HappyEyeballs.swift
[21/41] Compiling NIO PendingDatagramWritesManager.swift
[22/47] Compiling NIO ByteBuffer-int.swift
[23/47] Compiling NIO ByteBuffer-views.swift
[24/47] Compiling NIO ChannelHandler.swift
[25/47] Compiling NIO ChannelHandlers.swift
[26/48] Compiling NIO Thread.swift
[27/48] Compiling NIO TypeAssistedChannelHandler.swift
[28/48] Compiling NIO Utilities.swift
[29/49] Compiling NIO MarkedCircularBuffer.swift
[30/49] Compiling NIO NIOAny.swift
[31/49] Compiling NIO NonBlockingFileIO.swift
[32/49] Compiling NIO DeadChannel.swift
[33/49] Compiling NIO Embedded.swift
[34/49] Compiling NIO EventLoopFuture.swift
[35/49] Compiling NIO FileRegion.swift
[36/49] Compiling NIO Heap.swift
[37/49] Compiling NIO IO.swift
[38/49] Compiling NIO IOData.swift
[39/49] Compiling NIO IntegerTypes.swift
[40/49] Compiling NIO Interfaces.swift
[41/49] Compiling NIO PriorityQueue.swift
[42/49] Compiling NIO SocketAddresses.swift
[43/49] Compiling NIO System.swift
[44/49] Compiling NIO ChannelInvoker.swift
[45/49] Compiling NIO ChannelPipeline.swift
[46/49] Compiling NIO CircularBuffer.swift
[47/49] Compiling NIO Codec.swift
[48/49] Compiling NIO CompositeError.swift
[49/49] Compiling NIO FileHandle.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm

Build Machine: Mac 5