Build Information
Failed to build SwiftNIOMock 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/ilyapuchka/SwiftNIOMock.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at cc14a07 update readme
Cloned https://github.com/ilyapuchka/SwiftNIOMock.git
Revision (git rev-parse @):
cc14a07e137597194d439cfbb3ca7b6b99701ccb
SUCCESS checkout https://github.com/ilyapuchka/SwiftNIOMock.git at master
========================================
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-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ilyapuchka/URLFormat.git
[1/118] Fetching urlformat
Fetched https://github.com/ilyapuchka/URLFormat.git from cache (0.22s)
Fetching https://github.com/ilyapuchka/common-parsers.git
[1/72] Fetching common-parsers
Fetched https://github.com/ilyapuchka/common-parsers.git from cache (0.19s)
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3290] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git from cache (0.28s)
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
[16/64454] Fetching swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.06s)
Fetched https://github.com/apple/swift-nio.git from cache (4.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.1 (0.46s)
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.39s)
Creating working copy for https://github.com/pointfreeco/swift-prelude.git
Working copy of https://github.com/pointfreeco/swift-prelude.git resolved at 9240a1f951c382e1c7387762c6cd94042baba531
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.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
Creating working copy for https://github.com/ilyapuchka/URLFormat.git
Working copy of https://github.com/ilyapuchka/URLFormat.git resolved at master (d2aa0da)
Creating working copy for https://github.com/ilyapuchka/common-parsers.git
Working copy of https://github.com/ilyapuchka/common-parsers.git resolved at master (2386ef5)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/16] Write sources
[8/16] Compiling CNIOZlib empty.c
[9/16] Compiling CNIOLinux ifaddrs-android.c
[10/16] Compiling CNIODarwin shim.c
[11/16] Compiling CNIOSHA1 c_nio_sha1.c
[12/16] Compiling CNIOLinux shim.c
[13/16] Write swift-version-24593BA9C3E375BF.txt
[14/16] Compiling CNIOHTTPParser c_nio_http_parser.c
[15/52] Compiling c-atomics.c
[17/55] Emitting module NIOConcurrencyHelpers
[18/55] Compiling Prelude Field.swift
[19/55] Compiling Prelude Filterable.swift
[20/55] Compiling Prelude FreeNearSemiring.swift
[21/55] Compiling Prelude Func.swift
[22/55] Compiling Prelude Function.swift
[23/59] Emitting module Prelude
[24/59] Compiling Prelude NearSemiring.swift
[25/59] Compiling Prelude Never.swift
[26/59] Compiling Prelude Operators.swift
[27/59] Compiling Prelude Optional.swift
[28/59] Compiling Prelude Semigroup.swift
[29/59] Compiling Prelude Semiring.swift
[30/59] Compiling Prelude Sequence.swift
[31/59] Compiling Prelude Set.swift
[32/59] Compiling Prelude Comparator.swift
[33/59] Compiling Prelude Curry.swift
[34/59] Compiling Prelude Endo.swift
[35/59] Compiling Prelude Equatable.swift
[36/59] Compiling Prelude EuclideanRing.swift
[37/59] Compiling Prelude String.swift
[38/59] Compiling Prelude Strong.swift
[39/59] Compiling Prelude Tuple.swift
[40/59] Compiling Prelude Unit.swift
[41/59] Compiling NIOConcurrencyHelpers atomics.swift
[42/59] Compiling NIOConcurrencyHelpers lock.swift
[44/60] Compiling NIOPriorityQueue PriorityQueue.swift
[45/60] Emitting module NIOPriorityQueue
[46/60] Compiling NIOPriorityQueue Heap.swift
[47/61] Compiling Prelude Alt.swift
[48/61] Compiling Prelude Array.swift
[49/61] Compiling Prelude Collection.swift
[50/61] Compiling Prelude CommutativeRing.swift
[51/61] Compiling Prelude Comparable.swift
[52/61] Compiling Prelude Parallel.swift
[53/61] Compiling Prelude Plus.swift
[54/61] Compiling Prelude PrecedenceGroups.swift
[55/61] Compiling Prelude Ring.swift
[56/61] Compiling Prelude HeytingAlgebra.swift
[57/61] Compiling Prelude Hole.swift
[58/61] Compiling Prelude IO.swift
[59/61] Compiling Prelude KeyPath.swift
[60/61] Compiling Prelude Monoid.swift
[63/119] Compiling CommonParsers Template.swift
[64/119] Emitting module CommonParsers
[65/119] Compiling CommonParsers Format.swift
[66/119] Compiling CommonParsers Parser.swift
[67/119] Compiling CommonParsers PartialIso.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/119] 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 }
^
[69/119] Compiling CommonParsers Parenthesize.swift
[70/119] Compiling CommonParsers Matchable.swift
[72/128] Compiling URLFormat URLFormat.swift
[73/128] Emitting module URLFormat
[75/129] Compiling NIO Heap.swift
[76/129] Compiling NIO IO.swift
[77/129] Compiling NIO IOData.swift
[78/129] Compiling NIO IntegerTypes.swift
[79/129] Compiling NIO Interfaces.swift
[80/129] Compiling NIO Linux.swift
[81/129] Compiling NIO LinuxCPUSet.swift
[82/129] Compiling NIO MarkedCircularBuffer.swift
[83/129] Compiling NIO MulticastChannel.swift
[84/129] Compiling NIO NIOAny.swift
[85/129] Compiling NIO NonBlockingFileIO.swift
[86/129] Compiling NIO PendingDatagramWritesManager.swift
[87/129] Compiling NIO PendingWritesManager.swift
[88/129] Compiling NIO PriorityQueue.swift
[89/129] Compiling NIO ByteBuffer-int.swift
[90/129] Compiling NIO ByteBuffer-views.swift
[91/129] Compiling NIO Channel.swift
[92/129] Compiling NIO ChannelHandler.swift
[93/129] Compiling NIO ChannelHandlers.swift
[94/129] Compiling NIO ChannelInvoker.swift
[95/129] Compiling NIO ChannelOption.swift
[96/129] Compiling NIO RecvByteBufferAllocator.swift
[97/129] Compiling NIO Resolver.swift
[98/129] Compiling NIO Selectable.swift
[99/129] Compiling NIO Selector.swift
[100/129] Compiling NIO ServerSocket.swift
[101/129] Compiling NIO Socket.swift
[102/129] Compiling NIO SocketAddresses.swift
[103/129] Compiling NIO EventLoop.swift
[104/129] Compiling NIO EventLoopFuture.swift
[105/129] Compiling NIO FileDescriptor.swift
[106/129] Compiling NIO FileHandle.swift
[107/129] Compiling NIO FileRegion.swift
[108/129] Compiling NIO GetaddrinfoResolver.swift
[109/129] Compiling NIO HappyEyeballs.swift
[110/129] 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 }
^
[111/129] 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 }
^
[112/129] 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 }
^
[113/129] 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 }
^
[114/129] 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 }
^
[115/129] 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 }
^
[116/129] 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 }
^
[117/129] Compiling NIO SocketChannel.swift
[118/129] Compiling NIO SocketOptionProvider.swift
[119/129] Compiling NIO System.swift
[120/129] Compiling NIO Thread.swift
[121/129] Compiling NIO TypeAssistedChannelHandler.swift
[122/129] Compiling NIO Utilities.swift
[123/129] Compiling NIO AddressedEnvelope.swift
[124/129] Compiling NIO BaseSocket.swift
[125/129] Compiling NIO BaseSocketChannel.swift
[126/129] Compiling NIO BlockingIOThreadPool.swift
[127/129] Compiling NIO Bootstrap.swift
[128/129] Compiling NIO ByteBuffer-aux.swift
[129/129] 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 Embedded.swift
[3/14] Compiling NIO DeadChannel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/14] Compiling NIO Codec.swift
[5/14] Compiling NIO ChannelPipeline.swift
[6/14] Compiling NIO CircularBuffer.swift
[7/14] Compiling NIO CompositeError.swift
[8/14] 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 }
^
[9/14] 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 }
^
[10/42] Compiling NIO GetaddrinfoResolver.swift
[11/42] Compiling NIO HappyEyeballs.swift
[12/42] Compiling NIO Heap.swift
[13/42] Compiling NIO IO.swift
[14/43] Compiling NIO ChannelHandler.swift
[15/44] Compiling NIO ByteBuffer-int.swift
[16/44] Compiling NIO ByteBuffer-views.swift
[17/44] Compiling NIO Channel.swift
[18/44] Compiling NIO ChannelHandlers.swift
[19/44] Compiling NIO IOData.swift
[20/44] Compiling NIO IntegerTypes.swift
[21/44] Compiling NIO Interfaces.swift
[22/44] Compiling NIO LinuxCPUSet.swift
[23/44] Compiling NIO SocketOptionProvider.swift
[24/44] Compiling NIO ChannelInvoker.swift
[25/44] Compiling NIO EventLoop.swift
[26/44] Compiling NIO EventLoopFuture.swift
[27/44] Compiling NIO FileRegion.swift
[28/44] Compiling NIO PendingWritesManager.swift
[29/44] Compiling NIO PriorityQueue.swift
[30/44] Compiling NIO RecvByteBufferAllocator.swift
[31/44] Compiling NIO Selector.swift
[32/44] Compiling NIO MarkedCircularBuffer.swift
[33/44] Compiling NIO NIOAny.swift
[34/44] Compiling NIO NonBlockingFileIO.swift
[35/44] Compiling NIO PendingDatagramWritesManager.swift
[36/44] Compiling NIO SocketAddresses.swift
[37/44] Compiling NIO SocketChannel.swift
[38/44] Compiling NIO System.swift
[39/44] Compiling NIO Thread.swift
[40/44] Compiling NIO BaseSocket.swift
[41/44] Compiling NIO BaseSocketChannel.swift
[42/44] Compiling NIO BlockingIOThreadPool.swift
[43/44] Compiling NIO Bootstrap.swift
[44/44] Compiling NIO ByteBuffer-core.swift
error: fatalError
BUILD FAILURE 5.10 linux