Build Information
Failed to build XPCConnectionSession, reference main (7286e3), with Swift 6.4 for Wasm on 19 Sep 2026 15:21:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/XPCConnectionSession.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/ChimeHQ/XPCConnectionSession
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7286e38 funding
Cloned https://github.com/ChimeHQ/XPCConnectionSession.git
Revision (git rev-parse @):
7286e38e7c8a6abb2b2dea5c172509c55f470409
SUCCESS checkout https://github.com/ChimeHQ/XPCConnectionSession.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/ChimeHQ/XPCConnectionSession.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
[22 / 30] XPCConnectionSession
/host/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:6:2: [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m4 |[0;0m ///
[0;36m5 |[0;0m /// Both the remote and local systems must use this protocol.
[0;36m6 |[0;0m @objc public protocol XPCConnectionSessionCommunicationProtocol {
[0;36m|[0;0m `- [1;31merror: [1;39mObjective-C interoperability is disabled[0;0m
[0;36m7 |[0;0m typealias Reply = @Sendable (Data) -> Void
[0;36m8 |[0;0m
/host/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:52:26: [1;31merror: [1;39mcannot find type 'NSXPCConnection' in scope[0;0m
[0;36m50 |[0;0m /// A type that emulates the behavior and API of `XPCSession`.
[0;36m51 |[0;0m public final class XPCConnectionSession: @unchecked Sendable {
[0;36m52 |[0;0m private let connection: [4;39mNSXPCConnection[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSXPCConnection' in scope[0;0m
[0;36m53 |[0;0m private let queue = DispatchQueue(label: "com.chimehq.XPCConnectionSession")
[0;36m54 |[0;0m private let channelHandler = IncomingHandler()
/host/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:53:22: [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m51 |[0;0m public final class XPCConnectionSession: @unchecked Sendable {
[0;36m52 |[0;0m private let connection: NSXPCConnection
[0;36m53 |[0;0m private let queue = [4;39mDispatchQueue[0;0m(label: "com.chimehq.XPCConnectionSession")
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'DispatchQueue' in scope[0;0m
[0;36m54 |[0;0m private let channelHandler = IncomingHandler()
[0;36m55 |[0;0m
/host/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:59:26: [1;31merror: [1;39mcannot find type 'NSXPCConnection' in scope[0;0m
[0;36m57 |[0;0m ///
[0;36m58 |[0;0m /// The initializing session **must** never be used once this is done. Effectively, this is a consuming operation, but that is currently not possible to express.
[0;36m59 |[0;0m public init(connection: [4;39mNSXPCConnection[0;0m) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'NSXPCConnection' in scope[0;0m
[0;36m60 |[0;0m self.connection = connection
[0;36m61 |[0;0m
/host/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift:145:14: [1;33mwarning: [1;39m'@_unsafeInheritExecutor' is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode[0;0m
[0;36m143 |[0;0m /// Sends a message to the remote service.
[0;36m144 |[0;0m @_unsafeInheritExecutor
[0;36m145 |[0;0m public func send<Message: Encodable, Reply: Decodable & Sendable>(_ message: Message) async throws -> Reply {
[0;36m|[0;0m `- [1;33mwarning: [1;39m'@_unsafeInheritExecutor' is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode[0;0m
[0;36m146 |[0;0m try await withCheckedThrowingContinuation { (continuation: CheckedContinuation<Reply, any Error>) in
[0;36m147 |[0;0m do {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/XPCConnectionSession/XPCConnectionSession.swift /host/spi-builder-workspace/Sources/XPCConnectionSession/XPCReceivedConnectionMessage.swift /host/spi-builder-workspace/Sources/XPCConnectionSession/XPCSession+Async.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name XPCConnectionSession -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/Objects-normal/wasm32/XPCConnectionSession_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/Objects-normal/wasm32/Modules/XPCConnectionSession.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/Objects-normal/wasm32/Modules/XPCConnectionSession.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/Objects-normal/wasm32/XPCConnectionSession-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/Objects-normal/wasm32/XPCConnectionSession-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/Objects-normal/wasm32/XPCConnectionSession-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/XPCConnectionSession.build/Debug-webassembly-wasm32/XPCConnectionSession-t.build/Objects-normal/wasm32/Modules/XPCConnectionSession.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm