Build Information
Failed to build swift-distributed-actors, reference 1.0.0-beta.3 (d816a1), with Swift 6.2 for Wasm on 29 Aug 2025 20:37:37 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/akbashev/swift-distributed-actors.git
Reference: 1.0.0-beta.3
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/akbashev/swift-distributed-actors
* tag 1.0.0-beta.3 -> FETCH_HEAD
HEAD is now at d816a10 -test remove known flaky test of unsupported feature (#1079)
Cloned https://github.com/akbashev/swift-distributed-actors.git
Revision (git rev-parse @):
d816a10b70a6d537b2aa666ff735888b7ba40ab4
SUCCESS checkout https://github.com/akbashev/swift-distributed-actors.git at 1.0.0-beta.3
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/akbashev/swift-distributed-actors.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-cluster-membership
[1/2594] Fetching swift-cluster-membership
Fetched https://github.com/apple/swift-cluster-membership from cache (0.34s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/3897] Fetching swift-log
[235/5991] Fetching swift-log, swift-docc-plugin
[1246/8332] Fetching swift-log, swift-docc-plugin, swift-metrics
[6087/14459] Fetching swift-log, swift-docc-plugin, swift-metrics, swift-nio-extras
Fetched https://github.com/apple/swift-metrics.git from cache (0.63s)
[10893/12118] Fetching swift-log, swift-docc-plugin, swift-nio-extras
[11139/27807] Fetching swift-log, swift-docc-plugin, swift-nio-extras, swift-argument-parser
Fetching https://github.com/apple/swift-service-discovery
[13410/105746] Fetching swift-log, swift-docc-plugin, swift-nio-extras, swift-argument-parser, swift-nio
[27353/106873] Fetching swift-log, swift-docc-plugin, swift-nio-extras, swift-argument-parser, swift-nio, swift-service-discovery
Fetched https://github.com/apple/swift-service-discovery from cache (0.46s)
[30327/105746] Fetching swift-log, swift-docc-plugin, swift-nio-extras, swift-argument-parser, swift-nio
Fetching https://github.com/apple/swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (1.65s)
[42739/121023] Fetching swift-log, swift-nio-extras, swift-argument-parser, swift-nio, swift-collections
Fetched https://github.com/apple/swift-argument-parser from cache (1.66s)
[27397/105334] Fetching swift-log, swift-nio-extras, swift-nio, swift-collections
Fetching https://github.com/apple/swift-async-algorithms
[46028/110467] Fetching swift-log, swift-nio-extras, swift-nio, swift-collections, swift-async-algorithms
Fetching https://github.com/swift-server/swift-backtrace
Fetched https://github.com/apple/swift-async-algorithms from cache (0.56s)
Fetching https://github.com/apple/swift-protobuf
[57891/105334] Fetching swift-log, swift-nio-extras, swift-nio, swift-collections
[65696/105965] Fetching swift-log, swift-nio-extras, swift-nio, swift-collections, swift-backtrace
Fetched https://github.com/swift-server/swift-backtrace from cache (0.56s)
[69338/105334] Fetching swift-log, swift-nio-extras, swift-nio, swift-collections
Fetching https://github.com/apple/swift-nio-ssl
[80273/120409] Fetching swift-log, swift-nio-extras, swift-nio, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-collections from cache (2.52s)
[69035/143184] Fetching swift-log, swift-nio-extras, swift-nio, swift-nio-ssl, swift-protobuf
Fetching https://github.com/apple/swift-atomics
[77475/144992] Fetching swift-log, swift-nio-extras, swift-nio, swift-nio-ssl, swift-protobuf, swift-atomics
Fetched https://github.com/apple/swift-atomics from cache (0.75s)
[87018/143184] Fetching swift-log, swift-nio-extras, swift-nio, swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl from cache (4.00s)
[115141/128109] Fetching swift-log, swift-nio-extras, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (10.67s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (10.67s)
Fetched https://github.com/apple/swift-nio.git from cache (10.81s)
Fetched https://github.com/apple/swift-protobuf from cache (12.42s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 0.1.0 (15.58s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.0 (0.72s)
Computing version for https://github.com/apple/swift-service-discovery
Computed https://github.com/apple/swift-service-discovery at 1.4.0 (0.63s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.70s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3488] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.53s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.32s)
Computing version for https://github.com/swift-server/swift-backtrace
Computed https://github.com/swift-server/swift-backtrace at 1.3.5 (0.63s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.46s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (0.76s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.42s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.33.0 (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.98s)
Fetching https://github.com/apple/swift-system.git
[1/4941] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.44s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.02s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.49s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
[1/917] Fetching swift-http-types
[918/2093] Fetching swift-http-types, swift-http-structured-headers
[2094/8061] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms
[6750/19722] Fetching swift-http-types, swift-http-structured-headers, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (1.06s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.07s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.07s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.07s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.56s)
Fetching https://github.com/apple/swift-numerics.git
[1/6342] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.47s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.87s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.58s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.82s)
Computing version for https://github.com/apple/swift-protobuf
Computed https://github.com/apple/swift-protobuf at 1.31.0 (0.68s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
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/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
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.26.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.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
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.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.6.4
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
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.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.33.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
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-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-cluster-membership
Working copy of https://github.com/apple/swift-cluster-membership resolved at main (a297d76)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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.38.0
Creating working copy for https://github.com/apple/swift-protobuf
Working copy of https://github.com/apple/swift-protobuf resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 0.1.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.39s)
[1/1] Compiling plugin MultiNodeTestPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin Swift-DocC
[6/6] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[6/516] Write sources
[23/516] Compiling aesni-x86-apple.S
[24/516] Write sources
[27/516] Compiling aesni-gcm-x86_64-linux.S
[28/516] Copying PrivacyInfo.xcprivacy
[29/516] Write sources
[42/516] Compiling CNIOWindows shim.c
[43/516] Compiling _AtomicsShims.c
[44/516] Compiling CNIOWindows WSAStartup.c
[45/516] Compiling CNIOWASI CNIOWASI.c
[46/516] Compiling CNIOPosix event_loop_id.c
[47/516] Compiling CNIOLinux shim.c
[48/516] Compiling CNIOLinux liburing_shims.c
[49/516] Compiling CNIOLLHTTP c_nio_http.c
[50/516] Compiling CNIOLLHTTP c_nio_api.c
[51/516] Compiling CNIODarwin shim.c
[52/516] Compiling CNIOBoringSSLShims shims.c
[53/516] Compiling fiat_p256_adx_sqr.S
[54/516] Compiling x509.cc
[55/516] Compiling fiat_curve25519_adx_square.S
[56/516] Compiling fiat_p256_adx_mul.S
[57/516] Compiling fiat_curve25519_adx_mul.S
[58/516] Compiling v3_utl.cc
[59/516] Write swift-version-24593BA9C3E375BF.txt
[59/516] Compiling x509_cmp.cc
[61/516] Compiling x509_att.cc
[62/520] Compiling ssl_cipher.cc
[63/522] Compiling CNIOLLHTTP c_nio_llhttp.c
[64/607] Compiling tls_record.cc
[65/607] Compiling tls_method.cc
[66/619] Compiling tls13_server.cc
[67/626] Compiling tls13_enc.cc
[68/631] Compiling tls13_client.cc
[70/633] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/633] Emitting module CoreMetrics
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/633] Emitting module DistributedActorsConcurrencyHelpers
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:18:8: error: no such module 'Glibc'
16 | import Darwin
17 | #else
18 | import Glibc
| `- error: no such module 'Glibc'
19 | #endif
20 |
[73/633] Compiling DistributedActorsConcurrencyHelpers lock.swift
/host/spi-builder-workspace/Sources/DistributedActorsConcurrencyHelpers/lock.swift:18:8: error: no such module 'Glibc'
16 | import Darwin
17 | #else
18 | import Glibc
| `- error: no such module 'Glibc'
19 | #endif
20 |
[74/633] Emitting module ClusterMembership
[75/633] Emitting module InternalCollectionsUtilities
[76/633] Compiling CoreMetrics Locks.swift
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:56:49: error: cannot find type 'pthread_mutex_t' in scope
54 | UnsafeMutablePointer.allocate(capacity: 1)
55 | #else
56 | fileprivate let mutex: UnsafeMutablePointer<pthread_mutex_t> =
| `- error: cannot find type 'pthread_mutex_t' in scope
57 | UnsafeMutablePointer.allocate(capacity: 1)
58 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:65:20: error: cannot find 'pthread_mutexattr_t' in scope
63 | InitializeSRWLock(self.mutex)
64 | #else
65 | var attr = pthread_mutexattr_t()
| `- error: cannot find 'pthread_mutexattr_t' in scope
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:66:9: error: cannot find 'pthread_mutexattr_init' in scope
64 | #else
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
| `- error: cannot find 'pthread_mutexattr_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:9: error: cannot find 'pthread_mutexattr_settype' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'pthread_mutexattr_settype' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:48: error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot find 'PTHREAD_MUTEX_ERRORCHECK' in scope
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:67:43: error: cannot infer contextual base in reference to member 'init'
65 | var attr = pthread_mutexattr_t()
66 | pthread_mutexattr_init(&attr)
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
| `- error: cannot infer contextual base in reference to member 'init'
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:69:19: error: cannot find 'pthread_mutex_init' in scope
67 | pthread_mutexattr_settype(&attr, .init(PTHREAD_MUTEX_ERRORCHECK))
68 |
69 | let err = pthread_mutex_init(self.mutex, &attr)
| `- error: cannot find 'pthread_mutex_init' in scope
70 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
71 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:78:19: error: cannot find 'pthread_mutex_destroy' in scope
76 | // SRWLOCK does not need to be free'd
77 | #else
78 | let err = pthread_mutex_destroy(self.mutex)
| `- error: cannot find 'pthread_mutex_destroy' in scope
79 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
80 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:92:19: error: cannot find 'pthread_mutex_lock' in scope
90 | AcquireSRWLockExclusive(self.mutex)
91 | #else
92 | let err = pthread_mutex_lock(self.mutex)
| `- error: cannot find 'pthread_mutex_lock' in scope
93 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
94 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:105:19: error: cannot find 'pthread_mutex_unlock' in scope
103 | ReleaseSRWLockExclusive(self.mutex)
104 | #else
105 | let err = pthread_mutex_unlock(self.mutex)
| `- error: cannot find 'pthread_mutex_unlock' in scope
106 | precondition(err == 0, "\(#function) failed in pthread_mutex with error \(err)")
107 | #endif
/host/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Locks.swift:177:14: error: value of type 'ReadWriteLock' has no member 'rwlock'
175 | precondition(err == 0, "\(#function) failed in pthread_rwlock with error \(err)")
176 | #endif
177 | self.rwlock.deallocate()
| `- error: value of type 'ReadWriteLock' has no member 'rwlock'
178 | }
179 |
[77/633] Emitting module _NIOBase64
BUILD FAILURE 6.2 wasm