The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ElasticsearchService 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/monstar-lab/elasticsearch-service.git
Reference: 0.9.0
Cloned https://github.com/monstar-lab/elasticsearch-service.git into spi-builder-workspace
SUCCESS checkout https://github.com/monstar-lab/elasticsearch-service.git at 0.9.0
========================================
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/core.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/skelpo/JSON.git
[1/579] Fetching validation
[88/1902] Fetching validation, json
[964/22045] Fetching validation, json, core
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/validation.git (0.75s)
Fetched https://github.com/skelpo/JSON.git (0.75s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/core.git (0.76s)
Fetching https://github.com/apple/swift-nio.git
[1/25467] Fetching http
[2/26648] Fetching http, database-kit
Fetched https://github.com/vapor/database-kit.git (0.28s)
Fetching https://github.com/vapor/service.git
[7641/25467] Fetching http
[20375/26386] Fetching http, service
[20982/86459] Fetching http, service, swift-nio
Fetched https://github.com/vapor/service.git (0.26s)
Fetching https://github.com/vapor/url-encoded-form.git
[22432/85540] Fetching http, swift-nio
[33879/85921] Fetching http, swift-nio, url-encoded-form
Fetched https://github.com/vapor/url-encoded-form.git (0.33s)
Fetching https://github.com/vapor/crypto.git
[35680/85540] Fetching http, swift-nio
Fetched https://github.com/vapor/http.git (0.98s)
Fetching https://github.com/vapor/routing.git
[13217/60073] Fetching swift-nio
[13818/62859] Fetching swift-nio, crypto
[17205/83432] Fetching swift-nio, crypto, routing
Fetched https://github.com/vapor/crypto.git (0.34s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[16460/80646] Fetching swift-nio, routing
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.21s)
Fetching https://github.com/vapor/console.git
[42802/85397] Fetching swift-nio, routing, console
Fetched https://github.com/vapor/console.git (0.36s)
Fetching https://github.com/vapor/template-kit.git
[44603/80646] Fetching swift-nio, routing
Fetched https://github.com/vapor/routing.git (0.92s)
Fetching https://github.com/apple/swift-nio-ssl.git
[24631/61355] Fetching swift-nio, template-kit
Fetched https://github.com/vapor/template-kit.git (0.24s)
Fetching https://github.com/vapor/websocket.git
[27634/60073] Fetching swift-nio
[47459/61740] Fetching swift-nio, websocket
Fetched https://github.com/vapor/websocket.git (0.29s)
Fetching https://github.com/vapor/multipart.git
[56469/60073] Fetching swift-nio
[60074/61704] Fetching swift-nio, multipart
[60580/73006] Fetching swift-nio, multipart, swift-nio-ssl
Fetched https://github.com/vapor/multipart.git (2.02s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetched https://github.com/apple/swift-nio-ssl.git (2.45s)
Fetching https://github.com/vapor/vapor.git
Fetched https://github.com/apple/swift-nio-ssl-support.git (0.19s)
[1/64552] Fetching vapor
Fetched https://github.com/apple/swift-nio.git (5.75s)
Fetched https://github.com/vapor/vapor.git (1.89s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.0.3 (3.11s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.36s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.30s)
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.30s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.0.1 (0.69s)
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.31s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.30s)
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.32s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.1.7 (0.32s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.0.2 (0.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.1.0 (0.31s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.7.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.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/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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
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/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.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.1.7
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/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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.7.0
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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.1.2
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/service.git
Working copy of https://github.com/vapor/service.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
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 CNIOLinux shim.c
[4/9] Compiling CNIOZlib empty.c
[5/9] Compiling libbcrypt bcrypt.c
[6/9] Compiling libbcrypt blf.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 NIOPriorityQueue
[17/20] Compiling NIOPriorityQueue Heap.swift
[18/21] Emitting module Debugging
[19/21] 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 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