The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIErrorMiddleware with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/skelpo/apierrormiddleware.git
Reference: master
Cloned https://github.com/skelpo/apierrormiddleware.git into spi-builder-workspace
SUCCESS checkout https://github.com/skelpo/apierrormiddleware.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/apple/swift-nio-ssl-support.git
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/crypto.git
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.22s)
[1/2786] Fetching crypto
[2787/62859] Fetching crypto, swift-nio
Fetched https://github.com/vapor/crypto.git (0.29s)
Fetching https://github.com/vapor/service.git
[1202/60073] Fetching swift-nio
[7210/60992] Fetching swift-nio, service
Fetched https://github.com/vapor/service.git (0.23s)
Fetching https://github.com/vapor/url-encoded-form.git
[9011/60073] Fetching swift-nio
[14419/60454] Fetching swift-nio, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git (0.33s)
Fetching https://github.com/vapor/vapor.git
[15019/60073] Fetching swift-nio
[21027/124625] Fetching swift-nio, vapor
Fetched https://github.com/vapor/vapor.git (2.02s)
Fetching https://github.com/vapor/websocket.git
Computing version for https://github.com/vapor/vapor.git
[1/1667] Fetching websocket
Fetched https://github.com/vapor/websocket.git (0.31s)
Fetching https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/vapor/vapor.git at 3.0.3 (0.46s)
[1/11302] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.96s)
Fetching https://github.com/vapor/multipart.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (5.42s)
Fetching https://github.com/vapor/console.git
Fetched https://github.com/apple/swift-nio.git (5.54s)
Fetching https://github.com/vapor/core.git
[1/1631] Fetching multipart
[507/6382] Fetching multipart, console
[5258/26525] Fetching multipart, console, core
Fetched https://github.com/vapor/console.git (0.48s)
Fetching https://github.com/vapor/template-kit.git
[6348/21774] Fetching multipart, core
[16622/23056] Fetching multipart, core, template-kit
Fetched https://github.com/vapor/template-kit.git (0.37s)
Fetching https://github.com/vapor/http.git
[17024/21774] Fetching multipart, core
[20650/47241] Fetching multipart, core, http
Fetched https://github.com/vapor/core.git (1.22s)
Fetching https://github.com/vapor/validation.git
[20896/27098] Fetching multipart, http
[25062/27677] Fetching multipart, http, validation
Fetched https://github.com/vapor/validation.git (0.54s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/multipart.git (1.94s)
Fetching https://github.com/vapor/routing.git
Fetched https://github.com/vapor/http.git (1.10s)
[1/1181] Fetching database-kit
[1029/21754] Fetching database-kit, routing
Fetched https://github.com/vapor/database-kit.git (0.28s)
[3704/20573] Fetching routing
Fetched https://github.com/vapor/routing.git (0.83s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.32s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.41s)
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.37s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.34s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.44s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.45s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.37s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.35s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.30s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.1.2 (0.31s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.2.1 (0.32s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.38s)
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.35s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.7.2 (0.57s)
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.37s)
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/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.2.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/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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.1
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/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-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/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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.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.7.2
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.2
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/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
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 CNIOZlib empty.c
[2/9] Compiling CNIODarwin shim.c
[3/9] Compiling CNIOSHA1 c_nio_sha1.c
[4/9] Compiling CNIOLinux shim.c
[5/9] Compiling libbcrypt blf.c
[6/9] Compiling libbcrypt bcrypt.c
[7/18] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/18] Compiling Debugging SourceLocation.swift
[10/18] Compiling NIOPriorityQueue PriorityQueue.swift
[11/18] Emitting module COperatingSystem
[12/18] Compiling COperatingSystem libc.swift
[15/20] Compiling Debugging Demangler.swift
[16/20] Emitting module Debugging
[17/20] Compiling Debugging Debuggable.swift
[19/22] Compiling c-atomics.c
[21/22] Emitting module NIOPriorityQueue
[22/22] Compiling NIOPriorityQueue Heap.swift
[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 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 {
                          ^
[45/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 {
                          ^
[46/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 {
                          ^
[47/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 {
                          ^
[48/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 {
                          ^
[49/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 {
                          ^
[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 MarkedCircularBuffer.swift
[57/81] Compiling NIO NIOAny.swift
[58/81] Compiling NIO NonBlockingFileIO.swift
[59/81] Compiling NIO PendingDatagramWritesManager.swift
[60/81] Compiling NIO PendingWritesManager.swift
[61/81] Compiling NIO PriorityQueue.swift
[62/81] Compiling NIO ByteBuffer-int.swift
[63/81] Compiling NIO Channel.swift
[64/81] Compiling NIO ChannelHandler.swift
[65/81] Compiling NIO ChannelHandlers.swift
[66/81] Compiling NIO ChannelInvoker.swift
[67/81] Compiling NIO ChannelOption.swift
[68/81] Compiling NIO ChannelPipeline.swift
[69/81] Compiling NIO CircularBuffer.swift
[70/81] Compiling NIO Codec.swift
[71/81] Compiling NIO CompositeError.swift
[72/81] Compiling NIO DeadChannel.swift
[73/81] Compiling NIO Embedded.swift
[74/81] Compiling NIO EventLoop.swift
[75/81] Compiling NIO EventLoopFuture.swift
[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
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2