Build Information
Failed to build Elasticsearch 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 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ryangrimm/vaporelasticsearch.git
Reference: 0.1.1
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/ryangrimm/vaporelasticsearch
* tag 0.1.1 -> FETCH_HEAD
HEAD is now at a1b0ee8 Remove all spaces from folders as they cause issues on most linux systems
Cloned https://github.com/ryangrimm/vaporelasticsearch.git
Revision (git rev-parse @):
a1b0ee8261207133a3a34ef180b2406383552df8
SUCCESS checkout https://github.com/ryangrimm/vaporelasticsearch.git at 0.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/ryangrimm/vaporelasticsearch.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 2>&1
Fetching https://github.com/vapor/http.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/vapor/database-kit.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/919] Fetching service
[920/26386] Fetching service, http
[1175/27567] Fetching service, http, database-kit
[4394/27583] Fetching service, http, database-kit, swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.28s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[12033/27567] Fetching service, http, database-kit
[22475/39714] Fetching service, http, database-kit, swift-nio-ssl
[24674/39729] Fetching service, http, database-kit, swift-nio-ssl, swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.21s)
Fetching https://github.com/vapor/core.git
[26565/39714] Fetching service, http, database-kit, swift-nio-ssl
[32427/59857] Fetching service, http, database-kit, swift-nio-ssl, core
[51182/124296] Fetching service, http, database-kit, swift-nio-ssl, core, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.39s)
Fetching https://github.com/vapor/crypto.git
[64465/112149] Fetching service, http, database-kit, core, swift-nio
Fetched https://github.com/vapor/core.git from cache (0.94s)
[44966/92006] Fetching service, http, database-kit, swift-nio
[46900/94792] Fetching service, http, database-kit, swift-nio, crypto
Fetched https://github.com/vapor/crypto.git from cache (0.26s)
[48832/92006] Fetching service, http, database-kit, swift-nio
Fetched https://github.com/vapor/database-kit.git from cache (5.15s)
Fetched https://github.com/vapor/service.git from cache (5.16s)
Fetched https://github.com/vapor/http.git from cache (5.18s)
Fetched https://github.com/apple/swift-nio.git from cache (5.26s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.0.7 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.8.0 (0.76s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.0 (0.63s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.2.0 (0.41s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.4.1 (0.45s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.2.0 (0.40s)
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.37s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.0 (0.41s)
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.40s)
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.4.1
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/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.2.0
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/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.2.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/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.8.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
Building for debugging...
[0/28] Write sources
[16/28] Compiling CNIOZlib empty.c
[17/28] Compiling CNIOOpenSSL empty.c
[18/28] Compiling CNIOLinux shim.c
[18/28] Write sources
[21/28] Compiling CNIODarwin shim.c
[22/28] Compiling CNIOSHA1 c_nio_sha1.c
[23/28] Compiling libbcrypt blf.c
[24/28] Compiling CNIOHTTPParser c_nio_http_parser.c
[25/28] Compiling libbcrypt bcrypt.c
[26/28] Write swift-version-24593BA9C3E375BF.txt
[27/37] Compiling c-atomics.c
[29/40] Compiling NIOPriorityQueue PriorityQueue.swift
[30/40] Compiling Debugging SourceLocation.swift
[31/40] Emitting module NIOConcurrencyHelpers
[32/40] Emitting module COperatingSystem
[33/40] Compiling COperatingSystem libc.swift
[35/41] Compiling NIOConcurrencyHelpers atomics.swift
[36/41] Compiling NIOConcurrencyHelpers lock.swift
[37/42] Compiling Debugging Demangler.swift
[38/42] Emitting module Debugging
[39/42] Compiling Debugging Debuggable.swift
[40/43] Emitting module NIOPriorityQueue
[41/43] Compiling NIOPriorityQueue Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/91] 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 }
^
[46/97] 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 }
^
[47/97] 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 }
^
[48/97] 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 }
^
[49/97] 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 }
^
[50/97] 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 }
^
[51/97] 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 }
^
[52/97] 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 }
^
[53/97] Compiling NIO ByteBuffer-int.swift
[54/97] Compiling NIO ByteBuffer-views.swift
[55/97] Compiling NIO Channel.swift
[56/97] Compiling NIO ChannelHandler.swift
[57/97] Compiling NIO ChannelHandlers.swift
[58/97] Compiling NIO ChannelInvoker.swift
[59/97] Compiling NIO ChannelOption.swift
[60/97] 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 {
^
[61/97] 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 {
^
[62/97] 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 {
^
[63/97] 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 {
^
[64/97] 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 {
^
[65/97] 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 {
^
[66/97] Compiling NIO EventLoopFuture.swift
[67/97] Compiling NIO FileDescriptor.swift
[68/97] Compiling NIO FileHandle.swift
[69/97] Compiling NIO FileRegion.swift
[70/97] Compiling NIO GetaddrinfoResolver.swift
[71/97] Compiling NIO HappyEyeballs.swift
[72/97] Compiling NIO Heap.swift
[73/97] Compiling NIO MarkedCircularBuffer.swift
[74/97] Compiling NIO NIOAny.swift
[75/97] Compiling NIO NonBlockingFileIO.swift
[76/97] Compiling NIO PendingDatagramWritesManager.swift
[77/97] Compiling NIO PendingWritesManager.swift
[78/97] Compiling NIO PriorityQueue.swift
[79/97] Compiling NIO SocketAddresses.swift
[80/97] Compiling NIO SocketChannel.swift
[81/97] Compiling NIO System.swift
[82/97] Compiling NIO Thread.swift
[83/97] Compiling NIO TypeAssistedChannelHandler.swift
[84/97] Compiling NIO Utilities.swift
[85/97] Compiling NIO IO.swift
[86/97] Compiling NIO IOData.swift
[87/97] Compiling NIO IntegerTypes.swift
[88/97] Compiling NIO Interfaces.swift
[89/97] Compiling NIO Linux.swift
[90/97] Compiling NIO LinuxCPUSet.swift
[91/97] Compiling NIO ChannelPipeline.swift
[92/97] Compiling NIO CircularBuffer.swift
[93/97] Compiling NIO Codec.swift
[94/97] Compiling NIO CompositeError.swift
[95/97] Compiling NIO DeadChannel.swift
[96/97] Compiling NIO Embedded.swift
[97/97] Compiling NIO EventLoop.swift
error: fatalError
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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling NIO Resolver.swift
[3/14] Compiling NIO Selectable.swift
[4/15] Compiling NIO ServerSocket.swift
[5/16] 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 {
^
[6/17] Compiling NIO Channel.swift
[7/18] 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 }
^
[8/18] Compiling NIO RecvByteBufferAllocator.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 }
^
[9/19] Compiling NIO Socket.swift
[10/20] Compiling NIO GetaddrinfoResolver.swift
[11/21] Compiling NIO HappyEyeballs.swift
[12/22] Compiling NIO PendingDatagramWritesManager.swift
[13/23] Compiling NIO PendingWritesManager.swift
[14/23] Compiling NIO EventLoop.swift
[15/23] Compiling NIO System.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/23] Compiling NIO Bootstrap.swift
[17/23] Compiling NIO ByteBuffer-aux.swift
[18/23] Compiling NIO AddressedEnvelope.swift
[19/23] Compiling NIO BaseSocket.swift
[20/23] Compiling NIO BaseSocketChannel.swift
[21/23] Compiling NIO BlockingIOThreadPool.swift
[22/23] 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 }
^
[23/45] Compiling NIO SocketChannel.swift
[24/48] Compiling NIO Codec.swift
[25/48] Compiling NIO DeadChannel.swift
[26/48] Compiling NIO Embedded.swift
[27/48] Compiling NIO Interfaces.swift
[28/48] Compiling NIO LinuxCPUSet.swift
[29/48] Compiling NIO MarkedCircularBuffer.swift
[30/50] Compiling NIO IO.swift
[31/50] Compiling NIO IOData.swift
[32/50] Compiling NIO IntegerTypes.swift
[33/51] Compiling NIO EventLoopFuture.swift
[34/51] Compiling NIO FileRegion.swift
[35/51] Compiling NIO Heap.swift
[36/52] Compiling NIO FileHandle.swift
[37/52] Compiling NIO CompositeError.swift
[38/52] Compiling NIO ByteBuffer-int.swift
[39/52] Compiling NIO ByteBuffer-views.swift
[40/52] Compiling NIO ChannelHandler.swift
[41/52] Compiling NIO ChannelHandlers.swift
[42/52] Compiling NIO Utilities.swift
[43/52] Compiling NIO SocketAddresses.swift
[44/52] Compiling NIO Thread.swift
[45/52] Compiling NIO TypeAssistedChannelHandler.swift
[46/52] Compiling NIO Linux.swift
[47/52] Compiling NIO NIOAny.swift
[48/52] Compiling NIO NonBlockingFileIO.swift
[49/52] Compiling NIO PriorityQueue.swift
[50/52] Compiling NIO ChannelInvoker.swift
[51/52] Compiling NIO ChannelPipeline.swift
[52/52] Compiling NIO CircularBuffer.swift
error: fatalError
BUILD FAILURE 5.10 linux