The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Attabench 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/attaswift/Attabench.git
Reference: v2.0.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/attaswift/Attabench
 * tag               v2.0.0     -> FETCH_HEAD
HEAD is now at df85adb Bump version number of Attabench.app to 2.0.0.
Submodule path 'Benchmarking': checked out '125109f8aa22c54047ae7f7e6f0b98839a572373'
Submodule 'Benchmarking' (https://github.com/attaswift/Benchmarking.git) registered for path 'Benchmarking'
Cloning into '/host/spi-builder-workspace/Benchmarking'...
Cloned https://github.com/attaswift/Attabench.git
Revision (git rev-parse @):
df85adb72b1539aaf838dabefb7ceb8efd73e0dd
SUCCESS checkout https://github.com/attaswift/Attabench.git at v2.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/attaswift/Attabench.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/attaswift/OptionParser
Fetching https://github.com/attaswift/GlueKit
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/attaswift/Benchmarking
Fetching https://github.com/attaswift/SipHash
[1/82] Fetching optionparser
[3/147] Fetching optionparser, benchmarking
[148/4163] Fetching optionparser, benchmarking, gluekit
[1755/7260] Fetching optionparser, benchmarking, gluekit, bigint
[3647/7700] Fetching optionparser, benchmarking, gluekit, bigint, siphash
[4903/11049] Fetching optionparser, benchmarking, gluekit, bigint, siphash, btree
Fetched https://github.com/attaswift/SipHash from cache (0.35s)
[7350/10609] Fetching optionparser, benchmarking, gluekit, bigint, btree
Fetched https://github.com/attaswift/OptionParser from cache (0.50s)
Fetched https://github.com/attaswift/BigInt from cache (0.50s)
Fetched https://github.com/attaswift/Benchmarking from cache (0.52s)
Fetched https://github.com/attaswift/GlueKit from cache (0.53s)
Computing version for https://github.com/attaswift/OptionParser
Fetched https://github.com/attaswift/BTree from cache (0.53s)
Computed https://github.com/attaswift/OptionParser at 1.0.0 (0.42s)
Computing version for https://github.com/attaswift/GlueKit
Computed https://github.com/attaswift/GlueKit at 0.2.0 (0.42s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.0 (0.60s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 3.0.0 (0.63s)
Computing version for https://github.com/attaswift/Benchmarking
Computed https://github.com/attaswift/Benchmarking at 1.0.0 (0.68s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (0.68s)
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/Benchmarking
Working copy of https://github.com/attaswift/Benchmarking resolved at 1.0.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/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.0
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/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...
[0/34] Write sources
[11/34] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/65] 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 {
           ~~~~~~~~      ^
[14/67] Compiling SipHash Primitive Types.swift
[15/67] 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())
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[16/67] Compiling SipHash SipHashable.swift
[17/67] Emitting module SipHash
[18/67] Compiling BTree Map.swift
[19/67] Compiling BTree SortedBag.swift
[20/67] Compiling BTree BTreeIndex.swift
[21/67] Compiling BTree BTreeIterator.swift
[22/67] Compiling BTree BTreeComparisons.swift
[23/67] Compiling BTree BTreeCursor.swift
[24/67] Compiling OptionParser Argument.swift
[25/67] Compiling OptionParser Command.swift
[26/67] Compiling SipHash SipHasher.swift
[27/67] Compiling BTree Compatibility.swift
[28/67] Compiling BTree List.swift
error: fatalError
[29/67] Emitting module OptionParser
[30/67] Emitting module BenchmarkIPC
warning: 'bigint': ignoring duplicate product 'BigInt' (static library)
warning: 'spi-builder-workspace': dependency 'siphash' is not used by any target
[0/1] Planning build
Building for debugging...
[0/23] Write swift-version-24593BA9C3E375BF.txt
[2/43] Emitting module SipHash
[3/43] 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())
                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1