Build Information
Failed to build ElasticsearchService with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at e66d053 Added LICENSE
Cloned https://github.com/monstar-lab/elasticsearch-service.git
Revision (git rev-parse @):
e66d0538439cb9cf525e74ab2b3fdf25be7fe14f
SUCCESS checkout https://github.com/monstar-lab/elasticsearch-service.git at master
========================================
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-0":/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/service.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/crypto.git
[1/1181] Fetching database-kit
[2/1562] Fetching database-kit, url-encoded-form
[961/4348] Fetching database-kit, url-encoded-form, crypto
[2009/5267] Fetching database-kit, url-encoded-form, crypto, service
[5268/7734] Fetching database-kit, url-encoded-form, crypto, service, websocket
Fetched https://github.com/vapor/service.git from cache (0.37s)
Fetching https://github.com/skelpo/JSON.git
Fetched https://github.com/vapor/crypto.git from cache (0.38s)
Fetching https://github.com/vapor/core.git
[1/68473] Fetching vapor
[6164/69796] Fetching vapor, json
[6165/89939] Fetching vapor, json, core
Fetched https://github.com/skelpo/JSON.git from cache (0.45s)
[26909/88616] Fetching vapor, core
Fetching https://github.com/vapor/multipart.git
[35289/90386] Fetching vapor, core, multipart
Fetched https://github.com/vapor/core.git from cache (1.13s)
Fetching https://github.com/vapor/console.git
[58014/70243] Fetching vapor, multipart
[68970/75604] Fetching vapor, multipart, console
Fetched https://github.com/vapor/console.git from cache (0.59s)
Fetching https://github.com/vapor/validation.git
[68986/70822] Fetching vapor, multipart, validation
Fetched https://github.com/vapor/validation.git from cache (0.42s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/vapor/url-encoded-form.git from cache (2.58s)
Fetching https://github.com/vapor/template-kit.git
Fetched https://github.com/vapor/database-kit.git from cache (2.58s)
Fetching https://github.com/vapor/http.git
Fetched https://github.com/vapor/websocket.git from cache (2.58s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/vapor/vapor.git from cache (2.62s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
Computing version for https://github.com/vapor/vapor.git
Fetched https://github.com/vapor/multipart.git from cache (2.22s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/12267] Fetching swift-nio-ssl
[1228/13549] Fetching swift-nio-ssl, template-kit
[2103/39016] Fetching swift-nio-ssl, template-kit, http
[3775/39031] Fetching swift-nio-ssl, template-kit, http, swift-nio-zlib-support
Computed https://github.com/vapor/vapor.git at 3.0.3 (0.63s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.64s)
Fetching https://github.com/vapor/routing.git
[6180/39016] Fetching swift-nio-ssl, template-kit, http
[12641/39032] Fetching swift-nio-ssl, template-kit, http, swift-nio-ssl-support
[18496/104511] Fetching swift-nio-ssl, template-kit, http, swift-nio-ssl-support, swift-nio
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.51s)
[28570/104495] Fetching swift-nio-ssl, template-kit, http, swift-nio
[28939/125185] Fetching swift-nio-ssl, template-kit, http, swift-nio, routing
Fetched https://github.com/vapor/routing.git from cache (1.66s)
[77649/104495] Fetching swift-nio-ssl, template-kit, http, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.49s)
[66692/92228] Fetching template-kit, http, swift-nio
Fetched https://github.com/vapor/template-kit.git from cache (4.95s)
Fetched https://github.com/vapor/http.git from cache (4.96s)
Computing version for https://github.com/vapor/websocket.git
Fetched https://github.com/apple/swift-nio.git from cache (5.03s)
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.36s)
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.36s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.0.1 (0.36s)
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.37s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.0.1 (0.37s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.1.2 (0.37s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.1.7 (0.36s)
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.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.38s)
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.48s)
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.41s)
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/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/service.git
Working copy of https://github.com/vapor/service.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/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.1.7
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.0.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/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.0.1
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-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/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.0.6
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/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.0.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/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.0.3
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 CNIOSHA1 c_nio_sha1.c
[30/39] Write sources
[32/39] Compiling CNIODarwin shim.c
[33/39] Compiling CNIOLinux shim.c
[34/39] Compiling libbcrypt bcrypt.c
[35/39] Compiling libbcrypt blf.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] Compiling NIOPriorityQueue PriorityQueue.swift
[41/51] Compiling Debugging SourceLocation.swift
[42/51] Emitting module COperatingSystem
[43/51] Compiling COperatingSystem libc.swift
[44/52] Compiling Debugging Demangler.swift
[46/52] Compiling Debugging Debuggable.swift
[47/52] Emitting module Debugging
[48/53] Compiling NIOConcurrencyHelpers lock.swift
[49/53] Emitting module NIOConcurrencyHelpers
[50/53] Compiling NIOConcurrencyHelpers atomics.swift
[52/54] Compiling NIOPriorityQueue Heap.swift
[53/54] Emitting module NIOPriorityQueue
[56/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 {
^
[57/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 {
^
[58/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 {
^
[59/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 {
^
[60/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 {
^
[61/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 {
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/107] 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 }
^
[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 ByteBuffer-int.swift
[71/107] Compiling NIO Channel.swift
[72/107] Compiling NIO ChannelHandler.swift
[73/107] Compiling NIO ChannelHandlers.swift
[74/107] Compiling NIO ChannelInvoker.swift
[75/107] Compiling NIO ChannelOption.swift
[76/107] Compiling NIO ChannelPipeline.swift
[77/107] Compiling NIO SocketAddresses.swift
[78/107] Compiling NIO SocketChannel.swift
[79/107] Compiling NIO System.swift
[80/107] Compiling NIO Thread.swift
[81/107] Compiling NIO TypeAssistedChannelHandler.swift
[82/107] Compiling NIO Utilities.swift
[83/107] Compiling NIO MarkedCircularBuffer.swift
[84/107] Compiling NIO NIOAny.swift
[85/107] Compiling NIO NonBlockingFileIO.swift
[86/107] Compiling NIO PendingDatagramWritesManager.swift
[87/107] Compiling NIO PendingWritesManager.swift
[88/107] Compiling NIO PriorityQueue.swift
[89/107] Compiling NIO FileDescriptor.swift
[90/107] Compiling NIO FileHandle.swift
[91/107] Compiling NIO FileRegion.swift
[92/107] Compiling NIO GetaddrinfoResolver.swift
[93/107] Compiling NIO HappyEyeballs.swift
[94/107] Compiling NIO Heap.swift
[95/107] Compiling NIO IO.swift
[96/107] Compiling NIO IOData.swift
[97/107] Compiling NIO IntegerTypes.swift
[98/107] Compiling NIO Interfaces.swift
[99/107] Compiling NIO Linux.swift
[100/107] Compiling NIO LinuxCPUSet.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