The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNIOMock with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/ilyapuchka/SwiftNIOMock.git
Reference: master
Cloned https://github.com/ilyapuchka/SwiftNIOMock.git into spi-builder-workspace
SUCCESS checkout https://github.com/ilyapuchka/SwiftNIOMock.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-4609320-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/ilyapuchka/URLFormat.git
[1/118] Fetching urlformat
Fetched https://github.com/ilyapuchka/URLFormat.git (0.42s)
Fetching https://github.com/ilyapuchka/common-parsers.git
Fetched https://github.com/ilyapuchka/common-parsers.git (0.20s)
Fetching https://github.com/pointfreeco/swift-prelude.git
[1/3286] Fetching swift-prelude
Fetched https://github.com/pointfreeco/swift-prelude.git (0.30s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio.git
[1/60073] Fetching swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git (4.35s)
Fetched https://github.com/apple/swift-nio.git (4.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.1 (0.37s)
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.27s)
Creating working copy for https://github.com/ilyapuchka/URLFormat.git
Working copy of https://github.com/ilyapuchka/URLFormat.git resolved at master
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/common-parsers.git
Working copy of https://github.com/ilyapuchka/common-parsers.git resolved at master
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
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/7] Compiling CNIOLinux ifaddrs-android.c
[1/7] Compiling CNIOZlib empty.c
[1/7] Compiling CNIODarwin shim.c
[3/7] Compiling CNIOLinux shim.c
[4/7] Compiling CNIOSHA1 c_nio_sha1.c
[5/11] Compiling CNIOHTTPParser c_nio_http_parser.c
[7/43] Emitting module Prelude
[8/47] Compiling Prelude NearSemiring.swift
[9/47] Compiling Prelude Never.swift
[10/47] Compiling Prelude Operators.swift
[11/47] Compiling Prelude Optional.swift
[12/47] Compiling Prelude Alt.swift
[13/47] Compiling Prelude Array.swift
[14/47] Compiling Prelude Collection.swift
[15/47] Compiling Prelude CommutativeRing.swift
[16/47] Compiling Prelude Comparable.swift
[17/47] Compiling Prelude Comparator.swift
[18/47] Compiling Prelude Curry.swift
[19/47] Compiling Prelude Endo.swift
[20/47] Compiling Prelude Equatable.swift
[21/47] Compiling Prelude EuclideanRing.swift
[22/47] Compiling Prelude String.swift
[23/47] Compiling Prelude Strong.swift
[24/47] Compiling Prelude Tuple.swift
[25/47] Compiling Prelude Unit.swift
[26/47] Compiling NIOPriorityQueue PriorityQueue.swift
[27/47] Compiling Prelude Semigroup.swift
[28/47] Compiling Prelude Semiring.swift
[29/47] Compiling Prelude Sequence.swift
[30/47] Compiling Prelude Set.swift
[31/47] Compiling Prelude Parallel.swift
[32/47] Compiling Prelude Plus.swift
[33/47] Compiling Prelude PrecedenceGroups.swift
[34/47] Compiling Prelude Ring.swift
[34/47] Compiling c-atomics.c
[36/50] Compiling Prelude HeytingAlgebra.swift
[37/50] Compiling Prelude Hole.swift
[38/50] Compiling Prelude IO.swift
[39/50] Compiling Prelude KeyPath.swift
[40/50] Compiling Prelude Monoid.swift
[41/50] Compiling Prelude Field.swift
[42/50] Compiling Prelude Filterable.swift
[43/50] Compiling Prelude FreeNearSemiring.swift
[44/50] Compiling Prelude Func.swift
[45/50] Compiling Prelude Function.swift
[48/52] Emitting module NIOPriorityQueue
[49/52] Compiling NIOPriorityQueue Heap.swift
[52/54] Compiling NIOConcurrencyHelpers lock.swift
[53/54] Emitting module NIOConcurrencyHelpers
[54/54] Compiling NIOConcurrencyHelpers atomics.swift
[57/63] Compiling CommonParsers Template.swift
[58/65] Emitting module CommonParsers
[59/113] Compiling CommonParsers PartialIso.swift
[60/113] Compiling CommonParsers Parser.swift
[61/113] Compiling CommonParsers Matchable.swift
[62/113] Compiling CommonParsers Parenthesize.swift
[63/113] Compiling CommonParsers Format.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/117] 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 }
    ^
[67/123] Emitting module URLFormat
[68/123] Compiling URLFormat URLFormat.swift
[71/125] Compiling NIO Heap.swift
[72/125] Compiling NIO IO.swift
[73/125] Compiling NIO IOData.swift
[74/125] Compiling NIO IntegerTypes.swift
[75/125] Compiling NIO Interfaces.swift
[76/125] Compiling NIO Linux.swift
[77/125] Compiling NIO LinuxCPUSet.swift
[78/125] Compiling NIO MarkedCircularBuffer.swift
[79/125] Compiling NIO MulticastChannel.swift
[80/125] Compiling NIO NIOAny.swift
[81/125] Compiling NIO NonBlockingFileIO.swift
[82/125] Compiling NIO PendingDatagramWritesManager.swift
[83/125] Compiling NIO PendingWritesManager.swift
[84/125] Compiling NIO PriorityQueue.swift
[85/125] Compiling NIO EventLoop.swift
[86/125] Compiling NIO EventLoopFuture.swift
[87/125] Compiling NIO FileDescriptor.swift
[88/125] Compiling NIO FileHandle.swift
[89/125] Compiling NIO FileRegion.swift
[90/125] Compiling NIO GetaddrinfoResolver.swift
[91/125] Compiling NIO HappyEyeballs.swift
[92/125] Compiling NIO SocketChannel.swift
[93/125] Compiling NIO SocketOptionProvider.swift
[94/125] Compiling NIO System.swift
[95/125] Compiling NIO Thread.swift
[96/125] Compiling NIO TypeAssistedChannelHandler.swift
[97/125] Compiling NIO Utilities.swift
[98/125] Compiling NIO ByteBuffer-int.swift
[99/125] Compiling NIO ByteBuffer-views.swift
[100/125] Compiling NIO Channel.swift
[101/125] Compiling NIO ChannelHandler.swift
[102/125] Compiling NIO ChannelHandlers.swift
[103/125] Compiling NIO ChannelInvoker.swift
[104/125] Compiling NIO ChannelOption.swift
[105/125] Compiling NIO RecvByteBufferAllocator.swift
[106/125] Compiling NIO Resolver.swift
[107/125] Compiling NIO Selectable.swift
[108/125] Compiling NIO Selector.swift
[109/125] Compiling NIO ServerSocket.swift
[110/125] Compiling NIO Socket.swift
[111/125] Compiling NIO SocketAddresses.swift
[112/125] 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 }
    ^
[113/125] 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 }
    ^
[114/125] 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 }
    ^
[115/125] 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 }
    ^
[116/125] 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 }
    ^
[117/125] 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 }
    ^
[118/125] 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 }
    ^
[119/125] Compiling NIO AddressedEnvelope.swift
[120/125] Compiling NIO BaseSocket.swift
[121/125] Compiling NIO BaseSocketChannel.swift
[122/125] Compiling NIO BlockingIOThreadPool.swift
[123/125] Compiling NIO Bootstrap.swift
[124/125] Compiling NIO ByteBuffer-aux.swift
[125/125] Compiling NIO ByteBuffer-core.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2