The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JRPCSwiftNio with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-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/voynovia/jrpcswiftnio.git
Reference: 0.0.4
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/voynovia/jrpcswiftnio
 * tag               0.0.4      -> FETCH_HEAD
HEAD is now at 1e294ed error and update nio
Cloned https://github.com/voynovia/jrpcswiftnio.git
Revision (git rev-parse @):
1e294edd750696a78000f5b53a498fc9e548c04d
SUCCESS checkout https://github.com/voynovia/jrpcswiftnio.git at 0.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/voynovia/jrpcswiftnio.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-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
[16/64454] Fetching swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.60s)
Fetched https://github.com/apple/swift-nio.git from cache (4.68s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.4.2 (0.51s)
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.41s)
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.4.2
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/12] Write sources
[5/12] Compiling CNIODarwin shim.c
[6/12] Compiling CNIOLinux shim.c
[7/12] Compiling CNIOSHA1 c_nio_sha1.c
[8/12] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/12] Compiling CNIOZlib empty.c
[10/12] Write swift-version-24593BA9C3E375BF.txt
[11/15] Compiling c-atomics.c
[13/18] Compiling NIOConcurrencyHelpers atomics.swift
[14/18] Compiling NIOConcurrencyHelpers lock.swift
[15/18] Emitting module NIOConcurrencyHelpers
[17/19] Compiling NIOPriorityQueue Heap.swift
[18/19] Compiling NIOPriorityQueue PriorityQueue.swift
[19/19] Emitting module NIOPriorityQueue
[21/65] Compiling NIO Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[22/65] Compiling NIO IO.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[23/65] Compiling NIO IOData.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[24/65] Compiling NIO Interfaces.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[25/65] Compiling NIO Linux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[26/65] Compiling NIO LinuxCPUSet.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[27/71] Compiling NIO AddressedEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/71] Compiling NIO BaseSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/71] Compiling NIO BaseSocketChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/71] Compiling NIO BlockingIOThreadPool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/71] Compiling NIO Bootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/71] Compiling NIO ByteBuffer-aux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/71] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/71] Compiling NIO MarkedCircularBuffer.swift
[35/71] Compiling NIO NIOAny.swift
[36/71] Compiling NIO NonBlockingFileIO.swift
[37/71] Compiling NIO PendingDatagramWritesManager.swift
[38/71] Compiling NIO PendingWritesManager.swift
[39/71] Compiling NIO PriorityQueue.swift
[40/71] Compiling NIO EventLoopFuture.swift
[41/71] Compiling NIO FileDescriptor.swift
[42/71] Compiling NIO FileHandle.swift
[43/71] Compiling NIO FileRegion.swift
[44/71] Compiling NIO GetaddrinfoResolver.swift
[45/71] Compiling NIO HappyEyeballs.swift
[46/71] Compiling NIO RecvByteBufferAllocator.swift
[47/71] Compiling NIO Resolver.swift
[48/71] Compiling NIO Selectable.swift
[49/71] Compiling NIO Selector.swift
[50/71] Compiling NIO ServerSocket.swift
[51/71] Compiling NIO Socket.swift
[52/71] Compiling NIO CircularBuffer.swift
[53/71] Compiling NIO Codec.swift
[54/71] Compiling NIO CompositeError.swift
[55/71] Compiling NIO DeadChannel.swift
[56/71] Compiling NIO Embedded.swift
[57/71] Compiling NIO EventLoop.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/71] Compiling NIO ByteBuffer-int.swift
[59/71] Compiling NIO Channel.swift
[60/71] Compiling NIO ChannelHandler.swift
[61/71] Compiling NIO ChannelHandlers.swift
[62/71] Compiling NIO ChannelInvoker.swift
[63/71] Compiling NIO ChannelOption.swift
[64/71] Compiling NIO ChannelPipeline.swift
[65/71] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[66/71] Compiling NIO SocketAddresses.swift
[67/71] Compiling NIO SocketChannel.swift
[68/71] Compiling NIO System.swift
[69/71] Compiling NIO Thread.swift
[70/71] Compiling NIO TypeAssistedChannelHandler.swift
[71/71] Compiling NIO Utilities.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 Interfaces.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/15] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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 }
    ^
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[4/19] Compiling NIO IO.swift
[5/19] Compiling NIO IOData.swift
[6/19] Compiling NIO Linux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Linux.swift:76:32: error: module 'CNIOLinux' has no member named 'ENOENT'
    public static let ENOENT = CNIOLinux.ENOENT
                               ^~~~~~~~~ ~~~~~~
[7/19] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/19] Compiling NIO Heap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:582: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:582: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/29] Compiling NIO LinuxCPUSet.swift
[10/32] Compiling NIO AddressedEnvelope.swift
[11/32] Compiling NIO BaseSocket.swift
[12/32] Compiling NIO BaseSocketChannel.swift
[13/32] Compiling NIO BlockingIOThreadPool.swift
[14/32] Compiling NIO Bootstrap.swift
[15/32] Compiling NIO ByteBuffer-aux.swift
[16/41] Compiling NIO GetaddrinfoResolver.swift
[17/41] Compiling NIO HappyEyeballs.swift
[18/41] Compiling NIO MarkedCircularBuffer.swift
[19/42] Compiling NIO ByteBuffer-int.swift
[20/42] Compiling NIO Channel.swift
[21/42] Compiling NIO ChannelHandlers.swift
[22/42] Compiling NIO ChannelInvoker.swift
[23/42] Compiling NIO NIOAny.swift
[24/42] Compiling NIO NonBlockingFileIO.swift
[25/42] Compiling NIO PendingDatagramWritesManager.swift
[26/44] Compiling NIO ChannelHandler.swift
[27/45] Compiling NIO FileHandle.swift
[28/46] Compiling NIO DeadChannel.swift
[29/47] Compiling NIO TypeAssistedChannelHandler.swift
[30/48] Compiling NIO ChannelPipeline.swift
[31/48] Compiling NIO CircularBuffer.swift
[32/48] Compiling NIO Codec.swift
[33/48] Compiling NIO Embedded.swift
[34/48] Compiling NIO EventLoop.swift
[35/48] Compiling NIO EventLoopFuture.swift
[36/48] Compiling NIO FileRegion.swift
[37/48] Compiling NIO Socket.swift
[38/48] Compiling NIO PendingWritesManager.swift
[39/48] Compiling NIO PriorityQueue.swift
[40/48] Compiling NIO RecvByteBufferAllocator.swift
[41/48] Compiling NIO ServerSocket.swift
[42/48] Compiling NIO CompositeError.swift
[43/48] Compiling NIO System.swift
[44/48] Compiling NIO Thread.swift
[45/48] Compiling NIO Utilities.swift
[46/48] Compiling NIO Selector.swift
[47/48] Compiling NIO SocketAddresses.swift
[48/48] Compiling NIO SocketChannel.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2