Build Information
Failed to build SwiftNIOMock with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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/ilyapuchka/SwiftNIOMock.git
Reference: 0.0.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/ilyapuchka/SwiftNIOMock
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at 003b5c5 updated README
Cloned https://github.com/ilyapuchka/SwiftNIOMock.git
Revision (git rev-parse @):
003b5c59e7a6ea414953f018c5d5d763f3877751
SUCCESS checkout https://github.com/ilyapuchka/SwiftNIOMock.git at 0.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/ilyapuchka/SwiftNIOMock.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.24s)
[1/64439] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.12.0 (2.15s)
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.57s)
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
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.12.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/13] Write sources
[5/13] Compiling CNIOZlib empty.c
[6/13] Compiling CNIOLinux ifaddrs-android.c
[7/13] Compiling CNIODarwin shim.c
[8/13] Compiling CNIOSHA1 c_nio_sha1.c
[9/13] Compiling CNIOHTTPParser c_nio_http_parser.c
[10/13] Compiling CNIOLinux shim.c
[11/13] Write swift-version-24593BA9C3E375BF.txt
[12/16] Compiling c-atomics.c
[14/19] Compiling NIOConcurrencyHelpers atomics.swift
[15/19] Compiling NIOConcurrencyHelpers lock.swift
[16/19] Emitting module NIOConcurrencyHelpers
[18/20] Emitting module NIOPriorityQueue
[19/20] Compiling NIOPriorityQueue PriorityQueue.swift
[20/20] Compiling NIOPriorityQueue Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/71] 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 }
^
[23/77] 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 }
^
[24/77] 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 }
^
[25/77] 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 }
^
[26/77] 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 }
^
[27/77] 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 }
^
[28/77] 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 }
^
[29/77] 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 }
^
[30/77] Compiling NIO ByteBuffer-int.swift
[31/77] Compiling NIO ByteBuffer-views.swift
[32/77] Compiling NIO Channel.swift
[33/77] Compiling NIO ChannelHandler.swift
[34/77] Compiling NIO ChannelHandlers.swift
[35/77] Compiling NIO ChannelInvoker.swift
[36/77] Compiling NIO ChannelOption.swift
[37/77] Compiling NIO Heap.swift
[38/77] Compiling NIO IO.swift
[39/77] Compiling NIO IOData.swift
[40/77] Compiling NIO IntegerTypes.swift
[41/77] Compiling NIO Interfaces.swift
[42/77] Compiling NIO Linux.swift
[43/77] Compiling NIO LinuxCPUSet.swift
[44/77] Compiling NIO MarkedCircularBuffer.swift
[45/77] Compiling NIO MulticastChannel.swift
[46/77] Compiling NIO NIOAny.swift
[47/77] Compiling NIO NonBlockingFileIO.swift
[48/77] Compiling NIO PendingDatagramWritesManager.swift
[49/77] Compiling NIO PendingWritesManager.swift
[50/77] Compiling NIO PriorityQueue.swift
[51/77] Compiling NIO RecvByteBufferAllocator.swift
[52/77] Compiling NIO Resolver.swift
[53/77] Compiling NIO Selectable.swift
[54/77] Compiling NIO Selector.swift
[55/77] Compiling NIO ServerSocket.swift
[56/77] Compiling NIO Socket.swift
[57/77] Compiling NIO SocketAddresses.swift
[58/77] Compiling NIO EventLoop.swift
[59/77] Compiling NIO EventLoopFuture.swift
[60/77] Compiling NIO FileDescriptor.swift
[61/77] Compiling NIO FileHandle.swift
[62/77] Compiling NIO FileRegion.swift
[63/77] Compiling NIO GetaddrinfoResolver.swift
[64/77] Compiling NIO HappyEyeballs.swift
[65/77] Compiling NIO SocketChannel.swift
[66/77] Compiling NIO SocketOptionProvider.swift
[67/77] Compiling NIO System.swift
[68/77] Compiling NIO Thread.swift
[69/77] Compiling NIO TypeAssistedChannelHandler.swift
[70/77] Compiling NIO Utilities.swift
[71/77] Compiling NIO AddressedEnvelope.swift
[72/77] Compiling NIO BaseSocket.swift
[73/77] Compiling NIO BaseSocketChannel.swift
[74/77] Compiling NIO BlockingIOThreadPool.swift
[75/77] Compiling NIO Bootstrap.swift
[76/77] Compiling NIO ByteBuffer-aux.swift
[77/77] Compiling NIO ByteBuffer-core.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/9] Compiling NIO CompositeError.swift
[3/9] Compiling NIO DeadChannel.swift
[4/9] 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 }
^
[5/9] Compiling NIO Codec.swift
[6/12] Compiling NIO Embedded.swift
[7/20] Compiling NIO CircularBuffer.swift
[8/24] Compiling NIO ChannelHandler.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/28] Compiling NIO ChannelPipeline.swift
[10/28] 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 }
^
[11/36] Compiling NIO Bootstrap.swift
[12/36] Compiling NIO ChannelHandlers.swift
[13/43] Compiling NIO ByteBuffer-int.swift
[14/43] Compiling NIO ByteBuffer-views.swift
[15/43] Compiling NIO Channel.swift
[16/43] Compiling NIO ChannelInvoker.swift
[17/44] Compiling NIO SocketOptionProvider.swift
[18/44] Compiling NIO HappyEyeballs.swift
[19/44] Compiling NIO Heap.swift
[20/44] Compiling NIO IO.swift
[21/44] Compiling NIO IOData.swift
[22/44] Compiling NIO EventLoop.swift
[23/44] Compiling NIO EventLoopFuture.swift
[24/44] Compiling NIO FileRegion.swift
[25/44] Compiling NIO GetaddrinfoResolver.swift
[26/44] Compiling NIO IntegerTypes.swift
[27/44] Compiling NIO Interfaces.swift
[28/44] Compiling NIO LinuxCPUSet.swift
[29/44] Compiling NIO MarkedCircularBuffer.swift
[30/44] Compiling NIO NIOAny.swift
[31/44] Compiling NIO NonBlockingFileIO.swift
[32/44] Compiling NIO PendingDatagramWritesManager.swift
[33/44] Compiling NIO PendingWritesManager.swift
[34/44] Compiling NIO SocketChannel.swift
[35/44] Compiling NIO System.swift
[36/44] Compiling NIO Thread.swift
[37/44] Compiling NIO PriorityQueue.swift
[38/44] Compiling NIO RecvByteBufferAllocator.swift
[39/44] Compiling NIO Selector.swift
[40/44] Compiling NIO SocketAddresses.swift
[41/44] Compiling NIO BaseSocket.swift
[42/44] Compiling NIO BaseSocketChannel.swift
[43/44] Compiling NIO BlockingIOThreadPool.swift
[44/44] Compiling NIO ByteBuffer-core.swift
error: fatalError
BUILD FAILURE 5.10 linux