Build Information
Failed to build AsyncChannels, reference main (928407
), with Swift 6.1 for Wasm on 30 May 2025 22:49:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/gh123man/Async-Channels.git
Reference: main
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/gh123man/Async-Channels
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 928407c Fix CI (#21)
Cloned https://github.com/gh123man/Async-Channels.git
Revision (git rev-parse @):
928407c6f88d9555a07154f4f8359261ebcb2a64
SUCCESS checkout https://github.com/gh123man/Async-Channels.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gh123man/Async-Channels.git
https://github.com/gh123man/Async-Channels.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
}
],
"manifest_display_name" : "AsyncChannels",
"name" : "AsyncChannels",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "AsyncChannels",
"targets" : [
"AsyncChannels"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncChannelsTests",
"module_type" : "SwiftTarget",
"name" : "AsyncChannelsTests",
"path" : "Tests/AsyncChannelsTests",
"sources" : [
"BehaviorTests.swift",
"ReadmeTests.swift",
"TypeTests.swift"
],
"target_dependencies" : [
"AsyncChannels"
],
"type" : "test"
},
{
"c99name" : "AsyncChannels",
"module_type" : "SwiftTarget",
"name" : "AsyncChannels",
"path" : "Sources/AsyncChannels",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"AsyncChannels"
],
"sources" : [
"Channel+Extensions.swift",
"Channel.swift",
"ChannelInternal.swift",
"FastLock.swift",
"Select.swift",
"Synchronization.swift",
"ThrowingChannel+Extensions.swift",
"ThrowingChannel.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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 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/apple/swift-collections
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.79s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (6.14s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/24] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[12/24] Compiling InternalCollectionsUtilities _SortedCollection.swift
[13/25] Emitting module InternalCollectionsUtilities
[14/25] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/25] Compiling InternalCollectionsUtilities Debugging.swift
[16/25] Compiling InternalCollectionsUtilities Descriptions.swift
[17/25] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/25] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[19/25] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/25] Compiling InternalCollectionsUtilities UInt+reversed.swift
[21/25] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/25] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[23/25] Compiling InternalCollectionsUtilities Integer rank.swift
[24/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[25/25] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[27/300] Compiling HeapModule Heap+Descriptions.swift
[28/300] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[29/300] Compiling HashTreeCollections _AncestorHashSlots.swift
[30/302] Compiling HeapModule _HeapNode.swift
[31/302] Compiling HeapModule Heap.swift
[32/302] Compiling HeapModule Heap+Invariants.swift
[33/302] Compiling HeapModule Heap+UnsafeHandle.swift
[34/302] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[35/302] Emitting module HeapModule
[37/303] Compiling HashTreeCollections TreeSet+Hashable.swift
[38/303] Compiling HashTreeCollections TreeSet+Sendable.swift
[39/303] Compiling HashTreeCollections TreeSet+Sequence.swift
[40/303] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[41/303] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[42/303] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[43/303] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[44/303] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[45/303] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[46/303] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[47/313] Compiling DequeModule _DequeSlot.swift
[48/313] Compiling DequeModule _UnsafeWrappedBuffer.swift
[49/313] Compiling HashTreeCollections _HashTreeIterator.swift
[50/313] Compiling HashTreeCollections _HashTreeStatistics.swift
[51/313] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[52/313] Compiling HashTreeCollections _RawHashNode.swift
[53/313] Compiling HashTreeCollections _UnmanagedHashNode.swift
[54/313] Compiling HashTreeCollections _UnsafePath.swift
[55/313] Compiling HashTreeCollections TreeDictionary+Codable.swift
[56/313] Compiling HashTreeCollections TreeDictionary+Collection.swift
[57/320] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[58/320] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[59/320] Compiling HashTreeCollections TreeDictionary+Keys.swift
[60/320] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[61/320] Compiling HashTreeCollections TreeDictionary+Merge.swift
[62/320] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[63/320] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[64/320] Compiling HashTreeCollections _HashNode+Structural merge.swift
[65/320] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[66/320] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[67/320] Compiling HashTreeCollections _HashNode+Structural union.swift
[68/320] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[69/320] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[70/320] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[71/320] Compiling HashTreeCollections _HashNode+Builder.swift
[72/320] Compiling HashTreeCollections _HashNode+Debugging.swift
[73/320] Compiling HashTreeCollections _HashNode+Initializers.swift
[74/320] Compiling HashTreeCollections _HashNode+Invariants.swift
[75/320] Compiling HashTreeCollections _HashNode+Lookups.swift
[76/320] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[77/320] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[78/320] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[79/320] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[80/320] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[83/320] Compiling HashTreeCollections _Bitmap.swift
[84/320] Compiling HashTreeCollections _Bucket.swift
[87/320] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[88/320] Compiling HashTreeCollections _HashNode.swift
[89/320] Compiling HashTreeCollections _HashNodeHeader.swift
[90/320] Compiling HashTreeCollections _HashSlot.swift
[91/320] Compiling HashTreeCollections _HashStack.swift
[92/320] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[93/320] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[94/320] Compiling HashTreeCollections TreeDictionary+Filter.swift
[95/320] Compiling HashTreeCollections _HashNode+Storage.swift
[96/320] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[97/320] Compiling HashTreeCollections _HashNode+Structural filter.swift
[98/320] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[99/320] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[100/320] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[101/320] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[109/320] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[123/327] Compiling BitCollections Range+Utilities.swift
[124/327] Compiling BitCollections Slice+Utilities.swift
[125/327] Compiling BitCollections UInt+Tricks.swift
[126/327] Compiling BitCollections _Word.swift
[127/327] Compiling OrderedCollections OrderedSet.swift
[128/327] Compiling OrderedCollections _UnsafeBitset.swift
[129/327] Compiling HashTreeCollections TreeSet+Equatable.swift
[130/327] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[131/327] Compiling HashTreeCollections TreeSet+Extras.swift
[132/327] Compiling HashTreeCollections TreeSet+Filter.swift
[141/327] Compiling BitCollections BitSet.Index.swift
[142/327] Compiling BitCollections BitSet._UnsafeHandle.swift
[143/327] Compiling BitCollections BitSet.swift
[156/327] Emitting module DequeModule
[157/328] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[158/328] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[159/328] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[160/328] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[161/328] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[162/328] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[163/328] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[164/328] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[165/328] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[166/328] Compiling HashTreeCollections TreeSet.swift
[184/328] Emitting module BitCollections
[247/338] Emitting module OrderedCollections
[300/339] Emitting module _RopeModule
[301/339] Emitting module HashTreeCollections
[332/340] Compiling _RopeModule Rope+Join.swift
[333/340] Compiling _RopeModule Rope+MutatingForEach.swift
[334/340] Compiling _RopeModule Rope+Remove.swift
[335/340] Compiling _RopeModule Rope+RemoveSubrange.swift
[336/340] Compiling _RopeModule Rope+Split.swift
[337/340] Compiling _RopeModule Optional Utilities.swift
[338/340] Compiling _RopeModule String Utilities.swift
[339/340] Compiling _RopeModule String.Index+ABI.swift
[340/340] Compiling _RopeModule _CharacterRecognizer.swift
[342/343] Emitting module Collections
[343/343] Compiling Collections Collections.swift
[345/352] Compiling AsyncChannels Channel.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
[346/353] Compiling AsyncChannels ThrowingChannel+Extensions.swift
/host/spi-builder-workspace/Sources/AsyncChannels/ThrowingChannel+Extensions.swift:21:25: error: cannot find 'DispatchSemaphore' in scope
19 | /// Do not use this function in an async task!
20 | public func blockingSend(_ val: T) throws {
21 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
22 | Task {
23 | // TODO
/host/spi-builder-workspace/Sources/AsyncChannels/ThrowingChannel+Extensions.swift:34:25: error: cannot find 'DispatchSemaphore' in scope
32 | /// Do not use this function in an async task!
33 | public func blockingReceive() -> T? {
34 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
35 | var val: T?
36 | Task {
[347/353] Compiling AsyncChannels ChannelInternal.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
[348/353] Compiling AsyncChannels Synchronization.swift
[349/353] Compiling AsyncChannels FastLock.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:43:7: error: cannot find 'pthread_mutex_destroy' in scope
41 |
42 | deinit {
43 | pthread_mutex_destroy(&m)
| `- error: cannot find 'pthread_mutex_destroy' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:48:7: error: cannot find 'pthread_mutex_lock' in scope
46 | @inline(__always)
47 | func lock() {
48 | pthread_mutex_lock(&m)
| `- error: cannot find 'pthread_mutex_lock' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:53:7: error: cannot find 'pthread_mutex_unlock' in scope
51 | @inline(__always)
52 | func unlock() {
53 | pthread_mutex_unlock(&m)
| `- error: cannot find 'pthread_mutex_unlock' in scope
54 | }
55 | }
[350/353] Compiling AsyncChannels Select.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[351/353] Emitting module AsyncChannels
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
[352/353] Compiling AsyncChannels Channel+Extensions.swift
/host/spi-builder-workspace/Sources/AsyncChannels/Channel+Extensions.swift:21:25: error: cannot find 'DispatchSemaphore' in scope
19 | /// Do not use this function in an async task!
20 | public func blockingSend(_ val: T) {
21 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
22 | Task {
23 | await self <- val
/host/spi-builder-workspace/Sources/AsyncChannels/Channel+Extensions.swift:33:25: error: cannot find 'DispatchSemaphore' in scope
31 | /// Do not use this function in an async task!
32 | public func blockingReceive() -> T? {
33 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
34 | var val: T?
35 | Task {
[353/353] Compiling AsyncChannels ThrowingChannel.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[3/16] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[4/16] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[5/16] Compiling InternalCollectionsUtilities Integer rank.swift
[6/16] Emitting module InternalCollectionsUtilities
[7/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[8/16] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[9/16] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[10/16] Compiling InternalCollectionsUtilities UInt+reversed.swift
[11/16] Compiling InternalCollectionsUtilities Descriptions.swift
[12/16] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[13/16] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[14/16] Compiling InternalCollectionsUtilities _SortedCollection.swift
[15/16] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[16/16] Compiling InternalCollectionsUtilities Debugging.swift
[18/247] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[19/290] Compiling _RopeModule BigString+Debugging.swift
[20/290] Compiling _RopeModule BigString+Index.swift
[21/292] Compiling HeapModule Heap+Descriptions.swift
[22/293] Compiling HeapModule Heap.swift
[23/293] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[24/293] Compiling _RopeModule BigString+Chunk+Breaks.swift
[25/293] Compiling HeapModule _HeapNode.swift
[26/293] Compiling _RopeModule BigString+Ingester.swift
[27/293] Compiling _RopeModule BigString+Invariants.swift
[28/293] Compiling HeapModule Heap+Invariants.swift
[29/293] Compiling HeapModule Heap+UnsafeHandle.swift
[30/293] Emitting module HeapModule
[31/294] Compiling _RopeModule BigString+Iterators.swift
[32/294] Compiling _RopeModule BigString+Metrics.swift
[33/294] Compiling _RopeModule BigSubstring+UTF8View.swift
[34/294] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[35/294] Compiling _RopeModule BigSubstring.swift
[36/294] Compiling _RopeModule Rope+Builder.swift
[37/294] Compiling _RopeModule Rope+Debugging.swift
[38/294] Compiling _RopeModule Rope+Invariants.swift
[39/294] Compiling _RopeModule Rope+_Node.swift
[41/301] Compiling _RopeModule BigString+UTF16View.swift
[42/301] Compiling _RopeModule BigString+UTF8View.swift
[43/301] Compiling HashTreeCollections TreeSet+Sequence.swift
[44/301] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[45/301] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[46/301] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[47/301] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[48/301] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[49/301] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[50/301] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[51/311] Compiling _RopeModule Rope+_Storage.swift
[52/311] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[53/311] Compiling _RopeModule Rope+_UnsafeHandle.swift
[54/311] Compiling _RopeModule Rope.swift
[55/311] Compiling _RopeModule RopeElement.swift
[56/311] Compiling _RopeModule RopeMetric.swift
[57/311] Compiling _RopeModule RopeSummary.swift
[58/311] Compiling DequeModule _DequeSlot.swift
[59/311] Compiling DequeModule _UnsafeWrappedBuffer.swift
[60/311] Compiling _RopeModule BigString+Builder.swift
[61/311] Compiling _RopeModule BigString+Contents.swift
[62/311] Emitting module DequeModule
[63/311] Compiling _RopeModule BigSubstring+UTF16View.swift
[70/311] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[71/311] Compiling _RopeModule BigString+Hashing.swift
[72/311] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[73/311] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[74/311] Compiling _RopeModule BigString+Sequence.swift
[75/311] Compiling _RopeModule BigString+TextOutputStream.swift
[76/311] Compiling _RopeModule BigString+UnicodeScalarView.swift
[77/318] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[78/318] Compiling _RopeModule BigString+Chunk+Splitting.swift
[79/318] Compiling _RopeModule BigString+Chunk.swift
[80/318] Compiling _RopeModule BigString+BidirectionalCollection.swift
[81/318] Compiling _RopeModule BigString+Comparable.swift
[82/318] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[83/318] Compiling _RopeModule BigString+CustomStringConvertible.swift
[84/318] Compiling _RopeModule BigString+Equatable.swift
[85/318] Compiling _RopeModule BigString+Chunk+Counts.swift
[86/318] Compiling _RopeModule BigString+Chunk+Description.swift
[87/318] Compiling _RopeModule BigString+Summary.swift
[88/318] Compiling _RopeModule BigString.swift
[91/318] Compiling _RopeModule _RopeItem.swift
[92/318] Compiling _RopeModule _RopePath.swift
[93/318] Compiling _RopeModule _RopeVersion.swift
[94/318] Compiling _RopeModule Rope+Collection.swift
[95/318] Compiling _RopeModule Rope+Index.swift
[96/318] Compiling _RopeModule Rope+Sequence.swift
[97/318] Compiling BitCollections BitSet.Index.swift
[98/318] Compiling BitCollections BitSet._UnsafeHandle.swift
[138/319] Emitting module BitCollections
[139/319] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[140/319] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[141/319] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[142/319] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[143/319] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[144/319] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[145/319] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[146/319] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[147/319] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[148/319] Compiling HashTreeCollections TreeSet.swift
[196/319] Compiling BitCollections BitSet.swift
[197/319] Compiling BitCollections Range+Utilities.swift
[198/319] Compiling BitCollections Slice+Utilities.swift
[199/328] Emitting module OrderedCollections
[203/328] Compiling BitCollections UInt+Tricks.swift
[204/328] Compiling BitCollections _Word.swift
[205/328] Compiling OrderedCollections OrderedSet.swift
[206/328] Compiling OrderedCollections _UnsafeBitset.swift
[225/329] Compiling _RopeModule BigString+RemoveSubrange.swift
[226/329] Compiling _RopeModule BigString+ReplaceSubrange.swift
[227/329] Compiling _RopeModule BigString+Split.swift
[228/329] Compiling _RopeModule Range+BigString.swift
[279/330] Emitting module _RopeModule
[302/330] Emitting module HashTreeCollections
[304/331] Compiling _RopeModule Rope+Join.swift
[305/331] Compiling _RopeModule Rope+MutatingForEach.swift
[306/331] Compiling _RopeModule Rope+Remove.swift
[307/331] Compiling _RopeModule Rope+RemoveSubrange.swift
[308/331] Compiling _RopeModule Rope+Split.swift
[309/331] Compiling _RopeModule Optional Utilities.swift
[310/331] Compiling _RopeModule String Utilities.swift
[311/331] Compiling _RopeModule String.Index+ABI.swift
[312/331] Compiling _RopeModule _CharacterRecognizer.swift
[333/334] Emitting module Collections
[334/334] Compiling Collections Collections.swift
[336/343] Compiling AsyncChannels Synchronization.swift
[337/344] Compiling AsyncChannels Channel+Extensions.swift
/host/spi-builder-workspace/Sources/AsyncChannels/Channel+Extensions.swift:21:25: error: cannot find 'DispatchSemaphore' in scope
19 | /// Do not use this function in an async task!
20 | public func blockingSend(_ val: T) {
21 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
22 | Task {
23 | await self <- val
/host/spi-builder-workspace/Sources/AsyncChannels/Channel+Extensions.swift:33:25: error: cannot find 'DispatchSemaphore' in scope
31 | /// Do not use this function in an async task!
32 | public func blockingReceive() -> T? {
33 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
34 | var val: T?
35 | Task {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[338/344] Emitting module AsyncChannels
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
[339/344] Compiling AsyncChannels ChannelInternal.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
[340/344] Compiling AsyncChannels ThrowingChannel.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
[341/344] Compiling AsyncChannels Channel.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
[342/344] Compiling AsyncChannels Select.swift
[343/344] Compiling AsyncChannels ThrowingChannel+Extensions.swift
/host/spi-builder-workspace/Sources/AsyncChannels/ThrowingChannel+Extensions.swift:21:25: error: cannot find 'DispatchSemaphore' in scope
19 | /// Do not use this function in an async task!
20 | public func blockingSend(_ val: T) throws {
21 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
22 | Task {
23 | // TODO
/host/spi-builder-workspace/Sources/AsyncChannels/ThrowingChannel+Extensions.swift:34:25: error: cannot find 'DispatchSemaphore' in scope
32 | /// Do not use this function in an async task!
33 | public func blockingReceive() -> T? {
34 | let semaphore = DispatchSemaphore(value: 0)
| `- error: cannot find 'DispatchSemaphore' in scope
35 | var val: T?
36 | Task {
[344/344] Compiling AsyncChannels FastLock.swift
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:35:7: error: cannot find 'pthread_mutexattr_init' in scope
33 | var m = pthread_mutex_t()
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:36:7: error: cannot find 'pthread_mutexattr_settype' in scope
34 | var attr = pthread_mutexattr_t()
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
| `- error: cannot find 'pthread_mutexattr_settype' in scope
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:37:20: error: cannot find 'pthread_mutex_init' in scope
35 | pthread_mutexattr_init(&attr)
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
| `- error: cannot find 'pthread_mutex_init' in scope
38 | pthread_mutexattr_destroy(&attr)
39 | return m
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:38:7: error: cannot find 'pthread_mutexattr_destroy' in scope
36 | pthread_mutexattr_settype(&attr, 3) // Faster under contention
37 | precondition(pthread_mutex_init(&m, &attr) == 0, "pthread_mutex_init failed")
38 | pthread_mutexattr_destroy(&attr)
| `- error: cannot find 'pthread_mutexattr_destroy' in scope
39 | return m
40 | }()
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:43:7: error: cannot find 'pthread_mutex_destroy' in scope
41 |
42 | deinit {
43 | pthread_mutex_destroy(&m)
| `- error: cannot find 'pthread_mutex_destroy' in scope
44 | }
45 |
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:48:7: error: cannot find 'pthread_mutex_lock' in scope
46 | @inline(__always)
47 | func lock() {
48 | pthread_mutex_lock(&m)
| `- error: cannot find 'pthread_mutex_lock' in scope
49 | }
50 |
/host/spi-builder-workspace/Sources/AsyncChannels/FastLock.swift:53:7: error: cannot find 'pthread_mutex_unlock' in scope
51 | @inline(__always)
52 | func unlock() {
53 | pthread_mutex_unlock(&m)
| `- error: cannot find 'pthread_mutex_unlock' in scope
54 | }
55 | }
BUILD FAILURE 6.1 wasm