Build Information
Failed to build XMPP with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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/FluuxIO/XMPP.git
Reference: v0.0.3
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/FluuxIO/XMPP
* tag v0.0.3 -> FETCH_HEAD
HEAD is now at 4022bf6 Fix typo
Cloned https://github.com/FluuxIO/XMPP.git
Revision (git rev-parse @):
4022bf6b94d5ff9eaa73aa832a7f5b21504f45b3
SUCCESS checkout https://github.com/FluuxIO/XMPP.git at v0.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/FluuxIO/XMPP.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/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-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
[17/31] Fetching swift-nio-ssl-support, swift-nio-zlib-support
[31/12178] Fetching swift-nio-ssl-support, swift-nio-zlib-support, swift-nio-ssl
[12178/76617] Fetching swift-nio-ssl-support, swift-nio-zlib-support, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.16s)
[14851/64470] Fetching swift-nio-ssl-support, swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (4.97s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.97s)
Fetched https://github.com/apple/swift-nio.git from cache (5.05s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.3.2 (1.62s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.11.0 (0.52s)
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.38s)
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.37s)
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-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.11.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-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
Building for debugging...
[0/15] Write sources
[7/15] Compiling CNIODarwin shim.c
[8/15] Compiling CNIOLinux ifaddrs-android.c
[9/15] Compiling CNIOSHA1 c_nio_sha1.c
[10/15] Compiling CNIOLinux shim.c
[11/15] Write swift-version-24593BA9C3E375BF.txt
[12/15] Compiling CNIOOpenSSL helpers.c
[13/15] Compiling CNIOOpenSSL shims.c
[14/20] Compiling c-atomics.c
[16/23] Compiling NIOPriorityQueue PriorityQueue.swift
[17/23] Compiling NIOPriorityQueue Heap.swift
[18/23] Emitting module NIOPriorityQueue
[19/24] Compiling NIOConcurrencyHelpers atomics.swift
[20/24] Emitting module NIOConcurrencyHelpers
[21/24] Compiling NIOConcurrencyHelpers lock.swift
[24/75] Emitting module XFoundationCompat
[25/75] Compiling XFoundationCompat PropertyListCoder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/76] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[28/82] Compiling NIO ChannelPipeline.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[29/82] Compiling NIO CircularBuffer.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[30/82] Compiling NIO Codec.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[31/82] Compiling NIO CompositeError.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[32/82] Compiling NIO ContiguousCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[33/82] Compiling NIO DeadChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[34/82] Compiling NIO Embedded.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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 }
^
[35/82] Compiling NIO MarkedCircularBuffer.swift
[36/82] Compiling NIO MulticastChannel.swift
[37/82] Compiling NIO NIOAny.swift
[38/82] Compiling NIO NonBlockingFileIO.swift
[39/82] Compiling NIO PendingDatagramWritesManager.swift
[40/82] Compiling NIO PendingWritesManager.swift
[41/82] Compiling NIO PriorityQueue.swift
[42/82] Compiling NIO RecvByteBufferAllocator.swift
[43/82] Compiling NIO Resolver.swift
[44/82] Compiling NIO Selectable.swift
[45/82] Compiling NIO Selector.swift
[46/82] Compiling NIO ServerSocket.swift
[47/82] Compiling NIO Socket.swift
[48/82] Compiling NIO SocketAddresses.swift
[49/82] Compiling NIO Heap.swift
[50/82] Compiling NIO IO.swift
[51/82] Compiling NIO IOData.swift
[52/82] Compiling NIO IntegerTypes.swift
[53/82] Compiling NIO Interfaces.swift
[54/82] Compiling NIO Linux.swift
[55/82] Compiling NIO LinuxCPUSet.swift
[56/82] Compiling NIO EventLoop.swift
[57/82] Compiling NIO EventLoopFuture.swift
[58/82] Compiling NIO FileDescriptor.swift
[59/82] Compiling NIO FileHandle.swift
[60/82] Compiling NIO FileRegion.swift
[61/82] Compiling NIO GetaddrinfoResolver.swift
[62/82] Compiling NIO HappyEyeballs.swift
[63/82] Compiling NIO SocketChannel.swift
[64/82] Compiling NIO SocketOptionProvider.swift
[65/82] Compiling NIO System.swift
[66/82] Compiling NIO Thread.swift
[67/82] Compiling NIO TypeAssistedChannelHandler.swift
[68/82] Compiling NIO Utilities.swift
[69/82] Compiling NIO ByteBuffer-int.swift
[70/82] Compiling NIO ByteBuffer-views.swift
[71/82] Compiling NIO Channel.swift
[72/82] Compiling NIO ChannelHandler.swift
[73/82] Compiling NIO ChannelHandlers.swift
[74/82] Compiling NIO ChannelInvoker.swift
[75/82] Compiling NIO ChannelOption.swift
[76/82] Compiling NIO AddressedEnvelope.swift
[77/82] Compiling NIO BaseSocket.swift
[78/82] Compiling NIO BaseSocketChannel.swift
[79/82] Compiling NIO BlockingIOThreadPool.swift
[80/82] Compiling NIO Bootstrap.swift
[81/82] Compiling NIO ByteBuffer-aux.swift
[82/82] Compiling NIO ByteBuffer-core.swift
error: fatalError
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling NIO Codec.swift
[3/9] Compiling NIO CompositeError.swift
[4/11] Compiling NIO DeadChannel.swift
[5/11] Compiling NIO Embedded.swift
[6/11] Compiling NIO ContiguousCollection.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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/20] Compiling NIO CircularBuffer.swift
[8/24] Compiling NIO ChannelHandler.swift
[9/24] Compiling NIO Bootstrap.swift
[10/32] Compiling NIO ChannelHandlers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/36] Compiling NIO ChannelPipeline.swift
[12/36] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21:1: error: type 'StaticString' does not conform to protocol 'Collection'
extension StaticString: Collection {
^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ContiguousCollection.swift:21: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/43] Compiling NIO EventLoop.swift
[14/43] Compiling NIO EventLoopFuture.swift
[15/43] Compiling NIO FileRegion.swift
[16/43] Compiling NIO GetaddrinfoResolver.swift
[17/44] Compiling NIO HappyEyeballs.swift
[18/44] Compiling NIO Heap.swift
[19/44] Compiling NIO IO.swift
[20/44] Compiling NIO IOData.swift
[21/44] Compiling NIO SocketOptionProvider.swift
[22/44] Compiling NIO IntegerTypes.swift
[23/44] Compiling NIO Interfaces.swift
[24/44] Compiling NIO LinuxCPUSet.swift
[25/44] Compiling NIO MarkedCircularBuffer.swift
[26/44] Compiling NIO NIOAny.swift
[27/44] Compiling NIO NonBlockingFileIO.swift
[28/44] Compiling NIO PendingDatagramWritesManager.swift
[29/44] Compiling NIO PendingWritesManager.swift
[30/44] Compiling NIO ByteBuffer-int.swift
[31/44] Compiling NIO ByteBuffer-views.swift
[32/44] Compiling NIO Channel.swift
[33/44] Compiling NIO ChannelInvoker.swift
[34/44] Compiling NIO BaseSocket.swift
[35/44] Compiling NIO BaseSocketChannel.swift
[36/44] Compiling NIO BlockingIOThreadPool.swift
[37/44] Compiling NIO ByteBuffer-core.swift
[38/44] Compiling NIO SocketChannel.swift
[39/44] Compiling NIO System.swift
[40/44] Compiling NIO Thread.swift
[41/44] Compiling NIO PriorityQueue.swift
[42/44] Compiling NIO RecvByteBufferAllocator.swift
[43/44] Compiling NIO Selector.swift
[44/44] Compiling NIO SocketAddresses.swift
error: fatalError
BUILD FAILURE 5.10 linux