Build Information
Failed to build swift-distributed-actors, reference main (70f9f0), with Swift 6.3 for Wasm on 23 Apr 2026 06:52:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-distributed-actors.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/apple/swift-distributed-actors
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 70f9f0a Drop Swift 6.0 (#1232)
Cloned https://github.com/apple/swift-distributed-actors.git
Revision (git rev-parse @):
70f9f0a11fab1aeb82def2bccfe26704fad8cae7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-distributed-actors.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/swift-distributed-actors.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-cluster-membership
[1/3107] Fetching swift-cluster-membership
Fetched https://github.com/apple/swift-cluster-membership from cache (0.42s)
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-service-discovery
Fetching https://github.com/apple/swift-nio-extras.git
[1/1238] Fetching swift-service-discovery
[571/7485] Fetching swift-service-discovery, swift-async-algorithms
[696/24949] Fetching swift-service-discovery, swift-async-algorithms, swift-argument-parser
[1582/31459] Fetching swift-service-discovery, swift-async-algorithms, swift-argument-parser, swift-nio-extras
Fetched https://github.com/apple/swift-service-discovery from cache (0.79s)
Fetching https://github.com/apple/swift-protobuf
[17298/30221] Fetching swift-async-algorithms, swift-argument-parser, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.04s)
[15154/23711] Fetching swift-async-algorithms, swift-argument-parser
Fetching https://github.com/apple/swift-nio-ssl
[23712/70879] Fetching swift-async-algorithms, swift-argument-parser, swift-protobuf
[27014/86319] Fetching swift-async-algorithms, swift-argument-parser, swift-protobuf, swift-nio-ssl
Fetching https://github.com/swift-server/swift-backtrace
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-async-algorithms from cache (1.89s)
[21847/80072] Fetching swift-argument-parser, swift-protobuf, swift-nio-ssl
Fetched https://github.com/apple/swift-argument-parser from cache (1.91s)
[4692/62608] Fetching swift-protobuf, swift-nio-ssl
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics
[6718/65796] Fetching swift-protobuf, swift-nio-ssl, swift-metrics
[9092/66427] Fetching swift-protobuf, swift-nio-ssl, swift-metrics, swift-backtrace
[9900/68247] Fetching swift-protobuf, swift-nio-ssl, swift-metrics, swift-backtrace, swift-atomics
[11567/74883] Fetching swift-protobuf, swift-nio-ssl, swift-metrics, swift-backtrace, swift-atomics, swift-log
Fetched https://github.com/swift-server/swift-backtrace from cache (0.83s)
[17339/74252] Fetching swift-protobuf, swift-nio-ssl, swift-metrics, swift-atomics, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.84s)
[14242/71064] Fetching swift-protobuf, swift-nio-ssl, swift-atomics, swift-log
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/apple/swift-atomics from cache (1.40s)
[20823/69244] Fetching swift-protobuf, swift-nio-ssl, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.46s)
[14959/62608] Fetching swift-protobuf, swift-nio-ssl
[16504/86265] Fetching swift-protobuf, swift-nio-ssl, swift-collections
Fetched https://github.com/apple/swift-nio-ssl from cache (5.06s)
[54317/70825] Fetching swift-protobuf, swift-collections
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-collections from cache (4.32s)
[42923/47168] Fetching swift-protobuf
[45283/130386] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-protobuf from cache (19.13s)
Fetched https://github.com/apple/swift-nio.git from cache (15.49s)
Computing version for https://github.com/apple/swift-service-discovery
Computed https://github.com/apple/swift-service-discovery at 1.4.1 (23.79s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.88s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.29s)
Computing version for https://github.com/swift-server/swift-backtrace
Computed https://github.com/swift-server/swift-backtrace at 1.3.5 (0.96s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.4.1 (1.32s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.10.1 (0.97s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.0 (1.00s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (2.04s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
[1/7152] Fetching swift-certificates
[73/13210] Fetching swift-certificates, swift-algorithms
[195/15955] Fetching swift-certificates, swift-algorithms, swift-service-lifecycle
[9649/17758] Fetching swift-certificates, swift-algorithms, swift-service-lifecycle, swift-asn1
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.22s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-algorithms.git from cache (1.23s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.24s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.25s)
[1/1242] Fetching swift-http-structured-headers
[1243/13350] Fetching swift-http-structured-headers, swift-nio-http2
Fetching https://github.com/apple/swift-http-types.git
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.07s)
[2059/12108] Fetching swift-nio-http2
[3755/13151] Fetching swift-nio-http2, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.58s)
[6418/12108] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (2.85s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (5.01s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.12s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.94s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.72s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.88s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.75s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.36s)
Fetching https://github.com/apple/swift-system.git
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (1.75s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (1.84s)
Fetching https://github.com/apple/swift-crypto.git
[1/17436] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (3.76s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (4.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (1.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.95s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (1.10s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.77s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.37.0 (0.90s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-backtrace
Working copy of https://github.com/swift-server/swift-backtrace resolved at 1.3.5
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.37.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-service-discovery
Working copy of https://github.com/apple/swift-service-discovery resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-cluster-membership
Working copy of https://github.com/apple/swift-cluster-membership resolved at main (1e5f7b7)
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.43.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:68:25: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
66 | let multiNodeRunner = buildResult.builtArtifacts
67 | .filter { $0.kind == .executable }
68 | .first { $0.path.lastComponent.starts(with: toolName) }
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
69 | guard let multiNodeRunner = multiNodeRunner else {
70 | throw MultiNodeTestPluginError(message: "Failed")
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:68:30: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
66 | let multiNodeRunner = buildResult.builtArtifacts
67 | .filter { $0.kind == .executable }
68 | .first { $0.path.lastComponent.starts(with: toolName) }
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
69 | guard let multiNodeRunner = multiNodeRunner else {
70 | throw MultiNodeTestPluginError(message: "Failed")
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:73:65: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
71 | }
72 |
73 | log("Detected multi-node test runner: \(multiNodeRunner.path.lastComponent)")
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
74 |
75 | let process = Process()
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:73:70: warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
71 | }
72 |
73 | log("Detected multi-node test runner: \(multiNodeRunner.path.lastComponent)")
| `- warning: 'lastComponent' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
74 |
75 | let process = Process()
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:76:46: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
74 |
75 | let process = Process()
76 | process.binaryPath = multiNodeRunner.path.string
| |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
| `- note: use 'url' instead
77 | process.arguments = arguments
78 |
/host/spi-builder-workspace/Plugins/MultiNodeTestPlugin/plugin.swift:76:51: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
74 |
75 | let process = Process()
76 | process.binaryPath = multiNodeRunner.path.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
77 | process.arguments = arguments
78 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin MultiNodeTestPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
[4/4] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[4/510] Write sources
[29/510] Compiling _AtomicsShims.c
[30/510] Write sources
[36/510] Compiling CNIOWindows shim.c
[37/510] Compiling CNIOWindows WSAStartup.c
[38/510] Compiling CNIOOpenBSD shim.c
[39/510] Compiling CNIOWASI CNIOWASI.c
[40/510] Compiling CNIOLinux liburing_shims.c
[41/510] Compiling CNIOPosix event_loop_id.c
[42/510] Compiling CNIOLinux shim.c
[43/510] Write swift-version-24593BA9C3E375BF.txt
[44/510] Compiling CNIODarwin shim.c
[45/510] Compiling CNIOLLHTTP c_nio_http.c
[46/510] Compiling fiat_p256_adx_mul.S
[47/510] Compiling fiat_curve25519_adx_square.S
[48/510] Compiling fiat_p256_adx_sqr.S
[49/511] Compiling CNIOLLHTTP c_nio_api.c
[50/626] Compiling CNIOBoringSSLShims shims.c
[52/631] Emitting module _NIODataStructures
[52/631] Compiling CNIOLLHTTP c_nio_llhttp.c
[54/633] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[55/633] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[56/635] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[57/635] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/635] Emitting module DistributedActorsConcurrencyHelpers
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:42:49: error: cannot find type 'pthread_mutex_t' in scope
40 | @available(*, noasync, message: "Locks are bad in async code; If you truly must, use DispatchSemaphore")
41 | public final class Lock {
42 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
43 |
44 | /// Create a new lock.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:113:44: error: cannot find type 'pthread_cond_t' in scope
111 | private var _value: T
112 | private let mutex: Lock
113 | private let cond: UnsafeMutablePointer<pthread_cond_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_cond_t' in scope
114 |
115 | /// Create the lock, and initialize the state variable to `value`.
[59/635] Compiling DistributedActorsConcurrencyHelpers lock.swift
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:42:49: error: cannot find type 'pthread_mutex_t' in scope
40 | @available(*, noasync, message: "Locks are bad in async code; If you truly must, use DispatchSemaphore")
41 | public final class Lock {
42 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_mutex_t' in scope
43 |
44 | /// Create a new lock.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:113:44: error: cannot find type 'pthread_cond_t' in scope
111 | private var _value: T
112 | private let mutex: Lock
113 | private let cond: UnsafeMutablePointer<pthread_cond_t> = UnsafeMutablePointer.allocate(capacity: 1)
| `- error: cannot find type 'pthread_cond_t' in scope
114 |
115 | /// Create the lock, and initialize the state variable to `value`.
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:46:20: error: cannot find 'pthread_mutexattr_t' in scope
44 | /// Create a new lock.
45 | public init() {
46 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:47:9: error: cannot find 'pthread_mutexattr_init' in scope
45 | public init() {
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
49 |
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:9: error: cannot find 'pthread_mutexattr_settype' in scope
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:48:43: error: cannot infer contextual base in reference to member 'init'
46 | var attr = pthread_mutexattr_t()
47 | pthread_mutexattr_init(&attr)
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:50:19: error: cannot find 'pthread_mutex_init' in scope
48 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
49 |
50 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
51 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
52 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:55:19: error: cannot find 'pthread_mutex_destroy' in scope
53 |
54 | deinit {
55 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
56 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
57 | mutex.deallocate()
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:65:19: error: cannot find 'pthread_mutex_lock' in scope
63 | /// `unlock`, to simplify lock handling.
64 | public func lock() {
65 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
66 | if err != 0 {
67 | fatalError("\(#function) failed in pthread_mutex with error \(err)")
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:76:19: error: cannot find 'pthread_mutex_unlock' in scope
74 | /// `lock`, to simplify lock handling.
75 | public func unlock() {
76 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
77 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
78 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:121:19: error: cannot find 'pthread_cond_init' in scope
119 | self._value = value
120 | self.mutex = Lock()
121 | let err = pthread_cond_init(self.cond, nil)
| `- error: cannot find 'pthread_cond_init' in scope
122 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
123 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:121:48: error: 'nil' requires a contextual type
119 | self._value = value
120 | self.mutex = Lock()
121 | let err = pthread_cond_init(self.cond, nil)
| `- error: 'nil' requires a contextual type
122 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
123 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:126:19: error: cannot find 'pthread_cond_destroy' in scope
124 |
125 | deinit {
126 | let err = pthread_cond_destroy(self.cond)
| `- error: cannot find 'pthread_cond_destroy' in scope
127 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
128 | self.cond.deallocate()
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:164:23: error: cannot find 'pthread_cond_wait' in scope
162 | break
163 | }
164 | let err = pthread_cond_wait(self.cond, self.mutex.mutex)
| `- error: cannot find 'pthread_cond_wait' in scope
165 | precondition(err == 0, "\(#function) failed in pthread_cond with error \(err)")
166 | }
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:185:23: error: cannot find 'timeval' in scope
183 | let timeoutNS = Int64(timeoutSeconds * Double(nsecPerSec))
184 |
185 | var curTime = timeval()
| `- error: cannot find 'timeval' in scope
186 | gettimeofday(&curTime, nil)
187 |
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:186:9: error: cannot find 'gettimeofday' in scope
184 |
185 | var curTime = timeval()
186 | gettimeofday(&curTime, nil)
| `- error: cannot find 'gettimeofday' in scope
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:186:32: error: 'nil' requires a contextual type
184 |
185 | var curTime = timeval()
186 | gettimeofday(&curTime, nil)
| `- error: 'nil' requires a contextual type
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:189:26: error: cannot find 'timespec' in scope
187 |
188 | let allNSecs: Int64 = timeoutNS + Int64(curTime.tv_usec) * 1000
189 | var timeoutAbs = timespec(
| `- error: cannot find 'timespec' in scope
190 | tv_sec: curTime.tv_sec + Int(allNSecs / nsecPerSec),
191 | tv_nsec: Int(allNSecs % nsecPerSec)
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:199:20: error: cannot find 'pthread_cond_timedwait' in scope
197 | return true
198 | }
199 | switch pthread_cond_timedwait(self.cond, self.mutex.mutex, &timeoutAbs) {
| `- error: cannot find 'pthread_cond_timedwait' in scope
200 | case 0:
201 | continue
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:202:18: error: cannot find 'ETIMEDOUT' in scope
200 | case 0:
201 | continue
202 | case ETIMEDOUT:
| `- error: cannot find 'ETIMEDOUT' in scope
203 | self.unlock()
204 | return false
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:218:19: error: cannot find 'pthread_cond_broadcast' in scope
216 | self._value = newValue
217 | self.unlock()
218 | let err = pthread_cond_broadcast(self.cond)
| `- error: cannot find 'pthread_cond_broadcast' in scope
219 | precondition(err == 0, "\(#function) failed in pthread_cond with error \(err)")
220 | }
[60/635] Compiling _NIODataStructures PriorityQueue.swift
[61/635] Compiling ClusterMembership Node.swift
[62/635] Emitting module ClusterMembership
[63/636] Compiling Logging LogEvent.swift
[64/636] Emitting module _NIOBase64
[65/636] Compiling _NIOBase64 Base64.swift
[67/636] Compiling InternalCollectionsUtilities _SortedCollection.swift
[68/636] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[69/637] Compiling _NIODataStructures _TinyArray.swift
[71/637] Compiling SwiftProtobuf AnyMessageStorage.swift
[72/637] Compiling SwiftProtobuf AnyUnpackError.swift
[73/637] Compiling SwiftProtobuf AsyncMessageSequence.swift
[74/637] Emitting module InternalCollectionsUtilities
[75/637] Compiling SwiftProtobuf BinaryDecoder.swift
[76/637] Compiling SwiftProtobuf BinaryDecodingError.swift
[77/637] Compiling SwiftProtobuf BinaryDecodingOptions.swift
[78/637] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[79/637] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[80/637] Compiling InternalCollectionsUtilities Span+Extras.swift
[81/637] Compiling Logging LogHandler.swift
[82/637] Compiling SwiftProtobuf BinaryDelimited.swift
[83/637] Compiling SwiftProtobuf BinaryEncoder.swift
[84/637] Compiling CoreMetrics MappingMetricsFactory.swift
BUILD FAILURE 6.3 wasm