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-1":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7fc2205 Update README.md
Submodule path 'Benchmarking': checked out '5fb2680a1a3d6197f5dbba29d9d57c2c1c56799e'
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 @):
7fc2205c990ac512d53d076a479bbb318b03995b
SUCCESS checkout https://github.com/attaswift/Attabench.git at master
========================================
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-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/attaswift/Benchmarking
[1/65] Fetching benchmarking
Fetched https://github.com/attaswift/Benchmarking from cache (0.22s)
Fetching https://github.com/attaswift/OptionParser
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/attaswift/BTree
Fetching https://github.com/attaswift/SipHash
Fetching https://github.com/attaswift/GlueKit
[1/82] Fetching optionparser
[45/3179] Fetching optionparser, bigint
[56/6528] Fetching optionparser, bigint, btree
[57/10544] Fetching optionparser, bigint, btree, gluekit
[58/10984] Fetching optionparser, bigint, btree, gluekit, siphash
Fetched https://github.com/attaswift/GlueKit from cache (0.41s)
Fetched https://github.com/attaswift/SipHash from cache (0.47s)
Fetched https://github.com/attaswift/OptionParser from cache (0.47s)
Fetched https://github.com/attaswift/BTree from cache (0.47s)
Fetched https://github.com/attaswift/BigInt from cache (0.47s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (0.41s)
Computing version for https://github.com/attaswift/GlueKit
Computed https://github.com/attaswift/GlueKit at 0.2.0 (0.43s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (1.00s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 3.1.0 (0.41s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (0.40s)
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.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/Benchmarking
Working copy of https://github.com/attaswift/Benchmarking resolved at master (5fb2680)
Creating working copy for https://github.com/attaswift/SipHash
Working copy of https://github.com/attaswift/SipHash resolved at 1.2.2
warning: 'spi-builder-workspace': dependency 'siphash' is not used by any target
Building for debugging...
[0/32] Write sources
[11/32] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/63] Compiling BTree BTree.swift
[14/63] Compiling BTree BTreeBuilder.swift
[15/63] 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 {
           ~~~~~~~~      ^
[16/65] Compiling OptionParser OptionParser.swift
[17/66] Compiling SipHash SipHashable.swift
[18/66] Compiling SipHash SipHasher.swift
[19/66] Compiling BTree Compatibility.swift
[20/66] Compiling BTree List.swift
[21/66] Compiling BTree BTreeComparisons.swift
[22/66] Compiling BTree BTreeCursor.swift
[23/66] Compiling BTree Map.swift
[24/66] Compiling BTree SortedBag.swift
[25/66] Compiling OptionParser Syntax.swift
[26/66] Compiling BTree SortedSet.swift
[27/66] Compiling BTree Weak.swift
[28/66] Emitting module OptionParser
[29/66] Compiling BTree BTreeMerger.swift
[30/66] Compiling BTree BTreeNode.swift
[31/66] Compiling BTree BTreeIndex.swift
[32/66] Compiling BTree BTreeIterator.swift
[33/66] 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>
[34/66] 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>
[35/66] Compiling SipHash Primitive Types.swift
[36/66] Compiling SipHash RandomUInt64.swift
[37/66] Emitting module SipHash
[38/67] Compiling OptionParser ParseContext.swift
[39/67] Compiling OptionParser Parameter.swift
[40/67] Compiling OptionParser OptionValue.swift
[42/67] Compiling OptionParser Option.swift
error: fatalError
[45/67] Compiling OptionParser Help.swift
[46/68] Emitting module BenchmarkIPC
warning: 'spi-builder-workspace': dependency 'siphash' is not used by any target
[0/1] Planning build
Building for debugging...
[0/21] Write swift-version-24593BA9C3E375BF.txt
[2/28] Emitting module SipHash
[3/29] Wrapping AST for SipHash for debugging
[4/29] Write Objects.LinkFileList
[6/29] Emitting module OptionParser
[7/30] 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>
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/30] 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 {
           ~~~~~~~~      ^
[9/30] Linking libSipHash.so
[10/30] Wrapping AST for OptionParser for debugging
[11/30] Write Objects.LinkFileList
[13/30] Emitting module BenchmarkIPC
[14/30] Compiling BenchmarkIPC BenchmarkIPC.swift
[14/30] Archiving libOptionParser.a
[17/52] Compiling BTree BTreePath.swift
[17/62] Wrapping AST for BenchmarkIPC for debugging
[19/70] Compiling BTree BTreeIterator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/70] Emitting module Benchmarking
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[21/70] Compiling Benchmarking Benchmark.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[22/70] Compiling Benchmarking Complain.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[23/70] Compiling Benchmarking InputGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[24/71] Compiling Benchmarking Shuffle.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[25/71] Compiling Benchmarking Timer.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[26/71] Emitting module BigInt
[27/73] Compiling Benchmarking Run.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[28/73] Compiling Benchmarking Noop.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
[29/73] Compiling Benchmarking Output.swift
/host/spi-builder-workspace/.build/checkouts/Benchmarking/Benchmarking/Shuffle.swift:5:8: error: no such module 'Darwin'
import Darwin
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1