Build Information
Failed to build GlueKit, reference v0.2.0 (a5766b
), with Swift 6.1 for Wasm on 27 May 2025 17:58:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/GlueKit.git
Reference: v0.2.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/GlueKit
* tag v0.2.0 -> FETCH_HEAD
HEAD is now at a5766bb Fix dependency syntax
Submodule path 'Carthage/Checkouts/BTree': checked out '83435371ef3c6d98107f5b562a5870a3dfca6243'
Submodule path 'Carthage/Checkouts/SipHash': checked out '7b47e3f23a66770b1eb18e15e20546aad398c9dd'
Submodule 'Carthage/Checkouts/BTree' (https://github.com/attaswift/BTree.git) registered for path 'Carthage/Checkouts/BTree'
Submodule 'Carthage/Checkouts/SipHash' (https://github.com/attaswift/SipHash.git) registered for path 'Carthage/Checkouts/SipHash'
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/BTree'...
Cloning into '/host/spi-builder-workspace/Carthage/Checkouts/SipHash'...
Cloned https://github.com/attaswift/GlueKit.git
Revision (git rev-parse @):
a5766bb11eb2681f58593cc33d1103ef20aa85ad
SUCCESS checkout https://github.com/attaswift/GlueKit.git at v0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/attaswift/GlueKit.git
https://github.com/attaswift/GlueKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "siphash",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/SipHash"
},
{
"identity" : "btree",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/attaswift/BTree"
}
],
"manifest_display_name" : "GlueKit",
"name" : "GlueKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GlueKit",
"targets" : [
"GlueKit"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"swift_languages_versions" : [
"4"
],
"targets" : [
{
"c99name" : "PerformanceTests",
"module_type" : "SwiftTarget",
"name" : "PerformanceTests",
"path" : "Tests/PerformanceTests",
"sources" : [
"GlueKitPerformanceTests.swift"
],
"target_dependencies" : [
"GlueKit"
],
"type" : "test"
},
{
"c99name" : "GlueKitTests",
"module_type" : "SwiftTarget",
"name" : "GlueKitTests",
"path" : "Tests/GlueKitTests",
"sources" : [
"AnySinkTests.swift",
"AnySourceTests.swift",
"ArrayBufferingTests.swift",
"ArrayChangeSeparationTests.swift",
"ArrayChangeTests.swift",
"ArrayConcatenationTests.swift",
"ArrayFilteringTests.swift",
"ArrayFoldingTests.swift",
"ArrayMappingTests.swift",
"ArrayModificationTests.swift",
"ArrayReferenceTests.swift",
"ArrayVariableTests.swift",
"Bookshelf.swift",
"BracketingSourceTests.swift",
"BufferedSourceTests.swift",
"ChangeTests.swift",
"ChangesSourceTests.swift",
"CombinedObservableTests.swift",
"CombinedUpdatableTests.swift",
"ConnectorTests.swift",
"DispatchSourceTests.swift",
"DistinctTests.swift",
"DistinctUnionTests.swift",
"KVOSupportTests.swift",
"MergedSourceTests.swift",
"MockArrayObserver.swift",
"MockSetObserver.swift",
"MockSink.swift",
"MockUpdateSink.swift",
"NSUserDefaultsSupportTests.swift",
"NotificationCenterSupportTests.swift",
"ObservableArrayTests.swift",
"ObservableSetTests.swift",
"ObservableTypeTests.swift",
"ObservableValueTests.swift",
"RefListTests.swift",
"SetBufferingTests.swift",
"SetFilteringTests.swift",
"SetFoldingTests.swift",
"SetMappingTests.swift",
"SetReferenceTests.swift",
"SetSortingTests.swift",
"SetVariableTests.swift",
"SignalTests.swift",
"SimpleSourcesTests.swift",
"SourceOperatorTests.swift",
"TestChange.swift",
"TestObservable.swift",
"TestUpdatable.swift",
"TestUtilities.swift",
"TimerSourceTests.swift",
"TransactionStateTests.swift",
"TwoWayBindingTests.swift",
"TypeHelperTests.swift",
"UpdatableValueTests.swift",
"UpdateTests.swift",
"ValueBufferingTests.swift",
"ValueChangeTests.swift",
"ValueMappingTests.swift",
"ValueReferenceTests.swift",
"VariableTests.swift"
],
"target_dependencies" : [
"GlueKit"
],
"type" : "test"
},
{
"c99name" : "GlueKit",
"module_type" : "SwiftTarget",
"name" : "GlueKit",
"path" : "Sources",
"product_dependencies" : [
"BTree",
"SipHash"
],
"product_memberships" : [
"GlueKit"
],
"sources" : [
"Abstract.swift",
"AccumulatedSource.swift",
"ArrayBasedTableViewDataSource.swift",
"ArrayChange.swift",
"ArrayChangeSeparation.swift",
"ArrayConcatenation.swift",
"ArrayFilteringIndexmap.swift",
"ArrayFilteringOnObservableBool.swift",
"ArrayFilteringOnPredicate.swift",
"ArrayFolding.swift",
"ArrayGatheringSource.swift",
"ArrayMappingForArrayField.swift",
"ArrayMappingForValue.swift",
"ArrayMappingForValueField.swift",
"ArrayReference.swift",
"ArrayVariable.swift",
"BracketingSource.swift",
"BufferedArray.swift",
"BufferedSet.swift",
"BufferedSource.swift",
"BufferedValue.swift",
"CADisplayLink Extensions.swift",
"Change.swift",
"ChangesSource.swift",
"CompositeObservable.swift",
"CompositeUpdatable.swift",
"ComputedUpdatable.swift",
"Connect.swift",
"Connector.swift",
"DependentValue.swift",
"DispatchSource.swift",
"DistinctUnion.swift",
"DistinctValue.swift",
"Locks.swift",
"MergedSource.swift",
"NSButton Glue.swift",
"NSControl Glue.swift",
"NSNotificationCenter Support.swift",
"NSObject Glue.swift",
"NSPopUpButton Glue.swift",
"NSTextField Glue.swift",
"ObservableArray.swift",
"ObservableContains.swift",
"ObservableSet.swift",
"ObservableType.swift",
"ObservableValue.swift",
"OwnedSink.swift",
"RefList.swift",
"Reference.swift",
"SetChange.swift",
"SetFilteringOnObservableBool.swift",
"SetFilteringOnPredicate.swift",
"SetFolding.swift",
"SetGatheringSource.swift",
"SetMappingBase.swift",
"SetMappingForArrayField.swift",
"SetMappingForSequence.swift",
"SetMappingForSetField.swift",
"SetMappingForValue.swift",
"SetMappingForValueField.swift",
"SetReference.swift",
"SetSortingByComparableField.swift",
"SetSortingByComparator.swift",
"SetSortingByMappingToComparable.swift",
"SetSortingByMappingToObservableComparable.swift",
"SetVariable.swift",
"Signal.swift",
"SimpleSources.swift",
"Sink.swift",
"Source.swift",
"TimerSource.swift",
"TransactionalThing.swift",
"TransformedSink.swift",
"TransformedSource.swift",
"TwoWayBinding.swift",
"Type Helpers.swift",
"UIBarButtonItem Extensions.swift",
"UIControl Glue.swift",
"UIDevice Glue.swift",
"UIGestureRecognizer Glue.swift",
"UILabel Glue.swift",
"UISearchBar Glue.swift",
"UISwitch Glue.swift",
"UpdatableArray.swift",
"UpdatableSet.swift",
"UpdatableValue.swift",
"Update.swift",
"ValueChange.swift",
"ValueMappingForArrayField.swift",
"ValueMappingForSetField.swift",
"ValueMappingForSourceField.swift",
"ValueMappingForValue.swift",
"ValueMappingForValueField.swift",
"ValueReference.swift",
"Variable.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/BTree
Fetching https://github.com/attaswift/SipHash
[1/3349] Fetching btree
[1442/3789] Fetching btree, siphash
Fetched https://github.com/attaswift/SipHash from cache (0.40s)
Fetched https://github.com/attaswift/BTree from cache (0.40s)
Computing version for https://github.com/attaswift/BTree
Computed https://github.com/attaswift/BTree at 4.1.0 (1.07s)
Computing version for https://github.com/attaswift/SipHash
Computed https://github.com/attaswift/SipHash at 1.2.2 (0.57s)
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/BTree
Working copy of https://github.com/attaswift/BTree resolved at 4.1.0
Building for debugging...
[0/13] Write sources
[3/13] Write swift-version-24593BA9C3E375BF.txt
[5/33] Compiling BTree BTreeComparisons.swift
[6/33] Compiling BTree BTreeCursor.swift
[7/35] Compiling SipHash SipHasher.swift
[8/35] Compiling SipHash RandomUInt64.swift
[9/35] Compiling SipHash Primitive Types.swift
[10/35] Compiling SipHash SipHashable.swift
[11/35] Emitting module SipHash
[12/36] Compiling BTree Compatibility.swift
[13/36] Compiling BTree List.swift
[14/36] Compiling BTree Map.swift
[15/36] Compiling BTree SortedBag.swift
[16/36] Wrapping AST for SipHash for debugging
[17/36] Write Objects.LinkFileList
[19/36] Compiling BTree BTreeIndex.swift
[20/36] Compiling BTree BTreeIterator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/36] 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)
[22/36] Compiling BTree BTree.swift
[23/36] Compiling BTree BTreeBuilder.swift
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[23/36] Linking libSipHash.wasm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
[0/1] Planning build
Building for debugging...
[0/10] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling SipHash RandomUInt64.swift
[3/30] Emitting module SipHash
[4/30] Compiling SipHash SipHashable.swift
[5/30] Compiling SipHash Primitive Types.swift
[6/30] Compiling SipHash SipHasher.swift
[8/31] Compiling BTree BTreeComparisons.swift
[9/31] Compiling BTree BTreeCursor.swift
[10/33] Compiling BTree Compatibility.swift
[11/33] Compiling BTree List.swift
[12/33] Compiling BTree Map.swift
[13/33] Compiling BTree SortedBag.swift
[13/32] Write Objects.LinkFileList
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/32] 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)
[16/32] Compiling BTree BTree.swift
[17/32] Compiling BTree BTreeBuilder.swift
[18/32] Compiling BTree BTreePath.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 | }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| |- error: generic parameter 'Pointee' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
74 | s.state += UInt(c)
75 | }
[19/32] Compiling BTree BridgedList.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 | }
/host/spi-builder-workspace/.build/checkouts/BTree/Sources/BridgedList.swift:73:76: error: generic parameter 'Pointee' could not be inferred
71 | let c = node.elements.count - slot
72 | node.elements.withUnsafeBufferPointer { p in
73 | s.itemsPtr = AutoreleasingUnsafeMutablePointer<AnyObject?>(UnsafeMutablePointer(mutating: p.baseAddress!) + slot)
| |- error: generic parameter 'Pointee' could not be inferred
| `- note: explicitly specify the generic arguments to fix this issue
74 | s.state += UInt(c)
75 | }
[20/32] Compiling BTree BTreeIndex.swift
[21/32] Compiling BTree BTreeIterator.swift
[22/32] Compiling BTree BTreeMerger.swift
[23/32] Compiling BTree BTreeNode.swift
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasi'
[23/32] Linking libSipHash.wasm
BUILD FAILURE 6.1 wasm