The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LevelLogger with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/pedantix/levellogger.git
Reference: 1.0.0
Cloned https://github.com/pedantix/levellogger.git into spi-builder-workspace
SUCCESS checkout https://github.com/pedantix/levellogger.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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/vapor/console.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio.git
[1/4751] Fetching console
[4562/24894] Fetching console, core
Fetching https://github.com/vapor/service.git
Fetched https://github.com/vapor/console.git (0.33s)
Computing version for https://github.com/vapor/console.git
[6245/20143] Fetching core
[16116/80216] Fetching core, swift-nio
[17519/81135] Fetching core, swift-nio, service
Fetched https://github.com/vapor/service.git (0.29s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[22745/80216] Fetching core, swift-nio
Computed https://github.com/vapor/console.git at 3.0.2 (0.41s)
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.26s)
Fetched https://github.com/vapor/core.git (4.32s)
Computing version for https://github.com/vapor/service.git
Fetched https://github.com/apple/swift-nio.git (4.39s)
Computed https://github.com/vapor/service.git at 1.0.0 (0.27s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.1 (0.30s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.34s)
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.29s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.8.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
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/4] Compiling CNIODarwin shim.c
[1/4] Compiling CNIOSHA1 c_nio_sha1.c
[2/4] Compiling CNIOLinux shim.c
[4/13] Compiling NIOPriorityQueue PriorityQueue.swift
[5/13] Compiling Debugging SourceLocation.swift
[6/13] Compiling Debugging Demangler.swift
[7/13] Emitting module COperatingSystem
[8/13] Compiling COperatingSystem libc.swift
[11/15] Compiling Debugging Debuggable.swift
[12/15] Emitting module Debugging
[15/17] Compiling NIOPriorityQueue Heap.swift
[16/17] Emitting module NIOPriorityQueue
[18/19] Compiling c-atomics.c
[20/22] Compiling NIOConcurrencyHelpers lock.swift
[21/22] Emitting module NIOConcurrencyHelpers
[22/22] Compiling NIOConcurrencyHelpers atomics.swift
[25/71] Compiling NIO RecvByteBufferAllocator.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[26/71] Compiling NIO Resolver.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[27/71] Compiling NIO Selectable.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[28/71] Compiling NIO Selector.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[29/71] Compiling NIO ServerSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[30/71] Compiling NIO Socket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/Selector.swift:535:27: error: cannot convert value of type 'SelectorEventSet' to expected argument type '(any Any.Type)?'
                    guard selectorEvent != .none else {
                          ^
[31/77] Compiling NIO ByteBuffer-int.swift
[32/77] Compiling NIO ByteBuffer-views.swift
[33/77] Compiling NIO Channel.swift
[34/77] Compiling NIO ChannelHandler.swift
[35/77] Compiling NIO ChannelHandlers.swift
[36/77] Compiling NIO ChannelInvoker.swift
[37/77] Compiling NIO ChannelOption.swift
[38/77] Compiling NIO MarkedCircularBuffer.swift
[39/77] Compiling NIO NIOAny.swift
[40/77] Compiling NIO NonBlockingFileIO.swift
[41/77] Compiling NIO PendingDatagramWritesManager.swift
[42/77] Compiling NIO PendingWritesManager.swift
[43/77] Compiling NIO PriorityQueue.swift
[44/77] Compiling NIO IO.swift
[45/77] Compiling NIO IOData.swift
[46/77] Compiling NIO IntegerTypes.swift
[47/77] Compiling NIO Interfaces.swift
[48/77] Compiling NIO Linux.swift
[49/77] Compiling NIO LinuxCPUSet.swift
[50/77] Compiling NIO EventLoopFuture.swift
[51/77] Compiling NIO FileDescriptor.swift
[52/77] Compiling NIO FileHandle.swift
[53/77] Compiling NIO FileRegion.swift
[54/77] Compiling NIO GetaddrinfoResolver.swift
[55/77] Compiling NIO HappyEyeballs.swift
[56/77] Compiling NIO Heap.swift
[57/77] Compiling NIO SocketAddresses.swift
[58/77] Compiling NIO SocketChannel.swift
[59/77] Compiling NIO System.swift
[60/77] Compiling NIO Thread.swift
[61/77] Compiling NIO TypeAssistedChannelHandler.swift
[62/77] Compiling NIO Utilities.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/77] Compiling NIO ChannelPipeline.swift
[64/77] Compiling NIO CircularBuffer.swift
[65/77] Compiling NIO Codec.swift
[66/77] Compiling NIO CompositeError.swift
[67/77] Compiling NIO DeadChannel.swift
[68/77] Compiling NIO Embedded.swift
[69/77] Compiling NIO EventLoop.swift
[70/77] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[71/77] Compiling NIO AddressedEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[72/77] Compiling NIO BaseSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[73/77] Compiling NIO BaseSocketChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[74/77] Compiling NIO BlockingIOThreadPool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[75/77] Compiling NIO Bootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[76/77] Compiling NIO ByteBuffer-aux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
[77/77] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:664: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:664: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 }
    ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1