The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ElasticsearchVapor 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/dmonagle/elasticsearch-vapor.git
Reference: 0.6.4
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/dmonagle/elasticsearch-vapor
 * tag               0.6.4      -> FETCH_HEAD
HEAD is now at e721428 Fixed issue with missing ID on bulk delete
Cloned https://github.com/dmonagle/elasticsearch-vapor.git
Revision (git rev-parse @):
e721428168d10d33c056f3c924df148de5689430
SUCCESS checkout https://github.com/dmonagle/elasticsearch-vapor.git at 0.6.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/dmonagle/elasticsearch-vapor.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/apple/swift-protobuf.git
Fetching https://github.com/SwiftyJSON/SwiftyJSON.git
Fetching https://github.com/vapor/http
Fetching https://github.com/vapor/database-kit
[1/1181] Fetching database-kit
[1182/7224] Fetching database-kit, swiftyjson
[1787/32691] Fetching database-kit, swiftyjson, http
[32692/66418] Fetching database-kit, swiftyjson, http, swift-protobuf
Fetched https://github.com/vapor/database-kit from cache (3.84s)
Fetched https://github.com/SwiftyJSON/SwiftyJSON.git from cache (3.85s)
Fetched https://github.com/vapor/http from cache (3.86s)
Fetched https://github.com/apple/swift-protobuf.git from cache (3.90s)
Computing version for https://github.com/SwiftyJSON/SwiftyJSON.git
Computed https://github.com/SwiftyJSON/SwiftyJSON.git at 4.3.0 (1.19s)
Computing version for https://github.com/vapor/database-kit
Computed https://github.com/vapor/database-kit at 1.3.3 (1.42s)
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/core.git
[1/20143] Fetching core
[3627/21062] Fetching core, service
Fetched https://github.com/vapor/service.git from cache (0.67s)
Fetched https://github.com/vapor/core.git from cache (0.69s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.80s)
Computing version for https://github.com/vapor/http
Computed https://github.com/vapor/http at 3.4.0 (0.46s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/12147] Fetching swift-nio-ssl
[12148/76617] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.90s)
Fetched https://github.com/apple/swift-nio.git from cache (3.96s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.43s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.24s)
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.36s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.39s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.23s)
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.37s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.43s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.25.2 (0.42s)
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.4.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/vapor/http
Working copy of https://github.com/vapor/http resolved at 3.4.0
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/database-kit
Working copy of https://github.com/vapor/database-kit resolved at 1.3.3
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.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.14.4
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.25.2
Creating working copy for https://github.com/SwiftyJSON/SwiftyJSON.git
Working copy of https://github.com/SwiftyJSON/SwiftyJSON.git resolved at 4.3.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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/29] Write sources
[19/29] Compiling CNIOLinux ifaddrs-android.c
[20/29] Compiling CNIOZlib empty.c
[21/29] Compiling CNIOSHA1 c_nio_sha1.c
[22/29] Compiling CNIOLinux shim.c
[23/29] Compiling CNIODarwin shim.c
[24/29] Write swift-version-24593BA9C3E375BF.txt
[25/29] Compiling CNIOHTTPParser c_nio_http_parser.c
[26/29] Compiling CNIOOpenSSL helpers.c
[27/29] Compiling CNIOOpenSSL shims.c
[28/116] Compiling c-atomics.c
[30/119] Compiling Debugging SourceLocation.swift
[31/119] Compiling NIOPriorityQueue PriorityQueue.swift
[32/119] Emitting module SwiftProtobuf
[33/129] Compiling Debugging Demangler.swift
[34/129] Emitting module COperatingSystem
[35/129] Compiling COperatingSystem libc.swift
[36/130] Compiling NIOConcurrencyHelpers atomics.swift
[37/130] Emitting module NIOConcurrencyHelpers
[38/130] Compiling NIOConcurrencyHelpers lock.swift
[40/131] Emitting module SwiftyJSON
[41/131] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
    case (.number, .number): return lhs.rawNumber < rhs.rawNumber
                                                  ^
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
                       ^
[42/131] Emitting module Debugging
[43/131] Compiling Debugging Debuggable.swift
error: fatalError
[45/132] Emitting module NIOPriorityQueue
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
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/84] Emitting module NIOConcurrencyHelpers
[4/84] Emitting module Debugging
[7/86] Emitting module NIOPriorityQueue
[8/86] Compiling NIOPriorityQueue Heap.swift
[9/87] Compiling NIOPriorityQueue PriorityQueue.swift
[10/88] Emitting module SwiftyJSON
[11/88] Compiling SwiftyJSON SwiftyJSON.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1215:51: error: ambiguous use of operator '<'
    case (.number, .number): return lhs.rawNumber < rhs.rawNumber
                                                  ^
/host/spi-builder-workspace/.build/checkouts/SwiftyJSON/Source/SwiftyJSON/SwiftyJSON.swift:1251:6: note: found this candidate
func < (lhs: NSNumber, rhs: NSNumber) -> Bool {
     ^
Foundation.NSNumber:2:24: note: found this candidate
    public static func < (lhs: NSNumber, rhs: NSNumber) -> Bool
                       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1