The Swift Package Index logo.Swift Package Index

Build Information

Failed to build QXTCPServer with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cqxfly/qxtcpserver_vapor.git
Reference: master
Cloned https://github.com/cqxfly/qxtcpserver_vapor.git into spi-builder-workspace
SUCCESS checkout https://github.com/cqxfly/qxtcpserver_vapor.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/11302] Fetching swift-nio-ssl
[1019/71375] Fetching swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (3.88s)
Fetched https://github.com/apple/swift-nio-ssl (3.89s)
Fetched https://github.com/apple/swift-nio.git (3.96s)
Computing version for https://github.com/apple/swift-nio-ssl
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.18s)
Computed https://github.com/apple/swift-nio-ssl at 1.1.1 (0.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.32s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.25s)
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.25s)
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
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-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 1.1.1
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-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
Building for debugging...
[0/5] Compiling CNIODarwin shim.c
[1/5] Compiling CNIOOpenSSL empty.c
[2/5] Compiling CNIOSHA1 c_nio_sha1.c
[3/5] Compiling CNIOLinux shim.c
[5/8] Compiling NIOPriorityQueue PriorityQueue.swift
[6/8] Compiling NIOPriorityQueue Heap.swift
[7/8] Emitting module NIOPriorityQueue
[9/10] Compiling c-atomics.c
[11/13] Compiling NIOConcurrencyHelpers lock.swift
[12/13] Emitting module NIOConcurrencyHelpers
[13/13] Compiling NIOConcurrencyHelpers atomics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/62] Emitting module NIO
/host/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 {
^
/host/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 }
    ^
[17/68] Compiling NIO AddressedEnvelope.swift
/host/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 {
^
/host/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 }
    ^
[18/68] Compiling NIO BaseSocket.swift
/host/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 {
^
/host/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/68] Compiling NIO BaseSocketChannel.swift
/host/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 {
^
/host/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/68] Compiling NIO BlockingIOThreadPool.swift
/host/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 {
^
/host/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/68] Compiling NIO Bootstrap.swift
/host/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 {
^
/host/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/68] Compiling NIO ByteBuffer-aux.swift
/host/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 {
^
/host/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/68] Compiling NIO ByteBuffer-core.swift
/host/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 {
^
/host/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/68] Compiling NIO RecvByteBufferAllocator.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[25/68] Compiling NIO Resolver.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[26/68] Compiling NIO Selectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[27/68] Compiling NIO Selector.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[28/68] Compiling NIO ServerSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[29/68] Compiling NIO Socket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[30/68] Compiling NIO IO.swift
[31/68] Compiling NIO IOData.swift
[32/68] Compiling NIO IntegerTypes.swift
[33/68] Compiling NIO Interfaces.swift
[34/68] Compiling NIO Linux.swift
[35/68] Compiling NIO LinuxCPUSet.swift
[36/68] Compiling NIO ByteBuffer-int.swift
[37/68] Compiling NIO ByteBuffer-views.swift
[38/68] Compiling NIO Channel.swift
[39/68] Compiling NIO ChannelHandler.swift
[40/68] Compiling NIO ChannelHandlers.swift
[41/68] Compiling NIO ChannelInvoker.swift
[42/68] Compiling NIO ChannelOption.swift
[43/68] Compiling NIO EventLoopFuture.swift
[44/68] Compiling NIO FileDescriptor.swift
[45/68] Compiling NIO FileHandle.swift
[46/68] Compiling NIO FileRegion.swift
[47/68] Compiling NIO GetaddrinfoResolver.swift
[48/68] Compiling NIO HappyEyeballs.swift
[49/68] Compiling NIO Heap.swift
[50/68] Compiling NIO MarkedCircularBuffer.swift
[51/68] Compiling NIO NIOAny.swift
[52/68] Compiling NIO NonBlockingFileIO.swift
[53/68] Compiling NIO PendingDatagramWritesManager.swift
[54/68] Compiling NIO PendingWritesManager.swift
[55/68] Compiling NIO PriorityQueue.swift
[56/68] Compiling NIO ChannelPipeline.swift
[57/68] Compiling NIO CircularBuffer.swift
[58/68] Compiling NIO Codec.swift
[59/68] Compiling NIO CompositeError.swift
[60/68] Compiling NIO DeadChannel.swift
[61/68] Compiling NIO Embedded.swift
[62/68] Compiling NIO EventLoop.swift
[63/68] Compiling NIO SocketAddresses.swift
[64/68] Compiling NIO SocketChannel.swift
[65/68] Compiling NIO System.swift
[66/68] Compiling NIO Thread.swift
[67/68] Compiling NIO TypeAssistedChannelHandler.swift
[68/68] Compiling NIO Utilities.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1