The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Attabench with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-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/attaswift/Attabench.git
Reference: v2.0.0
Cloned https://github.com/attaswift/Attabench.git into spi-builder-workspace
SUCCESS checkout https://github.com/attaswift/Attabench.git at v2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-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/attaswift/SipHash
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/attaswift/Benchmarking
[1/3349] Fetching btree
[537/3789] Fetching btree, siphash
Fetching https://github.com/attaswift/OptionParser
[3249/3349] Fetching btree
Fetched https://github.com/attaswift/SipHash (0.25s)
Fetched https://github.com/attaswift/Benchmarking (0.25s)
Fetching https://github.com/attaswift/GlueKit
Fetched https://github.com/attaswift/BTree (0.36s)
Fetching https://github.com/attaswift/BigInt
[1/4016] Fetching gluekit
Fetched https://github.com/attaswift/OptionParser (0.25s)
[1/3085] Fetching bigint
Fetched https://github.com/attaswift/GlueKit (0.35s)
Fetched https://github.com/attaswift/BigInt (0.34s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (0.26s)
Computing version for https://github.com/attaswift/GlueKit
Computed https://github.com/attaswift/GlueKit at 0.2.0 (0.26s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.0 (0.26s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 3.0.0 (0.25s)
Computing version for https://github.com/attaswift/Benchmarking
Computed https://github.com/attaswift/Benchmarking at 1.0.0 (0.28s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (0.27s)
Creating working copy for https://github.com/attaswift/GlueKit
Working copy of https://github.com/attaswift/GlueKit resolved at 0.2.0
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.0
Creating working copy for https://github.com/attaswift/Benchmarking
Working copy of https://github.com/attaswift/Benchmarking resolved at 1.0.0
Creating working copy for https://github.com/attaswift/BTree
Working copy of https://github.com/attaswift/BTree resolved at 4.1.0
Creating working copy for https://github.com/attaswift/OptionParser
Working copy of https://github.com/attaswift/OptionParser resolved at 1.0.0
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 3.0.0
warning: 'bigint': ignoring duplicate product 'BigInt' (static library)
warning: 'spi-builder-workspace': dependency 'siphash' is not used by any target
Building for debugging...
[1/47] Compiling BTree BTree.swift
[2/47] Compiling BTree BTreeBuilder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/47] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                             ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:26: error: method does not override any method from its superclass
    public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
           ~~~~~~~~      ^
[4/49] Emitting module SipHash
[5/49] Compiling SipHash Primitive Types.swift
[6/49] Compiling SipHash RandomUInt64.swift
/host/spi-builder-workspace/.build/checkouts/SipHash/SipHash/RandomUInt64.swift:19:23: error: cannot find '_swift_stdlib_cxx11_mt19937' in scope
        return UInt64(_swift_stdlib_cxx11_mt19937()) << 32 | UInt64(_swift_stdlib_cxx11_mt19937())
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/SipHash/SipHash/RandomUInt64.swift:19:69: error: cannot find '_swift_stdlib_cxx11_mt19937' in scope
        return UInt64(_swift_stdlib_cxx11_mt19937()) << 32 | UInt64(_swift_stdlib_cxx11_mt19937())
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[7/49] Compiling SipHash SipHashable.swift
[8/49] Compiling SipHash SipHasher.swift
error: fatalError
[9/49] Compiling OptionParser OptionParser.swift
[10/49] Emitting module BenchmarkIPC
BUILD FAILURE 5.9 linux

Build Machine: Linux 1