Build Information
Failed to build Attabench, reference master (7fc220
), with Swift 6.1 for Wasm on 28 May 2025 01:00:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/attaswift/Attabench.git
https://github.com/attaswift/Attabench.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "benchmarking",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/Benchmarking"
},
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BigInt"
},
{
"identity" : "siphash",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/SipHash"
},
{
"identity" : "gluekit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/GlueKit"
},
{
"identity" : "optionparser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/OptionParser"
}
],
"manifest_display_name" : "Attabench",
"name" : "Attabench",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "BenchmarkModel",
"targets" : [
"BenchmarkModel"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkRunner",
"targets" : [
"BenchmarkRunner"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BenchmarkCharts",
"targets" : [
"BenchmarkCharts"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "attachart",
"targets" : [
"attachart"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "attachart",
"module_type" : "SwiftTarget",
"name" : "attachart",
"path" : "attachart",
"product_dependencies" : [
"Benchmarking",
"OptionParser"
],
"product_memberships" : [
"attachart"
],
"sources" : [
"Options.swift",
"Render.swift",
"main.swift"
],
"target_dependencies" : [
"BenchmarkModel",
"BenchmarkCharts"
],
"type" : "executable"
},
{
"c99name" : "BenchmarkRunner",
"module_type" : "SwiftTarget",
"name" : "BenchmarkRunner",
"path" : "BenchmarkRunner",
"product_dependencies" : [
"Benchmarking"
],
"product_memberships" : [
"BenchmarkRunner"
],
"sources" : [
"BenchmarkProcess.swift",
"CommandLineProcess.swift",
"Dispatch Extensions.swift",
"FileManager Extensions.swift",
"Tools.swift"
],
"target_dependencies" : [
"BenchmarkModel"
],
"type" : "library"
},
{
"c99name" : "BenchmarkModel",
"module_type" : "SwiftTarget",
"name" : "BenchmarkModel",
"path" : "BenchmarkModel",
"product_dependencies" : [
"BigInt",
"GlueKit"
],
"product_memberships" : [
"BenchmarkModel",
"BenchmarkRunner",
"BenchmarkCharts",
"attachart"
],
"sources" : [
"Attaresult.swift",
"Bounds.swift",
"ClosedRangeVariable.swift",
"Task.swift",
"Time.swift",
"TimeSample.swift",
"Timestamp.swift"
],
"type" : "library"
},
{
"c99name" : "BenchmarkCharts",
"module_type" : "SwiftTarget",
"name" : "BenchmarkCharts",
"path" : "BenchmarkCharts",
"product_memberships" : [
"BenchmarkCharts",
"attachart"
],
"sources" : [
"BenchmarkChart.swift",
"BenchmarkRenderer.swift",
"BenchmarkTheme.swift",
"ChartScales.swift",
"Extensions.swift",
"Gridline.swift",
"LineParams.swift",
"NSImage Export.swift",
"Size Labels.swift",
"TextParams.swift"
],
"target_dependencies" : [
"BenchmarkModel"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/attaswift/Benchmarking
[1/65] Fetching benchmarking
Fetched https://github.com/attaswift/Benchmarking from cache (0.36s)
Fetching https://github.com/attaswift/SipHash
Fetching https://github.com/attaswift/OptionParser
Fetching https://github.com/attaswift/BigInt
Fetching https://github.com/attaswift/GlueKit
[1/82] Fetching optionparser
[83/522] Fetching optionparser, siphash
[523/5298] Fetching optionparser, siphash, bigint
[524/9314] Fetching optionparser, siphash, bigint, gluekit
Fetched https://github.com/attaswift/OptionParser from cache (0.41s)
[8755/9232] Fetching siphash, bigint, gluekit
Fetched https://github.com/attaswift/SipHash from cache (0.56s)
Fetched https://github.com/attaswift/GlueKit from cache (0.56s)
Fetched https://github.com/attaswift/BigInt from cache (0.57s)
Computing version for https://github.com/attaswift/OptionParser
Computed https://github.com/attaswift/OptionParser at 1.0.0 (1.60s)
Computing version for https://github.com/attaswift/GlueKit
Computed https://github.com/attaswift/GlueKit at 0.2.0 (0.60s)
Fetching https://github.com/attaswift/BTree
[1/3349] Fetching btree
Fetched https://github.com/attaswift/BTree from cache (0.44s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (1.06s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.63s)
Computing version for https://github.com/attaswift/BigInt
Computed https://github.com/attaswift/BigInt at 3.1.0 (0.59s)
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/Benchmarking
Working copy of https://github.com/attaswift/Benchmarking resolved at master (5fb2680)
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/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/OptionParser
Working copy of https://github.com/attaswift/OptionParser resolved at 1.0.0
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
[13/63] Compiling BTree BTreeComparisons.swift
[14/63] Compiling BTree BTreeCursor.swift
[15/65] Compiling SipHash SipHasher.swift
[16/65] Compiling SipHash RandomUInt64.swift
[17/65] Compiling SipHash SipHashable.swift
[18/65] Compiling BTree Map.swift
[19/65] Compiling BTree SortedBag.swift
[20/65] Compiling BTree Compatibility.swift
[21/65] Compiling BTree List.swift
[22/65] Emitting module SipHash
[23/65] Compiling SipHash Primitive Types.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/66] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[25/66] Compiling BTree BTree.swift
[26/66] Compiling BTree BTreeBuilder.swift
[27/66] Wrapping AST for SipHash for debugging
[28/66] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[29/66] Linking libSipHash.wasm
[30/66] Emitting module BenchmarkIPC
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/52] Emitting module OptionParser
[3/53] Emitting module SipHash
[4/53] Compiling SipHash Primitive Types.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/53] Emitting module BTree
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
[6/55] Compiling SipHash RandomUInt64.swift
[7/55] Compiling SipHash SipHashable.swift
[8/55] Compiling SipHash SipHasher.swift
[9/56] Compiling OptionParser Syntax.swift
[10/56] Compiling BTree Compatibility.swift
[11/56] Compiling BTree List.swift
[12/56] Compiling BTree Map.swift
[13/56] Compiling BTree SortedBag.swift
[14/55] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[15/55] Linking libSipHash.wasm
[16/55] Compiling OptionParser OptionParser.swift
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:78: error: cannot find type 'NSFastEnumerationState' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'NSFastEnumerationState' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:57:119: error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
55 | }
56 |
57 | public override func countByEnumerating(with state: UnsafeMutablePointer<NSFastEnumerationState>, objects buffer: AutoreleasingUnsafeMutablePointer<AnyObject?>, count len: Int) -> Int {
| `- error: cannot find type 'AutoreleasingUnsafeMutablePointer' in scope
58 | precondition(MemoryLayout<(EmptyKey, Value)>.size == MemoryLayout<Value>.size)
59 | precondition(MemoryLayout<(EmptyKey, Value)>.stride == MemoryLayout<Value>.stride)
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:30: error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| `- error: cannot find 'AutoreleasingUnsafeMutablePointer' in scope
74 | s.state += UInt(c)
75 | }
[17/55] Emitting module BenchmarkIPC
BUILD FAILURE 6.1 wasm