The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LevelLogger with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-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/pedantix/levellogger.git
Reference: 1.0.0
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/pedantix/levellogger
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 71a16b4 initial commit
Cloned https://github.com/pedantix/levellogger.git
Revision (git rev-parse @):
71a16b407ad64c55052a961258b540128120cb73
SUCCESS checkout https://github.com/pedantix/levellogger.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/pedantix/levellogger.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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-zlib-support.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[920/21062] Fetching service, core
[3942/21077] Fetching service, core, swift-nio-zlib-support
[5365/26355] Fetching service, core, swift-nio-zlib-support, console
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.31s)
[22513/26340] Fetching service, core, console
[26341/90779] Fetching service, core, console, swift-nio
Fetched https://github.com/vapor/service.git from cache (3.97s)
Fetched https://github.com/vapor/console.git from cache (3.97s)
Computing version for https://github.com/vapor/console.git
Fetched https://github.com/vapor/core.git from cache (3.99s)
Fetched https://github.com/apple/swift-nio.git from cache (4.05s)
Computed https://github.com/vapor/console.git at 3.0.2 (0.41s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (1.50s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.1 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.67s)
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/vapor/service.git
Working copy of https://github.com/vapor/service.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/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.8.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.4.1
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Building for debugging...
[0/18] Write sources
[13/18] Compiling CNIODarwin shim.c
[14/18] Compiling CNIOLinux shim.c
[15/18] Compiling CNIOSHA1 c_nio_sha1.c
[16/18] Write swift-version-24593BA9C3E375BF.txt
[18/27] Emitting module COperatingSystem
[18/27] Compiling c-atomics.c
[20/30] Emitting module NIOConcurrencyHelpers
[21/30] Compiling NIOPriorityQueue PriorityQueue.swift
[22/30] Compiling Debugging SourceLocation.swift
[23/30] Compiling NIOConcurrencyHelpers atomics.swift
[24/30] Compiling COperatingSystem libc.swift
[25/31] Compiling Debugging Demangler.swift
[27/31] Compiling NIOConcurrencyHelpers lock.swift
[28/32] Emitting module NIOPriorityQueue
[29/32] Compiling NIOPriorityQueue Heap.swift
[32/33] Emitting module Debugging
[33/33] Compiling Debugging Debuggable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/81] 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 }
    ^
[36/87] 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 }
    ^
[37/87] 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 }
    ^
[38/87] 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 }
    ^
[39/87] 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 }
    ^
[40/87] 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 }
    ^
[41/87] 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 }
    ^
[42/87] 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 }
    ^
[43/87] Compiling NIO MarkedCircularBuffer.swift
[44/87] Compiling NIO NIOAny.swift
[45/87] Compiling NIO NonBlockingFileIO.swift
[46/87] Compiling NIO PendingDatagramWritesManager.swift
[47/87] Compiling NIO PendingWritesManager.swift
[48/87] Compiling NIO PriorityQueue.swift
[49/87] Compiling NIO EventLoopFuture.swift
[50/87] Compiling NIO FileDescriptor.swift
[51/87] Compiling NIO FileHandle.swift
[52/87] Compiling NIO FileRegion.swift
[53/87] Compiling NIO GetaddrinfoResolver.swift
[54/87] Compiling NIO HappyEyeballs.swift
[55/87] Compiling NIO Heap.swift
[56/87] Compiling NIO SocketAddresses.swift
[57/87] Compiling NIO SocketChannel.swift
[58/87] Compiling NIO System.swift
[59/87] Compiling NIO Thread.swift
[60/87] Compiling NIO TypeAssistedChannelHandler.swift
[61/87] Compiling NIO Utilities.swift
[62/87] Compiling NIO ByteBuffer-int.swift
[63/87] Compiling NIO ByteBuffer-views.swift
[64/87] Compiling NIO Channel.swift
[65/87] Compiling NIO ChannelHandler.swift
[66/87] Compiling NIO ChannelHandlers.swift
[67/87] Compiling NIO ChannelInvoker.swift
[68/87] Compiling NIO ChannelOption.swift
[69/87] Compiling NIO ChannelPipeline.swift
[70/87] Compiling NIO CircularBuffer.swift
[71/87] Compiling NIO Codec.swift
[72/87] Compiling NIO CompositeError.swift
[73/87] Compiling NIO DeadChannel.swift
[74/87] Compiling NIO Embedded.swift
[75/87] Compiling NIO EventLoop.swift
[76/87] 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 {
                          ^
[77/87] 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 {
                          ^
[78/87] 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 {
                          ^
[79/87] 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 {
                          ^
[80/87] 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 {
                          ^
[81/87] 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 {
                          ^
[82/87] Compiling NIO IO.swift
[83/87] Compiling NIO IOData.swift
[84/87] Compiling NIO IntegerTypes.swift
[85/87] Compiling NIO Interfaces.swift
[86/87] Compiling NIO Linux.swift
[87/87] Compiling NIO LinuxCPUSet.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 ServerSocket.swift
[3/14] 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 }
    ^
[4/14] Compiling NIO RecvByteBufferAllocator.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: emit-module command failed with exit code 1 (use -v to see invocation)
[5/16] 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 }
    ^
[6/17] Compiling NIO AddressedEnvelope.swift
[7/17] Compiling NIO BaseSocket.swift
[8/21] Compiling NIO Socket.swift
[9/25] Compiling NIO EventLoop.swift
[10/29] Compiling NIO ByteBuffer-views.swift
[11/29] Compiling NIO Channel.swift
[12/29] Compiling NIO ChannelHandler.swift
[13/29] Compiling NIO ChannelHandlers.swift
[14/33] Compiling NIO SocketChannel.swift
[15/37] 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 {
                          ^
[16/37] Compiling NIO Resolver.swift
[17/37] Compiling NIO Selectable.swift
[18/37] Compiling NIO Bootstrap.swift
[19/37] Compiling NIO ByteBuffer-aux.swift
[20/37] Compiling NIO BaseSocketChannel.swift
[21/37] Compiling NIO BlockingIOThreadPool.swift
[22/48] Compiling NIO ChannelInvoker.swift
[23/48] Compiling NIO ChannelPipeline.swift
[24/48] Compiling NIO CircularBuffer.swift
[25/48] Compiling NIO Codec.swift
[26/49] Compiling NIO Thread.swift
[27/49] Compiling NIO TypeAssistedChannelHandler.swift
[28/49] Compiling NIO Utilities.swift
[29/49] Compiling NIO FileHandle.swift
[30/49] Compiling NIO GetaddrinfoResolver.swift
[31/49] Compiling NIO Heap.swift
[32/49] Compiling NIO IO.swift
[33/51] Compiling NIO CompositeError.swift
[34/51] Compiling NIO DeadChannel.swift
[35/51] Compiling NIO Embedded.swift
[36/51] Compiling NIO EventLoopFuture.swift
[37/52] Compiling NIO HappyEyeballs.swift
[38/52] Compiling NIO IOData.swift
[39/52] Compiling NIO FileRegion.swift
[40/52] Compiling NIO Interfaces.swift
[41/52] Compiling NIO Linux.swift
[42/52] Compiling NIO LinuxCPUSet.swift
[43/52] Compiling NIO MarkedCircularBuffer.swift
[44/52] Compiling NIO ByteBuffer-int.swift
[45/52] Compiling NIO IntegerTypes.swift
[46/52] Compiling NIO NIOAny.swift
[47/52] Compiling NIO NonBlockingFileIO.swift
[48/52] Compiling NIO PendingDatagramWritesManager.swift
[49/52] Compiling NIO PendingWritesManager.swift
[50/52] Compiling NIO PriorityQueue.swift
[51/52] Compiling NIO SocketAddresses.swift
[52/52] Compiling NIO System.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1