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-0":/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: master
Cloned https://github.com/attaswift/Attabench.git into spi-builder-workspace
SUCCESS checkout https://github.com/attaswift/Attabench.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/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/Benchmarking
Fetched https://github.com/attaswift/Benchmarking (0.17s)
Fetching https://github.com/attaswift/SipHash
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/attaswift/BTree
[1/440] Fetching siphash
[142/3525] Fetching siphash, bigint
[873/6874] Fetching siphash, bigint, btree
Fetched https://github.com/attaswift/SipHash (0.41s)
Fetching https://github.com/attaswift/OptionParser
Fetched https://github.com/attaswift/BTree (0.41s)
Fetching https://github.com/attaswift/GlueKit
Fetched https://github.com/attaswift/BigInt (0.41s)
[1/4016] Fetching gluekit
Fetched https://github.com/attaswift/OptionParser (0.23s)
Fetched https://github.com/attaswift/GlueKit (0.35s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (0.32s)
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.2 (0.34s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 3.1.0 (0.28s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (0.25s)
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
Creating working copy for https://github.com/attaswift/BigInt
Working copy of https://github.com/attaswift/BigInt resolved at 3.1.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/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/Benchmarking
Working copy of https://github.com/attaswift/Benchmarking resolved at master
warning: 'spi-builder-workspace': dependency 'siphash' is not used by any target
Building for debugging...
[1/46] Emitting module BenchmarkIPC
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/46] Compiling BTree BTree.swift
[3/46] Compiling BTree BTreeBuilder.swift
[4/46] 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 {
           ~~~~~~~~      ^
[5/48] Compiling BTree BTreeMerger.swift
[6/48] Compiling BTree BTreeNode.swift
[7/48] Compiling BTree BTreeIndex.swift
[8/48] Compiling BTree BTreeIterator.swift
[9/48] Compiling BTree BTreeComparisons.swift
[10/48] Compiling BTree BTreeCursor.swift
[11/48] Compiling SipHash SipHashable.swift
[12/48] Compiling BTree Compatibility.swift
[13/48] Compiling BTree List.swift
[14/48] Compiling BTree Map.swift
[15/48] Compiling BTree SortedBag.swift
[16/48] Compiling SipHash SipHasher.swift
[17/48] Compiling BTree SortedSet.swift
[18/48] Compiling BTree Weak.swift
[19/48] Compiling BTree BTreePath.swift
/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 {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: note: explicitly specify the generic arguments to fix this issue
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
                                                                                               <Any>
[20/48] Compiling BTree BridgedList.swift
/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 {
           ~~~~~~~~      ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: note: explicitly specify the generic arguments to fix this issue
                s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
                                                                           ^
                                                                                               <Any>
[21/48] Compiling SipHash Primitive Types.swift
[22/48] Compiling SipHash RandomUInt64.swift
[23/48] Emitting module SipHash
[26/50] Compiling OptionParser ParseContext.swift
[27/51] Emitting module OptionParser
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1