This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ElasticsearchService with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.38.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/monstar-lab/elasticsearch-service.git
Reference: 0.9.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/monstar-lab/elasticsearch-service
 * tag               0.9.0      -> FETCH_HEAD
HEAD is now at fa03fd4 Added a proper README
Cloned https://github.com/monstar-lab/elasticsearch-service.git
Revision (git rev-parse @):
fa03fd447c04c83356b1b19b679941404731bcf2
SUCCESS checkout https://github.com/monstar-lab/elasticsearch-service.git at 0.9.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/monstar-lab/elasticsearch-service.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/vapor/core.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/multipart.git
[1/919] Fetching service
[920/6280] Fetching service, console
[1832/26423] Fetching service, console, core
[5038/28890] Fetching service, console, core, websocket
[11569/30660] Fetching service, console, core, websocket, multipart
Fetched https://github.com/vapor/websocket.git from cache (0.39s)
Fetched https://github.com/vapor/console.git from cache (0.39s)
Fetching https://github.com/vapor/vapor.git
[11890/22832] Fetching service, core, multipart
Fetching https://github.com/vapor/template-kit.git
[17531/88311] Fetching service, core, multipart, swift-nio
[21863/89593] Fetching service, core, multipart, swift-nio, template-kit
Fetched https://github.com/vapor/template-kit.git from cache (0.32s)
Fetching https://github.com/vapor/routing.git
[30726/88311] Fetching service, core, multipart, swift-nio
[36620/156784] Fetching service, core, multipart, swift-nio, vapor
[53229/177474] Fetching service, core, multipart, swift-nio, vapor, routing
Fetched https://github.com/vapor/core.git from cache (1.98s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[116641/157331] Fetching service, multipart, swift-nio, vapor, routing
Fetched https://github.com/vapor/multipart.git from cache (2.06s)
Fetching https://github.com/vapor/crypto.git
[128506/155561] Fetching service, swift-nio, vapor, routing
Fetched https://github.com/vapor/routing.git from cache (1.44s)
Fetching https://github.com/vapor/http.git
[114573/134871] Fetching service, swift-nio, vapor
[115229/134887] Fetching service, swift-nio, vapor, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.34s)
Fetching https://github.com/apple/swift-nio-ssl.git
[116537/134871] Fetching service, swift-nio, vapor
[116538/137657] Fetching service, swift-nio, vapor, crypto
[120720/163124] Fetching service, swift-nio, vapor, crypto, http
Fetched https://github.com/vapor/crypto.git from cache (0.66s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[143459/160338] Fetching service, swift-nio, vapor, http
[154847/172605] Fetching service, swift-nio, vapor, http, swift-nio-ssl
[163774/172620] Fetching service, swift-nio, vapor, http, swift-nio-ssl, swift-nio-zlib-support
Fetched https://github.com/vapor/vapor.git from cache (2.85s)
Computing version for https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/url-encoded-form.git
[95438/104147] Fetching service, swift-nio, http, swift-nio-ssl, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.54s)
Fetching https://github.com/vapor/validation.git
[95668/104132] Fetching service, swift-nio, http, swift-nio-ssl
[99595/104513] Fetching service, swift-nio, http, swift-nio-ssl, url-encoded-form
[103288/105092] Fetching service, swift-nio, http, swift-nio-ssl, url-encoded-form, validation
Fetched https://github.com/vapor/http.git from cache (1.52s)
Fetching https://github.com/skelpo/JSON.git
[79625/79625] Fetching service, swift-nio, swift-nio-ssl, url-encoded-form, validation
Fetched https://github.com/vapor/validation.git from cache (0.44s)
Fetching https://github.com/vapor/database-kit.git
Fetched https://github.com/vapor/url-encoded-form.git from cache (0.48s)
[1/1323] Fetching json
[134/2504] Fetching json, database-kit
Fetched https://github.com/vapor/database-kit.git from cache (0.49s)
[688/1323] Fetching json
Fetched https://github.com/skelpo/JSON.git from cache (0.69s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.49s)
Computed https://github.com/vapor/vapor.git at 3.0.3 (1.66s)
Fetched https://github.com/vapor/service.git from cache (6.14s)
Computing version for https://github.com/vapor/websocket.git
Fetched https://github.com/apple/swift-nio.git from cache (6.25s)
Computed https://github.com/vapor/websocket.git at 1.0.1 (0.49s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.0.0 (0.86s)
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.36s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.38s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.39s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.0.1 (0.36s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.6 (0.36s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.36s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.1.2 (0.36s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.1.7 (0.38s)
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.37s)
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.34s)
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.34s)
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/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/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/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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.7.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/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/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.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/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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.1.7
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
Building for debugging...
[0/39] Write sources
[27/39] Compiling CNIOZlib empty.c
[28/39] Compiling CNIOOpenSSL empty.c
[29/39] Compiling libbcrypt bcrypt.c
[29/39] Compiling CNIOLinux shim.c
[29/39] Write sources
[33/39] Compiling CNIODarwin shim.c
[34/39] Compiling libbcrypt blf.c
[35/39] Compiling CNIOSHA1 c_nio_sha1.c
[36/39] Write swift-version-24593BA9C3E375BF.txt
[37/39] Compiling CNIOHTTPParser c_nio_http_parser.c
[38/48] Compiling c-atomics.c
[40/51] Emitting module NIOConcurrencyHelpers
[41/51] Compiling NIOPriorityQueue PriorityQueue.swift
[42/51] Compiling Debugging SourceLocation.swift
[43/51] Compiling NIOConcurrencyHelpers atomics.swift
[44/51] Compiling NIOConcurrencyHelpers lock.swift
[45/52] Emitting module COperatingSystem
[46/52] Compiling COperatingSystem libc.swift
[47/53] Compiling Debugging Demangler.swift
[50/53] Compiling Debugging Debuggable.swift
[51/53] Emitting module Debugging
[52/54] Compiling NIOPriorityQueue Heap.swift
[53/54] Emitting module NIOPriorityQueue
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/101] 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 }
    ^
[57/101] 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 {
                          ^
[58/101] 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 {
                          ^
[59/101] 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 {
                          ^
[60/101] 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 {
                          ^
[61/101] 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 {
                          ^
[62/101] 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 {
                          ^
[63/107] 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 }
    ^
[64/107] 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 }
    ^
[65/107] 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 }
    ^
[66/107] 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 }
    ^
[67/107] 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 }
    ^
[68/107] 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 }
    ^
[69/107] 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 }
    ^
[70/107] Compiling NIO FileDescriptor.swift
[71/107] Compiling NIO FileHandle.swift
[72/107] Compiling NIO FileRegion.swift
[73/107] Compiling NIO GetaddrinfoResolver.swift
[74/107] Compiling NIO HappyEyeballs.swift
[75/107] Compiling NIO Heap.swift
[76/107] Compiling NIO IO.swift
[77/107] Compiling NIO IOData.swift
[78/107] Compiling NIO IntegerTypes.swift
[79/107] Compiling NIO Interfaces.swift
[80/107] Compiling NIO Linux.swift
[81/107] Compiling NIO LinuxCPUSet.swift
[82/107] Compiling NIO MarkedCircularBuffer.swift
[83/107] Compiling NIO NIOAny.swift
[84/107] Compiling NIO NonBlockingFileIO.swift
[85/107] Compiling NIO PendingDatagramWritesManager.swift
[86/107] Compiling NIO PendingWritesManager.swift
[87/107] Compiling NIO PriorityQueue.swift
[88/107] Compiling NIO ByteBuffer-int.swift
[89/107] Compiling NIO Channel.swift
[90/107] Compiling NIO ChannelHandler.swift
[91/107] Compiling NIO ChannelHandlers.swift
[92/107] Compiling NIO ChannelInvoker.swift
[93/107] Compiling NIO ChannelOption.swift
[94/107] Compiling NIO ChannelPipeline.swift
[95/107] Compiling NIO SocketAddresses.swift
[96/107] Compiling NIO SocketChannel.swift
[97/107] Compiling NIO System.swift
[98/107] Compiling NIO Thread.swift
[99/107] Compiling NIO TypeAssistedChannelHandler.swift
[100/107] Compiling NIO Utilities.swift
[101/107] Compiling NIO CircularBuffer.swift
[102/107] Compiling NIO Codec.swift
[103/107] Compiling NIO CompositeError.swift
[104/107] Compiling NIO DeadChannel.swift
[105/107] Compiling NIO Embedded.swift
[106/107] Compiling NIO EventLoop.swift
[107/107] Compiling NIO EventLoopFuture.swift
error: fatalError
BUILD FAILURE 5.10 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.