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-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/pedantix/levellogger.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/pedantix/levellogger
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/919] Fetching service
[920/6197] Fetching service, console
[1343/26340] Fetching service, console, core
[2528/26355] Fetching service, console, core, swift-nio-zlib-support
Fetched https://github.com/vapor/service.git from cache (0.25s)
[4022/25436] Fetching console, core, swift-nio-zlib-support
[25437/89875] Fetching console, core, swift-nio-zlib-support, swift-nio
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.83s)
Fetched https://github.com/vapor/core.git from cache (0.84s)
[5923/69717] Fetching console, swift-nio
Fetched https://github.com/vapor/console.git from cache (4.11s)
Computing version for https://github.com/vapor/console.git
Fetched https://github.com/apple/swift-nio.git from cache (4.19s)
Computed https://github.com/vapor/console.git at 3.0.2 (1.57s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.47s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.1 (0.48s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.54s)
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.43s)
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/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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.8.0
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 Debugging
[18/27] Compiling c-atomics.c
[20/30] Compiling NIOPriorityQueue PriorityQueue.swift
[21/30] Compiling Debugging SourceLocation.swift
[22/30] Compiling COperatingSystem libc.swift
[23/30] Emitting module COperatingSystem
[25/31] Emitting module NIOConcurrencyHelpers
[26/31] Compiling NIOConcurrencyHelpers atomics.swift
[27/31] Compiling NIOConcurrencyHelpers lock.swift
[29/32] Compiling Debugging Demangler.swift
[30/32] Compiling Debugging Debuggable.swift
[31/33] Emitting module NIOPriorityQueue
[32/33] Compiling NIOPriorityQueue Heap.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 ByteBuffer-int.swift
[44/87] Compiling NIO ByteBuffer-views.swift
[45/87] Compiling NIO Channel.swift
[46/87] Compiling NIO ChannelHandler.swift
[47/87] Compiling NIO ChannelHandlers.swift
[48/87] Compiling NIO ChannelInvoker.swift
[49/87] Compiling NIO ChannelOption.swift
[50/87] Compiling NIO EventLoopFuture.swift
[51/87] Compiling NIO FileDescriptor.swift
[52/87] Compiling NIO FileHandle.swift
[53/87] Compiling NIO FileRegion.swift
[54/87] Compiling NIO GetaddrinfoResolver.swift
[55/87] Compiling NIO HappyEyeballs.swift
[56/87] Compiling NIO Heap.swift
[57/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 {
                          ^
[58/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 {
                          ^
[59/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 {
                          ^
[60/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 {
                          ^
[61/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 {
                          ^
[62/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 {
                          ^
[63/87] Compiling NIO IO.swift
[64/87] Compiling NIO IOData.swift
[65/87] Compiling NIO IntegerTypes.swift
[66/87] Compiling NIO Interfaces.swift
[67/87] Compiling NIO Linux.swift
[68/87] Compiling NIO LinuxCPUSet.swift
[69/87] Compiling NIO SocketAddresses.swift
[70/87] Compiling NIO SocketChannel.swift
[71/87] Compiling NIO System.swift
[72/87] Compiling NIO Thread.swift
[73/87] Compiling NIO TypeAssistedChannelHandler.swift
[74/87] Compiling NIO Utilities.swift
[75/87] Compiling NIO MarkedCircularBuffer.swift
[76/87] Compiling NIO NIOAny.swift
[77/87] Compiling NIO NonBlockingFileIO.swift
[78/87] Compiling NIO PendingDatagramWritesManager.swift
[79/87] Compiling NIO PendingWritesManager.swift
[80/87] Compiling NIO PriorityQueue.swift
[81/87] Compiling NIO ChannelPipeline.swift
[82/87] Compiling NIO CircularBuffer.swift
[83/87] Compiling NIO Codec.swift
[84/87] Compiling NIO CompositeError.swift
[85/87] Compiling NIO DeadChannel.swift
[86/87] Compiling NIO Embedded.swift
[87/87] Compiling NIO EventLoop.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/15] Compiling NIO Resolver.swift
[4/15] Compiling NIO Selectable.swift
[5/15] 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 {
                          ^
[6/17] 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 }
    ^
[7/17] 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 }
    ^
[8/17] Compiling NIO Socket.swift
[9/19] Compiling NIO Bootstrap.swift
[10/19] Compiling NIO ByteBuffer-aux.swift
[11/20] Compiling NIO GetaddrinfoResolver.swift
[12/20] Compiling NIO Channel.swift
[13/22] Compiling NIO HappyEyeballs.swift
[14/23] Compiling NIO EventLoop.swift
[15/23] Compiling NIO SocketChannel.swift
[16/30] Compiling NIO PendingWritesManager.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/33] Compiling NIO AddressedEnvelope.swift
[18/33] Compiling NIO BaseSocket.swift
[19/33] Compiling NIO BaseSocketChannel.swift
[20/33] Compiling NIO BlockingIOThreadPool.swift
[21/33] 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 }
    ^
[22/36] Compiling NIO PendingDatagramWritesManager.swift
[23/45] Compiling NIO System.swift
[24/48] Compiling NIO NIOAny.swift
[25/48] Compiling NIO NonBlockingFileIO.swift
[26/48] Compiling NIO PriorityQueue.swift
[27/49] Compiling NIO Codec.swift
[28/49] Compiling NIO DeadChannel.swift
[29/49] Compiling NIO Embedded.swift
[30/50] Compiling NIO Interfaces.swift
[31/50] Compiling NIO LinuxCPUSet.swift
[32/50] Compiling NIO MarkedCircularBuffer.swift
[33/51] Compiling NIO IO.swift
[34/51] Compiling NIO IOData.swift
[35/51] Compiling NIO IntegerTypes.swift
[36/52] Compiling NIO CompositeError.swift
[37/52] Compiling NIO ByteBuffer-int.swift
[38/52] Compiling NIO ByteBuffer-views.swift
[39/52] Compiling NIO ChannelHandler.swift
[40/52] Compiling NIO ChannelHandlers.swift
[41/52] Compiling NIO FileHandle.swift
[42/52] Compiling NIO Utilities.swift
[43/52] Compiling NIO Linux.swift
[44/52] Compiling NIO EventLoopFuture.swift
[45/52] Compiling NIO FileRegion.swift
[46/52] Compiling NIO Heap.swift
[47/52] Compiling NIO ChannelInvoker.swift
[48/52] Compiling NIO ChannelPipeline.swift
[49/52] Compiling NIO CircularBuffer.swift
[50/52] Compiling NIO SocketAddresses.swift
[51/52] Compiling NIO Thread.swift
[52/52] Compiling NIO TypeAssistedChannelHandler.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2