The Swift Package Index logo.Swift Package Index

Build Information

Failed to build QXTCPServer with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cqxfly/qxtcpserver_vapor.git
Reference: 0.3.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/cqxfly/qxtcpserver_vapor.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio.git
[1/15] Fetching swift-nio-zlib-support
[9/64454] Fetching swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.21s)
Fetched https://github.com/apple/swift-nio.git from cache (4.32s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.99s)
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.40s)
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
Building for debugging...
[0/9] Write sources
[4/9] Compiling CNIODarwin shim.c
[5/9] Compiling CNIOSHA1 c_nio_sha1.c
[6/9] Compiling CNIOLinux shim.c
[6/9] Write swift-version-24593BA9C3E375BF.txt
[8/12] Compiling c-atomics.c
[10/15] Emitting module NIOConcurrencyHelpers
[11/15] Compiling NIOConcurrencyHelpers atomics.swift
[12/15] Compiling NIOConcurrencyHelpers lock.swift
[14/16] Compiling NIOPriorityQueue PriorityQueue.swift
[15/16] Compiling NIOPriorityQueue Heap.swift
[16/16] Emitting module NIOPriorityQueue
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/64] 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 }
    ^
[19/70] 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 }
    ^
[20/70] 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 }
    ^
[21/70] 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 }
    ^
[22/70] 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 }
    ^
[23/70] 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 }
    ^
[24/70] 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 }
    ^
[25/70] 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 }
    ^
[26/70] Compiling NIO ByteBuffer-int.swift
[27/70] Compiling NIO ByteBuffer-views.swift
[28/70] Compiling NIO Channel.swift
[29/70] Compiling NIO ChannelHandler.swift
[30/70] Compiling NIO ChannelHandlers.swift
[31/70] Compiling NIO ChannelInvoker.swift
[32/70] Compiling NIO ChannelOption.swift
[33/70] Compiling NIO EventLoopFuture.swift
[34/70] Compiling NIO FileDescriptor.swift
[35/70] Compiling NIO FileHandle.swift
[36/70] Compiling NIO FileRegion.swift
[37/70] Compiling NIO GetaddrinfoResolver.swift
[38/70] Compiling NIO HappyEyeballs.swift
[39/70] Compiling NIO Heap.swift
[40/70] 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 {
                          ^
[41/70] 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 {
                          ^
[42/70] 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 {
                          ^
[43/70] 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 {
                          ^
[44/70] 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 {
                          ^
[45/70] 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 {
                          ^
[46/70] Compiling NIO IO.swift
[47/70] Compiling NIO IOData.swift
[48/70] Compiling NIO IntegerTypes.swift
[49/70] Compiling NIO Interfaces.swift
[50/70] Compiling NIO Linux.swift
[51/70] Compiling NIO LinuxCPUSet.swift
[52/70] Compiling NIO MarkedCircularBuffer.swift
[53/70] Compiling NIO NIOAny.swift
[54/70] Compiling NIO NonBlockingFileIO.swift
[55/70] Compiling NIO PendingDatagramWritesManager.swift
[56/70] Compiling NIO PendingWritesManager.swift
[57/70] Compiling NIO PriorityQueue.swift
[58/70] Compiling NIO SocketAddresses.swift
[59/70] Compiling NIO SocketChannel.swift
[60/70] Compiling NIO System.swift
[61/70] Compiling NIO Thread.swift
[62/70] Compiling NIO TypeAssistedChannelHandler.swift
[63/70] Compiling NIO Utilities.swift
[64/70] Compiling NIO ChannelPipeline.swift
[65/70] Compiling NIO CircularBuffer.swift
[66/70] Compiling NIO Codec.swift
[67/70] Compiling NIO CompositeError.swift
[68/70] Compiling NIO DeadChannel.swift
[69/70] Compiling NIO Embedded.swift
[70/70] Compiling NIO EventLoop.swift
error: fatalError
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling NIO ServerSocket.swift
[3/15] Compiling NIO Resolver.swift
[4/15] Compiling NIO Selectable.swift
[5/15] 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 {
                          ^
[6/17] 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 }
    ^
[7/17] Compiling NIO RecvByteBufferAllocator.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 }
    ^
[8/18] Compiling NIO Socket.swift
[9/19] Compiling NIO Channel.swift
[10/20] Compiling NIO GetaddrinfoResolver.swift
[11/21] Compiling NIO HappyEyeballs.swift
[12/22] Compiling NIO SocketChannel.swift
[13/22] Compiling NIO EventLoop.swift
[14/23] Compiling NIO PendingDatagramWritesManager.swift
[15/23] Compiling NIO AddressedEnvelope.swift
[16/23] Compiling NIO BaseSocket.swift
[17/23] Compiling NIO Bootstrap.swift
[18/23] Compiling NIO ByteBuffer-aux.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/23] Compiling NIO BaseSocketChannel.swift
[20/23] Compiling NIO BlockingIOThreadPool.swift
[21/23] 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 }
    ^
[22/42] Compiling NIO PendingWritesManager.swift
[23/45] Compiling NIO System.swift
[24/48] Compiling NIO NonBlockingFileIO.swift
[25/48] Compiling NIO PriorityQueue.swift
[26/48] Compiling NIO SocketAddresses.swift
[27/49] Compiling NIO Thread.swift
[28/49] Compiling NIO TypeAssistedChannelHandler.swift
[29/49] Compiling NIO Utilities.swift
[30/49] Compiling NIO LinuxCPUSet.swift
[31/49] Compiling NIO MarkedCircularBuffer.swift
[32/49] Compiling NIO NIOAny.swift
[33/51] Compiling NIO IOData.swift
[34/52] Compiling NIO CompositeError.swift
[35/52] Compiling NIO DeadChannel.swift
[36/52] Compiling NIO Embedded.swift
[37/52] Compiling NIO EventLoopFuture.swift
[38/52] Compiling NIO FileHandle.swift
[39/52] Compiling NIO Heap.swift
[40/52] Compiling NIO IO.swift
[41/52] Compiling NIO Interfaces.swift
[42/52] Compiling NIO Linux.swift
[43/52] Compiling NIO FileRegion.swift
[44/52] Compiling NIO ByteBuffer-int.swift
[45/52] Compiling NIO ChannelPipeline.swift
[46/52] Compiling NIO CircularBuffer.swift
[47/52] Compiling NIO Codec.swift
[48/52] Compiling NIO ByteBuffer-views.swift
[49/52] Compiling NIO ChannelHandler.swift
[50/52] Compiling NIO ChannelHandlers.swift
[51/52] Compiling NIO ChannelInvoker.swift
[52/52] Compiling NIO IntegerTypes.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1