The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIErrorMiddleware with Swift 5.7 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.7-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.7
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.7-latest swift build 2>&1
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/vapor/multipart.git
[1/381] Fetching url-encoded-form
[382/2029] Fetching url-encoded-form, multipart
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.21s)
Fetching https://github.com/vapor/routing.git
[893/22648] Fetching url-encoded-form, multipart, routing
Fetched https://github.com/vapor/routing.git (1.14s)
Fetching https://github.com/vapor/database-kit.git
[909/2029] Fetching url-encoded-form, multipart
[2030/3210] Fetching url-encoded-form, multipart, database-kit
Fetched https://github.com/vapor/url-encoded-form.git (1.92s)
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/database-kit.git (0.60s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetched https://github.com/vapor/multipart.git (1.99s)
Fetching https://github.com/apple/swift-nio.git
[1/1282] Fetching template-kit
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.23s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/template-kit.git (0.46s)
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
Fetched https://github.com/vapor/service.git (0.25s)
Fetching https://github.com/vapor/vapor.git
[1/61612] Fetching swift-nio
[10476/126925] Fetching swift-nio, vapor
[13015/138294] Fetching swift-nio, vapor, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (3.11s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/vapor.git (3.01s)
Fetching https://github.com/vapor/console.git
Computing version for https://github.com/vapor/vapor.git
[1/25467] Fetching http
[256/30435] Fetching http, console
Fetched https://github.com/vapor/console.git (0.83s)
Fetching https://github.com/vapor/crypto.git
[20629/25467] Fetching http
[20630/28253] Fetching http, crypto
Fetching https://github.com/vapor/core.git
Fetched https://github.com/vapor/crypto.git (0.32s)
[1/20143] Fetching core
Fetched https://github.com/vapor/http.git (1.92s)
Fetching https://github.com/vapor/websocket.git
Computed https://github.com/vapor/vapor.git at 3.0.3 (1.61s)
[20144/22169] Fetching core, websocket
Fetched https://github.com/vapor/websocket.git (0.33s)
Fetching https://github.com/vapor/validation.git
[1/579] Fetching validation
Fetched https://github.com/vapor/validation.git (0.80s)
Fetched https://github.com/vapor/core.git (1.58s)
Computing version for https://github.com/vapor/websocket.git
Fetched https://github.com/apple/swift-nio.git (6.40s)
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.29s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.28s)
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.28s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.28s)
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.28s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.31s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.29s)
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.30s)
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.29s)
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.29s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.7.2 (0.39s)
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.35s)
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.33s)
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/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/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/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.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/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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.7.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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.0.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/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/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.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/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 CNIOZlib empty.c
[1/9] Compiling libbcrypt blf.c
[2/9] Compiling CNIOOpenSSL empty.c
[3/9] Compiling CNIODarwin shim.c
[4/9] Compiling CNIOSHA1 c_nio_sha1.c
[5/9] Compiling CNIOLinux shim.c
[6/9] Compiling libbcrypt bcrypt.c
[7/9] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/18] Emitting module NIOPriorityQueue
[10/18] Compiling Debugging SourceLocation.swift
[11/18] Emitting module COperatingSystem
[12/18] Compiling COperatingSystem libc.swift
[15/20] Compiling NIOPriorityQueue PriorityQueue.swift
[16/20] Compiling NIOPriorityQueue Heap.swift
[19/22] Compiling Debugging Demangler.swift
[20/22] Emitting module Debugging
[21/22] Compiling Debugging Debuggable.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 IO.swift
[39/81] Compiling NIO IOData.swift
[40/81] Compiling NIO IntegerTypes.swift
[41/81] Compiling NIO Interfaces.swift
[42/81] Compiling NIO Linux.swift
[43/81] Compiling NIO LinuxCPUSet.swift
[44/81] Compiling NIO FileDescriptor.swift
[45/81] Compiling NIO FileHandle.swift
[46/81] Compiling NIO FileRegion.swift
[47/81] Compiling NIO GetaddrinfoResolver.swift
[48/81] Compiling NIO HappyEyeballs.swift
[49/81] Compiling NIO Heap.swift
[50/81] Compiling NIO MarkedCircularBuffer.swift
[51/81] Compiling NIO NIOAny.swift
[52/81] Compiling NIO NonBlockingFileIO.swift
[53/81] Compiling NIO PendingDatagramWritesManager.swift
[54/81] Compiling NIO PendingWritesManager.swift
[55/81] Compiling NIO PriorityQueue.swift
[56/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 {
                          ^
[57/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 {
                          ^
[58/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 {
                          ^
[59/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 {
                          ^
[60/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 {
                          ^
[61/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 {
                          ^
[62/81] Compiling NIO SocketAddresses.swift
[63/81] Compiling NIO SocketChannel.swift
[64/81] Compiling NIO System.swift
[65/81] Compiling NIO Thread.swift
[66/81] Compiling NIO TypeAssistedChannelHandler.swift
[67/81] Compiling NIO Utilities.swift
[68/81] Compiling NIO ByteBuffer-int.swift
[69/81] Compiling NIO Channel.swift
[70/81] Compiling NIO ChannelHandler.swift
[71/81] Compiling NIO ChannelHandlers.swift
[72/81] Compiling NIO ChannelInvoker.swift
[73/81] Compiling NIO ChannelOption.swift
[74/81] Compiling NIO ChannelPipeline.swift
[75/81] Compiling NIO CircularBuffer.swift
[76/81] Compiling NIO Codec.swift
[77/81] Compiling NIO CompositeError.swift
[78/81] Compiling NIO DeadChannel.swift
[79/81] Compiling NIO Embedded.swift
[80/81] Compiling NIO EventLoop.swift
[81/81] Compiling NIO EventLoopFuture.swift
BUILD FAILURE 5.7 linux

Build Machine: Linux 2