The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncChannels, reference main (0fed3c), with Swift 6.1 for Wasm on 27 Mar 2026 20:07:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
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 0fed3c0 Improve benchmark harness and compare Swift 6.3 performance (#24)
Cloned https://github.com/gh123man/Async-Channels.git
Revision (git rev-parse @):
0fed3c0a90214bfd8cf129d091e648b1b516b6da
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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-collections
[1/23214] Fetching swift-collections
Fetched https://github.com/apple/swift-collections from cache (2.38s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (3.80s)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Building for debugging...
[0/11] Write sources
[10/11] Write swift-version-24593BA9C3E375BF.txt
[12/29] Emitting module InternalCollectionsUtilities
[13/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[14/31] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[15/31] Compiling InternalCollectionsUtilities _SortedCollection.swift
[16/31] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[17/31] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[18/31] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/31] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[20/31] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[21/31] Compiling InternalCollectionsUtilities Integer rank.swift
[22/31] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[23/31] Compiling InternalCollectionsUtilities UInt+reversed.swift
[24/31] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[25/31] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/31] Compiling InternalCollectionsUtilities Span+Extras.swift
[27/31] Compiling InternalCollectionsUtilities String+Padding.swift
[28/31] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[29/31] Compiling InternalCollectionsUtilities Debugging.swift
[30/31] Compiling InternalCollectionsUtilities Descriptions.swift
[31/31] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[33/320] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[34/327] Compiling BitCollections BitArray._UnsafeHandle.swift
[35/327] Compiling BitCollections BitArray.swift
[36/327] Compiling BitCollections BitSet+BidirectionalCollection.swift
[37/327] Compiling BitCollections BitSet+Codable.swift
[38/331] Compiling HeapModule Heap+Descriptions.swift
[39/331] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[40/331] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[41/331] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[42/331] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[43/331] Compiling BitCollections BitArray+Invariants.swift
[44/331] Compiling BitCollections BitSet+Initializers.swift
[45/331] Compiling BitCollections BitSet+Invariants.swift
[46/331] Compiling BitCollections BitSet+Random.swift
[47/331] Compiling BitCollections BitSet+SetAlgebra basics.swift
[48/331] Compiling BitCollections BitArray+RandomBits.swift
[49/331] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[50/331] Compiling BitCollections BitArray+Shifts.swift
[51/331] Compiling BitCollections BitArray+Testing.swift
[52/331] Emitting module ContainersPreview
[53/331] Compiling BitCollections BinaryInteger extensions.swift
[54/331] Compiling BitCollections BitArray+BitwiseOperations.swift
[55/331] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[56/331] Compiling BitCollections BitArray+Codable.swift
[57/331] Compiling BitCollections BitArray+Collection.swift
[58/331] Compiling BitCollections BitArray+Copy.swift
[59/331] Compiling BitCollections BitArray+CustomReflectable.swift
[60/331] Compiling BitCollections BitArray+Descriptions.swift
[61/331] Compiling BitCollections BitArray+Equatable.swift
[62/331] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[63/331] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[64/331] Compiling BitCollections BitArray+Extras.swift
[65/331] Compiling BitCollections BitArray+Fill.swift
[66/331] Compiling BitCollections BitArray+Hashable.swift
[67/331] Compiling BitCollections BitArray+Initializers.swift
[68/331] Compiling ContainersPreview Box.swift
[69/331] Compiling ContainersPreview Inout.swift
[70/331] Compiling ContainersPreview InputSpan.swift
[71/331] Compiling ContainersPreview Shared.swift
[72/332] Compiling HeapModule _HeapNode.swift
[74/332] Compiling HeapModule Heap.swift
[75/332] Compiling HeapModule Heap+Invariants.swift
[76/332] Compiling HeapModule Heap+UnsafeHandle.swift
[77/332] Compiling _RopeModule Rope+Extract.swift
[78/332] Compiling _RopeModule Rope+Find.swift
[79/332] Compiling _RopeModule Rope+ForEachWhile.swift
[80/332] Compiling _RopeModule Rope+Insert.swift
[81/332] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[82/332] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[83/332] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[84/332] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[85/332] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[86/332] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[87/382] Emitting module HeapModule
[89/383] Compiling DequeModule UniqueDeque+Hashable.swift
[90/383] Compiling DequeModule UniqueDeque+Initializers.swift
[91/383] Compiling DequeModule UniqueDeque+Insertions.swift
[92/383] Compiling DequeModule UniqueDeque+Prepend.swift
[93/383] Compiling DequeModule UniqueDeque+Removals.swift
[94/388] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[95/388] Compiling BitCollections BitSet.Counted.swift
[96/388] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[97/388] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[98/388] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[99/388] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[100/388] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[101/388] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[102/388] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[103/388] Compiling _RopeModule Rope+_UnsafeHandle.swift
[104/388] Compiling DequeModule RigidDeque+Equatable.swift
[105/388] Compiling DequeModule RigidDeque+Experimental.swift
[106/388] Compiling DequeModule RigidDeque+Hashable.swift
[107/388] Compiling DequeModule RigidDeque+Initializers.swift
[108/388] Compiling DequeModule RigidDeque+Insertions.swift
[109/388] Compiling DequeModule RigidDeque+Prepend.swift
[110/388] Compiling DequeModule _DequeBuffer.swift
[111/395] Emitting module BitCollections
[117/395] Compiling DequeModule Deque+Codable.swift
[118/395] Compiling DequeModule Deque+Collection.swift
[119/395] Compiling DequeModule Deque+CustomReflectable.swift
[120/402] Compiling DequeModule Deque+Descriptions.swift
[121/402] Compiling DequeModule Deque+Equatable.swift
[122/402] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[123/402] Compiling DequeModule UniqueDeque+Consumption.swift
[124/402] Compiling DequeModule UniqueDeque+Container.swift
[125/402] Compiling DequeModule UniqueDeque+Descriptions.swift
[126/402] Compiling DequeModule UniqueDeque+Equatable.swift
[127/402] Compiling DequeModule UniqueDeque+Experimental.swift
[135/402] Compiling DequeModule _DequeBufferHeader.swift
[136/402] Compiling DequeModule Deque._Storage.swift
[137/402] Compiling DequeModule Deque._UnsafeHandle.swift
[138/402] Compiling DequeModule Deque.swift
[139/402] Compiling DequeModule RigidDeque+Removals.swift
[140/402] Compiling DequeModule RigidDeque+Replacements.swift
[141/402] Compiling DequeModule RigidDeque+Testing.swift
[142/402] Compiling DequeModule RigidDeque.swift
[143/402] Compiling DequeModule UniqueDeque+Append.swift
[151/402] Compiling DequeModule UniqueDeque+Replacements.swift
[152/402] Compiling DequeModule UniqueDeque.swift
[153/402] Compiling DequeModule _DequeSlot.swift
[154/402] Compiling DequeModule _UnsafeDequeHandle.swift
[155/402] Compiling DequeModule _UnsafeDequeSegments.swift
[158/402] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[159/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[160/402] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[161/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[162/402] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[163/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[164/402] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[165/402] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[166/402] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[167/402] Compiling HashTreeCollections TreeSet.swift
[189/402] Compiling DequeModule Deque+Testing.swift
[203/411] Compiling DequeModule RigidDeque+Append.swift
[204/411] Compiling DequeModule RigidDeque+Consumption.swift
[205/411] Compiling DequeModule RigidDeque+Container.swift
[206/411] Compiling DequeModule RigidDeque+Descriptions.swift
[207/411] Compiling DequeModule Deque+Extras.swift
[208/411] Compiling DequeModule Deque+Hashable.swift
[261/411] Compiling BitCollections BitSet.Index.swift
[262/411] Compiling OrderedCollections OrderedSet+Sendable.swift
[263/411] Compiling OrderedCollections OrderedSet+SubSequence.swift
[264/411] Compiling OrderedCollections OrderedSet+Testing.swift
[265/411] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[266/411] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[267/411] Compiling OrderedCollections OrderedSet.swift
[304/412] Compiling OrderedCollections _UnsafeBitset.swift
[305/412] Compiling _RopeModule Rope+Collection.swift
[306/412] Compiling _RopeModule Rope+Index.swift
[307/412] Compiling _RopeModule Rope+Sequence.swift
[308/412] Compiling _RopeModule Rope+Append.swift
[344/412] Emitting module _RopeModule
[345/412] Emitting module OrderedCollections
[354/413] Emitting module DequeModule
[404/414] Compiling _RopeModule Rope+Join.swift
[405/414] Compiling _RopeModule Rope+MutatingForEach.swift
[406/414] Compiling _RopeModule Rope+Remove.swift
[407/414] Compiling _RopeModule Rope+RemoveSubrange.swift
[408/414] Compiling _RopeModule Rope+Split.swift
[409/414] Compiling _RopeModule Optional Utilities.swift
[410/414] Compiling _RopeModule String Utilities.swift
[411/414] Compiling _RopeModule String.Index+ABI.swift
[412/414] Compiling _RopeModule _CharacterRecognizer.swift
[413/415] Emitting module HashTreeCollections
[417/422] Compiling Collections HeapModule reexports.swift
[418/422] Compiling Collections OrderedCollections reexports.swift
[419/422] Compiling Collections BitCollections reexports.swift
[420/422] Emitting module Collections
[421/422] Compiling Collections HashTreeCollections reexports.swift
[422/422] Compiling Collections DequeModule reexports.swift
[424/431] 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 | }
[425/432] 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 |         nonisolated(unsafe) var val: T?
36 |         Task {
[426/432] 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 |   }()
[427/432] Compiling AsyncChannels Synchronization.swift
[428/432] Compiling AsyncChannels Select.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[429/432] 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 |   }()
[430/432] 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 |   }()
[431/432] 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 |         nonisolated(unsafe) var val: T?
35 |         Task {
[432/432] 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-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[3/19] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[4/21] Compiling InternalCollectionsUtilities _SortedCollection.swift
[5/21] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/21] Compiling InternalCollectionsUtilities Debugging.swift
[7/21] Compiling InternalCollectionsUtilities Descriptions.swift
[8/21] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[9/21] Compiling InternalCollectionsUtilities Integer rank.swift
[10/21] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[11/21] Compiling InternalCollectionsUtilities UInt+reversed.swift
[12/21] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[13/21] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[14/21] Emitting module InternalCollectionsUtilities
[15/21] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[16/21] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[17/21] Compiling InternalCollectionsUtilities String+Padding.swift
[18/21] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[19/21] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[20/21] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[21/21] Compiling InternalCollectionsUtilities Span+Extras.swift
[23/295] Compiling BitCollections BitArray+Testing.swift
[24/295] Compiling BitCollections BitArray._UnsafeHandle.swift
[25/295] Compiling BitCollections BitArray.swift
[26/295] Compiling _RopeModule BigString+UTF8View.swift
[27/313] Compiling BitCollections BitArray+Equatable.swift
[28/313] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[29/313] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[30/313] Compiling BitCollections BitArray+Extras.swift
[31/313] Compiling BitCollections BitArray+Fill.swift
[32/321] Compiling BitCollections BitArray+Hashable.swift
[33/321] Compiling BitCollections BitArray+Initializers.swift
[34/321] Compiling BitCollections BitArray+Invariants.swift
[35/321] Compiling BitCollections BinaryInteger extensions.swift
[36/321] Compiling BitCollections BitArray+BitwiseOperations.swift
[37/321] Compiling HeapModule Heap+Descriptions.swift
[38/321] Compiling BitCollections BitArray+LosslessStringConvertible.swift
[39/321] Compiling _RopeModule BigString+Invariants.swift
[40/321] Compiling _RopeModule BigString+Metrics.swift
[41/321] Compiling BitCollections BitArray+Shifts.swift
[42/321] Compiling BitCollections BitSet+Equatable.swift
[43/321] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[44/321] Compiling BitCollections BitSet+Extras.swift
[45/321] Compiling BitCollections BitSet+Hashable.swift
[46/321] Emitting module ContainersPreview
[47/321] Compiling BitCollections BitArray+Descriptions.swift
[48/321] Compiling BitCollections BitSet+Codable.swift
[49/321] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[50/321] Compiling BitCollections BitSet+CustomReflectable.swift
[51/321] Compiling BitCollections BitSet+CustomStringConvertible.swift
[52/321] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[53/321] Compiling BitCollections BitArray+Codable.swift
[54/321] Compiling BitCollections BitArray+Collection.swift
[55/321] Compiling BitCollections BitArray+Copy.swift
[56/321] Compiling BitCollections BitArray+CustomReflectable.swift
[87/330] Compiling HeapModule _HeapNode.swift
[88/330] Compiling ContainersPreview Box.swift
[89/330] Compiling ContainersPreview Inout.swift
[90/330] Compiling ContainersPreview InputSpan.swift
[91/330] Compiling ContainersPreview Shared.swift
[92/331] Compiling HeapModule Heap.swift
[93/331] Compiling HeapModule Heap+UnsafeHandle.swift
[94/331] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[95/331] Compiling HeapModule Heap+Invariants.swift
[97/331] Emitting module HeapModule
[99/332] Compiling _RopeModule Rope+Extract.swift
[100/332] Compiling _RopeModule Rope+Find.swift
[101/332] Compiling _RopeModule Rope+ForEachWhile.swift
[102/332] Compiling _RopeModule Rope+Insert.swift
[103/332] Compiling _RopeModule Rope+Join.swift
[104/332] Compiling _RopeModule Rope+MutatingForEach.swift
[105/332] Compiling _RopeModule Rope+Remove.swift
[106/332] Compiling _RopeModule Rope+RemoveSubrange.swift
[107/332] Compiling _RopeModule Rope+Split.swift
[108/332] Compiling _RopeModule Optional Utilities.swift
[109/382] Emitting module BitCollections
[110/389] Compiling _RopeModule BigString+ReplaceSubrange.swift
[111/389] Compiling _RopeModule BigString+Split.swift
[112/389] Compiling _RopeModule Range+BigString.swift
[113/389] Compiling _RopeModule Rope+_Node.swift
[114/389] Compiling _RopeModule Rope+_Storage.swift
[115/389] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[116/389] Compiling BitCollections BitSet.Index.swift
[117/389] Compiling _RopeModule BigString+Sequence.swift
[118/389] Compiling _RopeModule BigString+TextOutputStream.swift
[119/389] Compiling _RopeModule BigString+Append.swift
[120/389] Compiling _RopeModule BigString+Initializers.swift
[121/389] Compiling _RopeModule BigString+Insert.swift
[122/389] Compiling _RopeModule BigString+Managing Breaks.swift
[123/389] Compiling _RopeModule BigString+RemoveSubrange.swift
[124/396] Compiling OrderedCollections OrderedSet+SubSequence.swift
[125/396] Compiling OrderedCollections OrderedSet+Testing.swift
[126/396] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[127/396] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[128/396] Compiling OrderedCollections OrderedSet.swift
[129/396] Compiling OrderedCollections _UnsafeBitset.swift
[130/396] Compiling _RopeModule Rope+Collection.swift
[131/396] Compiling _RopeModule Rope+Index.swift
[132/396] Compiling _RopeModule Rope+Sequence.swift
[133/396] Compiling _RopeModule Rope+Append.swift
[134/396] Compiling DequeModule RigidDeque+Equatable.swift
[135/396] Compiling DequeModule RigidDeque+Experimental.swift
[136/396] Compiling DequeModule RigidDeque+Hashable.swift
[137/396] Compiling DequeModule RigidDeque+Initializers.swift
[138/396] Compiling DequeModule RigidDeque+Insertions.swift
[139/396] Compiling DequeModule RigidDeque+Prepend.swift
[142/401] Compiling DequeModule Deque+Codable.swift
[143/401] Compiling DequeModule Deque+Collection.swift
[144/401] Compiling DequeModule Deque+CustomReflectable.swift
[145/401] Compiling DequeModule Deque+Descriptions.swift
[146/401] Compiling DequeModule Deque+Equatable.swift
[147/401] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[148/401] Compiling DequeModule _DequeBuffer.swift
[149/401] Compiling DequeModule _DequeBufferHeader.swift
[150/401] Compiling DequeModule RigidDeque+Append.swift
[151/401] Compiling DequeModule RigidDeque+Consumption.swift
[152/401] Compiling DequeModule RigidDeque+Container.swift
[153/401] Compiling DequeModule RigidDeque+Descriptions.swift
[154/401] Compiling DequeModule RigidDeque+Removals.swift
[155/401] Compiling DequeModule RigidDeque+Replacements.swift
[156/401] Compiling DequeModule RigidDeque+Testing.swift
[157/401] Compiling DequeModule RigidDeque.swift
[158/401] Compiling DequeModule UniqueDeque+Append.swift
[159/401] Compiling DequeModule UniqueDeque+Hashable.swift
[160/401] Compiling DequeModule UniqueDeque+Initializers.swift
[161/401] Compiling DequeModule UniqueDeque+Insertions.swift
[162/401] Compiling DequeModule UniqueDeque+Prepend.swift
[163/401] Compiling DequeModule UniqueDeque+Removals.swift
[164/401] Compiling DequeModule UniqueDeque+Consumption.swift
[165/401] Compiling DequeModule UniqueDeque+Container.swift
[166/401] Compiling DequeModule UniqueDeque+Descriptions.swift
[167/401] Compiling DequeModule UniqueDeque+Equatable.swift
[168/401] Compiling DequeModule UniqueDeque+Experimental.swift
[176/401] Compiling DequeModule UniqueDeque+Replacements.swift
[177/401] Compiling DequeModule UniqueDeque.swift
[178/401] Compiling DequeModule _DequeSlot.swift
[179/401] Compiling DequeModule _UnsafeDequeHandle.swift
[180/401] Compiling DequeModule _UnsafeDequeSegments.swift
[208/401] Compiling OrderedCollections OrderedSet+Sendable.swift
[225/401] Compiling DequeModule Deque+Testing.swift
[226/401] Compiling DequeModule Deque._Storage.swift
[227/401] Compiling DequeModule Deque._UnsafeHandle.swift
[228/401] Compiling DequeModule Deque.swift
[233/401] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[234/401] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[235/401] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[236/401] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[237/401] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[238/401] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[239/401] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[240/401] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[241/401] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[242/401] Compiling HashTreeCollections TreeSet.swift
[265/401] Compiling DequeModule Deque+Extras.swift
[266/401] Compiling DequeModule Deque+Hashable.swift
[361/402] Emitting module _RopeModule
[362/403] Emitting module OrderedCollections
[387/404] Emitting module DequeModule
[399/404] Emitting module HashTreeCollections
[407/412] Compiling Collections OrderedCollections reexports.swift
[408/412] Compiling Collections HeapModule reexports.swift
[409/412] Compiling Collections DequeModule reexports.swift
[410/412] Compiling Collections HashTreeCollections reexports.swift
[411/412] Compiling Collections BitCollections reexports.swift
[412/412] Emitting module Collections
[414/421] 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 |         nonisolated(unsafe) var val: T?
36 |         Task {
[415/422] Compiling AsyncChannels Synchronization.swift
[416/422] 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 |         nonisolated(unsafe) var val: T?
35 |         Task {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[417/422] 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 |   }()
[418/422] 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 |   }()
[419/422] 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 | }
[420/422] 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 |   }()
[421/422] Compiling AsyncChannels Select.swift
[422/422] 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 |   }()
BUILD FAILURE 6.1 wasm