The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Guardian with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/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/jinxiansen/guardian.git
Reference: master
Cloned https://github.com/jinxiansen/guardian.git into spi-builder-workspace
SUCCESS checkout https://github.com/jinxiansen/guardian.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-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/service.git
[1/919] Fetching service
[920/21062] Fetching service, core
[921/25813] Fetching service, core, console
[938/24894] Fetching core, console
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/vapor/service.git (0.22s)
Fetched https://github.com/vapor/console.git (0.34s)
[11281/20143] Fetching core
Fetching https://github.com/vapor/url-encoded-form.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.21s)
Fetching https://github.com/vapor/vapor.git
[16317/20524] Fetching core, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git (0.22s)
Fetching https://github.com/vapor/websocket.git
[16719/20143] Fetching core
[20144/21810] Fetching core, websocket
[21811/86362] Fetching core, websocket, vapor
Fetched https://github.com/vapor/websocket.git (0.35s)
Fetching https://github.com/apple/swift-nio-ssl.git
[22080/84695] Fetching core, vapor
Fetched https://github.com/vapor/core.git (0.93s)
Fetching https://github.com/vapor/http.git
[3228/64552] Fetching vapor
[12912/90019] Fetching vapor, http
[90020/101321] Fetching vapor, http, swift-nio-ssl
Fetched https://github.com/vapor/http.git (1.01s)
Fetching https://github.com/apple/swift-nio.git
[65570/75854] Fetching vapor, swift-nio-ssl
[75855/135927] Fetching vapor, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/vapor.git (2.13s)
Fetching https://github.com/vapor/routing.git
Computing version for https://github.com/vapor/vapor.git
[14907/71375] Fetching swift-nio-ssl, swift-nio
[19113/91948] Fetching swift-nio-ssl, swift-nio, routing
Fetched https://github.com/apple/swift-nio-ssl.git (1.97s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[23981/80646] Fetching swift-nio, routing
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.21s)
Fetching https://github.com/vapor/crypto.git
[35593/83432] Fetching swift-nio, routing, crypto
Fetched https://github.com/vapor/crypto.git (0.32s)
Fetching https://github.com/vapor/database-kit.git
[37995/80646] Fetching swift-nio, routing
Fetched https://github.com/vapor/routing.git (0.97s)
Fetching https://github.com/vapor/multipart.git
[19224/60073] Fetching swift-nio
[21027/61254] Fetching swift-nio, database-kit
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/database-kit.git (0.31s)
[22228/60073] Fetching swift-nio
[22229/61704] Fetching swift-nio, multipart
[25137/62986] Fetching swift-nio, multipart, template-kit
Computed https://github.com/vapor/vapor.git at 3.0.4 (1.45s)
Fetched https://github.com/vapor/template-kit.git (0.51s)
Fetching https://github.com/vapor/validation.git
[38953/61704] Fetching swift-nio, multipart
[50969/62283] Fetching swift-nio, multipart, validation
Fetched https://github.com/vapor/validation.git (0.24s)
[58177/61704] Fetching swift-nio, multipart
Fetched https://github.com/vapor/multipart.git (1.77s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.42s)
Fetched https://github.com/apple/swift-nio.git (5.51s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.31s)
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.34s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.33s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.31s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.31s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.29s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.7 (0.33s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.35s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.2.0 (0.39s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.2.2 (0.35s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.32s)
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.83s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (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.30s)
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.31s)
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/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/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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.2
Creating working copy for https://github.com/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.7
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/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.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/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-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/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-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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.2.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.4
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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.2.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 CNIOOpenSSL empty.c
[2/9] Compiling libbcrypt bcrypt.c
[3/9] Compiling CNIOLinux shim.c
[4/9] Compiling CNIODarwin shim.c
[5/9] Compiling CNIOSHA1 c_nio_sha1.c
[6/9] Compiling libbcrypt blf.c
[7/18] Compiling CNIOHTTPParser c_nio_http_parser.c
[9/18] Compiling NIOPriorityQueue PriorityQueue.swift
[10/18] Emitting module COperatingSystem
[11/18] Compiling COperatingSystem libc.swift
[11/19] Compiling c-atomics.c
[14/19] Compiling Debugging SourceLocation.swift
[15/19] Compiling Debugging Demangler.swift
[17/23] Compiling Debugging Debuggable.swift
[18/23] Emitting module Debugging
[21/25] Emitting module NIOPriorityQueue
[22/25] Compiling NIOPriorityQueue Heap.swift
[25/27] Compiling NIOConcurrencyHelpers lock.swift
[26/27] Emitting module NIOConcurrencyHelpers
[27/27] Compiling NIOConcurrencyHelpers atomics.swift
[30/76] 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 {
                          ^
[31/76] 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 {
                          ^
[32/76] 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 {
                          ^
[33/76] 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 {
                          ^
[34/76] 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 {
                          ^
[35/76] 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 {
                          ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[36/82] 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 }
    ^
[37/82] 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 }
    ^
[38/82] 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 }
    ^
[39/82] 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 }
    ^
[40/82] 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 }
    ^
[41/82] 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 }
    ^
[42/82] 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 }
    ^
[43/82] 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 }
    ^
[44/82] Compiling NIO ByteBuffer-int.swift
[45/82] Compiling NIO ByteBuffer-views.swift
[46/82] Compiling NIO Channel.swift
[47/82] Compiling NIO ChannelHandler.swift
[48/82] Compiling NIO ChannelHandlers.swift
[49/82] Compiling NIO ChannelInvoker.swift
[50/82] Compiling NIO ChannelOption.swift
[51/82] Compiling NIO EventLoopFuture.swift
[52/82] Compiling NIO FileDescriptor.swift
[53/82] Compiling NIO FileHandle.swift
[54/82] Compiling NIO FileRegion.swift
[55/82] Compiling NIO GetaddrinfoResolver.swift
[56/82] Compiling NIO HappyEyeballs.swift
[57/82] Compiling NIO Heap.swift
[58/82] Compiling NIO MarkedCircularBuffer.swift
[59/82] Compiling NIO NIOAny.swift
[60/82] Compiling NIO NonBlockingFileIO.swift
[61/82] Compiling NIO PendingDatagramWritesManager.swift
[62/82] Compiling NIO PendingWritesManager.swift
[63/82] Compiling NIO PriorityQueue.swift
[64/82] Compiling NIO SocketAddresses.swift
[65/82] Compiling NIO SocketChannel.swift
[66/82] Compiling NIO System.swift
[67/82] Compiling NIO Thread.swift
[68/82] Compiling NIO TypeAssistedChannelHandler.swift
[69/82] Compiling NIO Utilities.swift
[70/82] Compiling NIO IO.swift
[71/82] Compiling NIO IOData.swift
[72/82] Compiling NIO IntegerTypes.swift
[73/82] Compiling NIO Interfaces.swift
[74/82] Compiling NIO Linux.swift
[75/82] Compiling NIO LinuxCPUSet.swift
[76/82] Compiling NIO ChannelPipeline.swift
[77/82] Compiling NIO CircularBuffer.swift
[78/82] Compiling NIO Codec.swift
[79/82] Compiling NIO CompositeError.swift
[80/82] Compiling NIO DeadChannel.swift
[81/82] Compiling NIO Embedded.swift
[82/82] Compiling NIO EventLoop.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2