The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Connect, reference main (9bae7f), with Swift 6.4 for Wasm on 19 Nov 2026 15:14:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/connectrpc/connect-swift.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/connectrpc/connect-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9bae7fc Raise the toolchain floor to Swift 6.2 (#456)
Cloned https://github.com/connectrpc/connect-swift.git
Revision (git rev-parse @):
9bae7fc052014a0ef1f432b64f4909de0de42b24
SUCCESS checkout https://github.com/connectrpc/connect-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/connectrpc/connect-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
[1/16966] Fetching swift-nio-ssl
[1359/29404] Fetching swift-nio-ssl, swift-nio-http2
[14850/86641] Fetching swift-nio-ssl, swift-nio-http2, swift-protobuf
Fetched https://github.com/apple/swift-nio-http2.git (1.05s)
[23835/74203] Fetching swift-nio-ssl, swift-protobuf
Fetched https://github.com/apple/swift-nio-ssl.git (1.27s)
[10876/57237] Fetching swift-protobuf
[10877/144187] Fetching swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git (3.94s)
Fetched https://github.com/apple/swift-protobuf.git (4.68s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (4.85s)
Fetching https://github.com/apple/swift-atomics.git
[1/1936] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git (0.56s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.41.0 (0.76s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.6 (0.18s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.0 (0.25s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/7619] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.75s)
[1/30236] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.42s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.59s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.6
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.46.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.9.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.105.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.6
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.41.0
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 59]
[Pre-planning 1 / 1338]
[Planning deferred tasks]
[Writing build description]
[195 / 812] Connect_ConnectLibraryTests
[207 / 844] SwiftProtobuf
[208 / 844] _NIOBase64
[219 / 844] InternalCollectionsUtilities
[231 / 844] SwiftProtobuf
[232 / 844] SwiftProtobuf
[234 / 845] _NIOBase64
[243 / 846] _NIODataStructures
[244 / 846] _NIODataStructures
[247 / 846] NIOConcurrencyHelpers
[248 / 846] NIOConcurrencyHelpers-product
[249 / 846] NIOConcurrencyHelpers-product
[253 / 846] InternalCollectionsUtilities
[254 / 846] InternalCollectionsUtilities
[255 / 846] InternalCollectionsUtilities
[261 / 847] NIOConcurrencyHelpers
[262 / 847] Connect
[271 / 857] SwiftProtobufPluginLibrary
[274 / 857] SwiftProtobufPluginLibrary
[274 / 858] SwiftProtobufPluginLibrary
[278 / 858] SwiftProtobufPluginLibrary
[294 / 873] SpanPreview
[305 / 874] SpanPreview
[310 / 874] Atomics
[314 / 875] CNIOOpenBSD
[321 / 884] CNIOLLHTTP
[326 / 884] CNIOBoringSSL
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Libraries/Connect/Internal/Unary/UnaryAsyncWrapper.swift:16:8: error: no such module 'os.log'
14 |
15 | import SwiftProtobuf
16 | import os.log
   |        `- error: no such module 'os.log'
17 |
18 | /// Internal actor used to wrap closure-based unary API calls in a way that allows them
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Libraries/Connect/Internal/GeneratedSources/proto/grpc/status/v1/status.pb.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Interceptors/ConnectInterceptor.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Interceptors/GRPCWebInterceptor.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Interceptors/InterceptorChain.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/BidirectionalAsyncStream.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/BidirectionalStream.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/ClientOnlyAsyncStream.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/ClientOnlyStream.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/ClientOnlyStreamValidation.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/ConnectEndStreamResponse.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/ServerOnlyAsyncStream.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/ServerOnlyStream.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Streaming/URLSessionStream.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Unary/UnaryAsyncWrapper.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Utilities/Data+URLSafeBase64.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Utilities/Lock.swift /host/spi-builder-workspace/Libraries/Connect/Internal/Utilities/TimeoutTimer.swift /host/spi-builder-workspace/Libraries/Connect/PackageInternal/ConnectError+GRPC.swift /host/spi-builder-workspace/Libraries/Connect/PackageInternal/Envelope.swift /host/spi-builder-workspace/Libraries/Connect/PackageInternal/Headers+gRPC.swift /host/spi-builder-workspace/Libraries/Connect/PackageInternal/Locked.swift /host/spi-builder-workspace/Libraries/Connect/PackageInternal/Trailers+gRPC.swift /host/spi-builder-workspace/Libraries/Connect/Public/Implementation/Clients/ProtocolClient.swift /host/spi-builder-workspace/Libraries/Connect/Public/Implementation/Clients/URLSessionHTTPClient.swift /host/spi-builder-workspace/Libraries/Connect/Public/Implementation/Codecs/JSONCodec.swift /host/spi-builder-workspace/Libraries/Connect/Public/Implementation/Codecs/ProtoCodec.swift /host/spi-builder-workspace/Libraries/Connect/Public/Implementation/Compression/GzipCompressionPool.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Cancelable.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Code.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Codec.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/CompressionPool.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/ConnectError.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/HTTPClientInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/HTTPMethod.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/HTTPMetrics.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/HTTPRequest.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/HTTPResponse.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/HeaderConstants.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Headers.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/IdempotencyLevel.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Interceptors/Interceptor.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Interceptors/InterceptorFactory.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Interceptors/StreamInterceptor.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Interceptors/UnaryInterceptor.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/MethodSpec.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/NetworkProtocol.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/ProtobufMessage.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/ProtocolClientConfig.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/ProtocolClientInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/ResponseMessage.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/AsyncAwait/BidirectionalAsyncStreamInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/AsyncAwait/ClientOnlyAsyncStreamInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/AsyncAwait/ServerOnlyAsyncStreamInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/Callbacks/BidirectionalStreamInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/Callbacks/ClientOnlyStreamInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/Callbacks/RequestCallbacks.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/Callbacks/ResponseCallbacks.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/Callbacks/ServerOnlyStreamInterface.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Streaming/StreamResult.swift /host/spi-builder-workspace/Libraries/Connect/Public/Interfaces/Trailers.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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 6 -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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_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/Connect.build/Debug-webassembly-wasm32/Connect-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Connect -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/Objects-normal/wasm32/Connect_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/Connect.build/Debug-webassembly-wasm32/Connect-t.build/Objects-normal/wasm32/Modules/Connect.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/Objects-normal/wasm32/Modules/Connect.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/Objects-normal/wasm32/Connect-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/Objects-normal/wasm32/Connect-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/Objects-normal/wasm32/Connect-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Connect.build/Debug-webassembly-wasm32/Connect-t.build/Objects-normal/wasm32/Modules/Connect.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm