The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Ausca, reference main (91fea6), with Swift 6.4 for Wasm on 27 Oct 2026 20:45:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/auscahq/ausca.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/auscahq/ausca
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 91fea61 fix(ruby): declare the base64 runtime dependency
Cloned https://github.com/auscahq/ausca.git
Revision (git rev-parse @):
91fea619cd477905c2286468db29a5d5a4d28d6f
SUCCESS checkout https://github.com/auscahq/ausca.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/auscahq/ausca.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
[1/18859] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (2.06s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (3.56s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.50s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.78s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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.3
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 274]
[Planning deferred tasks]
[1 / 435]
[52 / 444] CCryptoBoringSSL
[54 / 444] CCryptoBoringSSL
[55 / 444] CCryptoBoringSSL
[57 / 444] CCryptoBoringSSL
[58 / 444] CCryptoBoringSSL
[67 / 444] CryptoBoringWrapper
[74 / 444] CCryptoBoringSSL
[76 / 444] CCryptoBoringSSL
[77 / 444] CCryptoBoringSSL
[80 / 444] CCryptoBoringSSL
[82 / 444] CCryptoBoringSSL
[83 / 444] CCryptoBoringSSL
[85 / 444] CXKCP
[87 / 444] CCryptoBoringSSL
[90 / 444] CCryptoBoringSSL
[92 / 444] CCryptoBoringSSL
[100 / 444] CCryptoBoringSSL
[103 / 444] CCryptoBoringSSL
[106 / 444] CCryptoBoringSSL
[108 / 444] CCryptoBoringSSL
[113 / 444] CCryptoBoringSSL
[114 / 444] CCryptoBoringSSL
[117 / 444] CCryptoBoringSSL
[122 / 444] CCryptoBoringSSL
[126 / 444] CCryptoBoringSSL
[129 / 444] CCryptoBoringSSL
[132 / 444] CCryptoBoringSSL
[134 / 444] CCryptoBoringSSL
[139 / 444] CCryptoBoringSSL
[144 / 444] CCryptoBoringSSL
[149 / 444] CCryptoBoringSSL
[152 / 444] CCryptoBoringSSL
[158 / 444] CCryptoBoringSSL
[164 / 444] CCryptoBoringSSL
[181 / 444] CCryptoBoringSSL
[184 / 444] CCryptoBoringSSL
[187 / 444] CCryptoBoringSSL
[192 / 444] CCryptoBoringSSL
[198 / 444] CCryptoBoringSSL
[200 / 444] CCryptoBoringSSL
[204 / 444] CCryptoBoringSSL
[206 / 444] CCryptoBoringSSL
[207 / 444] CCryptoBoringSSL
[211 / 444] CCryptoBoringSSL
[213 / 444] CCryptoBoringSSL
[215 / 444] CCryptoBoringSSL
[220 / 444] CCryptoBoringSSL
[223 / 444] CCryptoBoringSSL
[224 / 444] CCryptoBoringSSL
[225 / 444] CCryptoBoringSSL
[230 / 444] CCryptoBoringSSL
[235 / 444] CCryptoBoringSSL
[241 / 444] CCryptoBoringSSL
[242 / 444] CCryptoBoringSSL
[245 / 444] CCryptoBoringSSL
[249 / 444] CCryptoBoringSSL
[251 / 444] CCryptoBoringSSL
[255 / 444] CCryptoBoringSSL
[258 / 444] CCryptoBoringSSL
[259 / 444] CCryptoBoringSSL
[267 / 444] CCryptoBoringSSL
[281 / 444] CCryptoBoringSSL
[284 / 444] CCryptoBoringSSL
[285 / 444] CCryptoBoringSSL
[290 / 444] CCryptoBoringSSL
[293 / 444] CCryptoBoringSSL
[294 / 444] CCryptoBoringSSL
[296 / 444] CCryptoBoringSSL
[300 / 444] CCryptoBoringSSL
[301 / 444] CCryptoBoringSSL
[304 / 444] CCryptoBoringSSL
[307 / 444] CCryptoBoringSSL
[309 / 444] CCryptoBoringSSL
[314 / 444] CCryptoBoringSSL
[316 / 444] CCryptoBoringSSL
[318 / 444] CCryptoBoringSSL
[322 / 444] CCryptoBoringSSL
[326 / 444] CCryptoBoringSSL
[327 / 444] CCryptoBoringSSL
[333 / 444] CCryptoBoringSSL
[337 / 444] CCryptoBoringSSL
[342 / 444] CCryptoBoringSSL
[353 / 444] CCryptoBoringSSL
[356 / 444] CCryptoBoringSSL
[359 / 444] CCryptoBoringSSL
[364 / 444] CCryptoBoringSSL
[365 / 444] CCryptoBoringSSL
[368 / 444] CCryptoBoringSSL
[373 / 444] CCryptoBoringSSL
[377 / 444] CCryptoBoringSSL
[384 / 444] CCryptoBoringSSL
[392 / 444] CCryptoBoringSSL
[399 / 444] CCryptoBoringSSL
[401 / 444] CCryptoBoringSSL
[403 / 444] CCryptoBoringSSL
[406 / 444] CCryptoBoringSSL
[409 / 444] CCryptoBoringSSL
[411 / 444] CCryptoBoringSSL
[413 / 444] CCryptoBoringSSL
[418 / 444] CryptoBoringWrapper
[419 / 444] CryptoBoringWrapper
[421 / 444] Crypto
[425 / 445]
[426 / 454] Crypto
[429 / 454] CryptoBoringWrapper
[434 / 454] Crypto
[436 / 454] Crypto-product
[439 / 454] Crypto
[440 / 454] Crypto
[441 / 455] CryptoBoringWrapper
[446 / 458] Ausca
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/swift/Sources/Ausca/Ausca.swift:19:26: error: cannot find type 'URLRequest' in scope
 17 |
 18 | public protocol Transport: Sendable {
 19 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                          `- error: cannot find type 'URLRequest' in scope
 20 | }
 21 |
/host/spi-builder-workspace/swift/Sources/Ausca/Ausca.swift:19:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 | public protocol Transport: Sendable {
 19 |     func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse)
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 20 | }
 21 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/Ausca/Ausca.swift:26:33: error: cannot find type 'URLRequest' in scope
 24 |     public init() {}
 25 |
 26 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                 `- error: cannot find type 'URLRequest' in scope
 27 |         let (data, response) = try await URLSession.shared.data(for: request)
 28 |         guard let http = response as? HTTPURLResponse else {
/host/spi-builder-workspace/swift/Sources/Ausca/Ausca.swift:26:68: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 24 |     public init() {}
 25 |
 26 |     public func send(_ request: URLRequest) async throws -> (Data, HTTPURLResponse) {
    |                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 27 |         let (data, response) = try await URLSession.shared.data(for: request)
 28 |         guard let http = response as? HTTPURLResponse else {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/Ausca/Ausca.swift:151:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |     public func probe<Input: Encodable & Sendable>(
150 |         _ offerId: String, input: Input, idempotencyKey: String? = nil
151 |     ) async throws -> (Data, HTTPURLResponse, Identity) {
    |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |         let offer = try await offer(offerId)
153 |         let (body, identity) = try envelope(offer, input: input, idempotencyKey: idempotencyKey)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/Ausca/Ausca.swift:241:82: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
239 |
240 |     private func request(_ transport: any Transport, method: String, path: String, body: Data? = nil,
241 |                          headers: [String: String] = [:]) async throws -> (Data, HTTPURLResponse) {
    |                                                                                  `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
242 |         guard path.hasPrefix("/"), !path.hasPrefix("//"), let url = URL(string: serviceOrigin + path) else {
243 |             throw AuscaError.invalid("invalid resource path")
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/swift/Sources/Ausca/Ausca.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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCPShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -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/checkouts/swift-crypto/Sources/CXKCPShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CXKCP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Ausca -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/Objects-normal/wasm32/Ausca_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/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/Objects-normal/wasm32/Modules/Ausca.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/Objects-normal/wasm32/Modules/Ausca.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/Objects-normal/wasm32/Ausca-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/Objects-normal/wasm32/Ausca-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/Objects-normal/wasm32/Ausca-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Ausca.build/Debug-webassembly-wasm32/Ausca-t.build/Objects-normal/wasm32/Modules/Ausca.swiftmodule
[446 / 458]
error: Build failed
BUILD FAILURE 6.4 wasm