The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIErrorMiddleware with Swift 5.8 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.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skelpo/apierrormiddleware.git
Reference: 0.3.5
Cloned https://github.com/skelpo/apierrormiddleware.git into spi-builder-workspace
SUCCESS checkout https://github.com/skelpo/apierrormiddleware.git at 0.3.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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.8-latest swift build 2>&1
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/template-kit.git
[1/1282] Fetching template-kit
[1283/21901] Fetching template-kit, routing
[1284/47368] Fetching template-kit, routing, http
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/vapor/template-kit.git (0.97s)
Fetched https://github.com/vapor/routing.git (1.00s)
Fetched https://github.com/vapor/http.git (1.00s)
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.17s)
Fetching https://github.com/vapor/websocket.git
[1/2026] Fetching websocket
[650/67339] Fetching websocket, vapor
[14437/128951] Fetching websocket, vapor, swift-nio
Fetched https://github.com/vapor/websocket.git (0.51s)
Fetching https://github.com/vapor/database-kit.git
[15528/126925] Fetching vapor, swift-nio
[24956/128106] Fetching vapor, swift-nio, database-kit
Fetched https://github.com/vapor/database-kit.git (0.39s)
Fetching https://github.com/vapor/crypto.git
[61197/126925] Fetching vapor, swift-nio
[81334/129711] Fetching vapor, swift-nio, crypto
Fetched https://github.com/vapor/crypto.git (0.29s)
Fetching https://github.com/vapor/multipart.git
[83181/126925] Fetching vapor, swift-nio
[86263/128573] Fetching vapor, swift-nio, multipart
Fetched https://github.com/vapor/vapor.git (2.06s)
Computing version for https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/core.git
[35014/63260] Fetching swift-nio, multipart
[53499/83403] Fetching swift-nio, multipart, core
Computed https://github.com/vapor/vapor.git at 3.0.3 (0.49s)
Fetched https://github.com/vapor/multipart.git (1.85s)
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/vapor/core.git (1.18s)
Fetching https://github.com/vapor/console.git
[1/381] Fetching url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git (0.22s)
Fetching https://github.com/vapor/service.git
[1/4968] Fetching console
Fetched https://github.com/vapor/console.git (0.35s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/919] Fetching service
Fetched https://github.com/vapor/service.git (0.22s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.16s)
Fetching https://github.com/vapor/validation.git
[1/579] Fetching validation
Fetched https://github.com/vapor/validation.git (0.20s)
Computing version for https://github.com/vapor/websocket.git
[1/11369] Fetching swift-nio-ssl
Computed https://github.com/vapor/websocket.git at 1.0.1 (1.56s)
Fetched https://github.com/apple/swift-nio-ssl.git (1.88s)
Fetched https://github.com/apple/swift-nio.git (5.65s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.27s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.0.3 (0.26s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.27s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.29s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.27s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.26s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.27s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.27s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.1.2 (0.28s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.2.1 (0.29s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.28s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.1.1 (0.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.7.2 (0.33s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.29s)
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.28s)
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.0.3
Creating working copy for https://github.com/vapor/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.1
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.0.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
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.1.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.7.2
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.1.2
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.0.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.0.1
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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.0.3
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.0.1
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.2
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: couldn't find pc file for openssl
Building for debugging...
[0/9] Compiling CNIOOpenSSL empty.c
[1/9] Compiling CNIODarwin shim.c
[2/9] Compiling CNIOSHA1 c_nio_sha1.c
[3/9] Compiling libbcrypt bcrypt.c
[3/9] Compiling CNIOLinux shim.c
[5/9] Compiling CNIOZlib empty.c
[6/9] Compiling libbcrypt blf.c
[7/9] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/18] Compiling NIOPriorityQueue PriorityQueue.swift
[10/18] Compiling Debugging SourceLocation.swift
[11/18] Emitting module COperatingSystem
[12/18] Compiling COperatingSystem libc.swift
[14/20] Compiling Debugging Demangler.swift
[16/20] Emitting module Debugging
[17/20] Compiling Debugging Debuggable.swift
[19/22] Emitting module NIOPriorityQueue
[20/22] Compiling NIOPriorityQueue Heap.swift
[23/24] Compiling c-atomics.c
[25/27] Compiling NIOConcurrencyHelpers lock.swift
[26/27] Emitting module NIOConcurrencyHelpers
[27/27] Compiling NIOConcurrencyHelpers atomics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/75] Emitting module NIO
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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/81] Compiling NIO AddressedEnvelope.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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/81] Compiling NIO BaseSocket.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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/81] Compiling NIO BaseSocketChannel.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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/81] Compiling NIO BlockingIOThreadPool.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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 }
    ^
[35/81] Compiling NIO Bootstrap.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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/81] Compiling NIO ByteBuffer-aux.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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/81] Compiling NIO ByteBuffer-core.swift
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIO/ByteBuffer-core.swift:658: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:658: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/81] Compiling NIO FileDescriptor.swift
[39/81] Compiling NIO FileHandle.swift
[40/81] Compiling NIO FileRegion.swift
[41/81] Compiling NIO GetaddrinfoResolver.swift
[42/81] Compiling NIO HappyEyeballs.swift
[43/81] Compiling NIO Heap.swift
[44/81] Compiling NIO MarkedCircularBuffer.swift
[45/81] Compiling NIO NIOAny.swift
[46/81] Compiling NIO NonBlockingFileIO.swift
[47/81] Compiling NIO PendingDatagramWritesManager.swift
[48/81] Compiling NIO PendingWritesManager.swift
[49/81] Compiling NIO PriorityQueue.swift
[50/81] Compiling NIO IO.swift
[51/81] Compiling NIO IOData.swift
[52/81] Compiling NIO IntegerTypes.swift
[53/81] Compiling NIO Interfaces.swift
[54/81] Compiling NIO Linux.swift
[55/81] Compiling NIO LinuxCPUSet.swift
[56/81] Compiling NIO CircularBuffer.swift
[57/81] Compiling NIO Codec.swift
[58/81] Compiling NIO CompositeError.swift
[59/81] Compiling NIO DeadChannel.swift
[60/81] Compiling NIO Embedded.swift
[61/81] Compiling NIO EventLoop.swift
[62/81] Compiling NIO EventLoopFuture.swift
[63/81] Compiling NIO ByteBuffer-int.swift
[64/81] Compiling NIO Channel.swift
[65/81] Compiling NIO ChannelHandler.swift
[66/81] Compiling NIO ChannelHandlers.swift
[67/81] Compiling NIO ChannelInvoker.swift
[68/81] Compiling NIO ChannelOption.swift
[69/81] Compiling NIO ChannelPipeline.swift
[70/81] 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 {
                          ^
[71/81] 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 {
                          ^
[72/81] 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 {
                          ^
[73/81] 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 {
                          ^
[74/81] 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 {
                          ^
[75/81] 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 {
                          ^
[76/81] Compiling NIO SocketAddresses.swift
[77/81] Compiling NIO SocketChannel.swift
[78/81] Compiling NIO System.swift
[79/81] Compiling NIO Thread.swift
[80/81] Compiling NIO TypeAssistedChannelHandler.swift
[81/81] Compiling NIO Utilities.swift
BUILD FAILURE 5.8 linux

Build Machine: Linux 1