Build Information
Failed to build RollingTokenAuth, reference main (d76fc4), with Swift 6.4 for Wasm on 21 Nov 2026 14:39:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexeichhorn/swift-rolling-token-auth.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/alexeichhorn/swift-rolling-token-auth
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d76fc4b Updated README
Cloned https://github.com/alexeichhorn/swift-rolling-token-auth.git
Revision (git rev-parse @):
d76fc4b2f0f85513e174f3d26b71bb24b28223a9
SUCCESS checkout https://github.com/alexeichhorn/swift-rolling-token-auth.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/alexeichhorn/swift-rolling-token-auth.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
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/18987] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.1.2 (2.17s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.43s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.61s)
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.4
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.1.2
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 244]
[Planning deferred tasks]
[Starting]
[27 / 432] CryptoBoringWrapper
[48 / 442] CryptoBoringWrapper
[49 / 442] CCryptoBoringSSL
[52 / 442] CCryptoBoringSSL
[54 / 442] CCryptoBoringSSL
[59 / 442] CCryptoBoringSSL
[66 / 442] CCryptoBoringSSL
[69 / 442] CCryptoBoringSSL
[73 / 442] CryptoBoringWrapper
[75 / 442] CryptoBoringWrapper
[82 / 442] CCryptoBoringSSL
[86 / 442] CCryptoBoringSSL
[87 / 442] CCryptoBoringSSL
[89 / 442] CCryptoBoringSSL
[90 / 442] CCryptoBoringSSL
[92 / 442] CCryptoBoringSSL
[95 / 442] CCryptoBoringSSL
[96 / 442] CCryptoBoringSSL
[98 / 442] CCryptoBoringSSL
[100 / 442] CCryptoBoringSSL
[103 / 442] CCryptoBoringSSL
[104 / 442] CCryptoBoringSSL
[107 / 442] CCryptoBoringSSL
[109 / 442] CCryptoBoringSSL
[110 / 442] CCryptoBoringSSL
[112 / 442] CCryptoBoringSSL
[113 / 442] CCryptoBoringSSL
[115 / 442] CCryptoBoringSSL
[118 / 442] CCryptoBoringSSL
[119 / 442] CCryptoBoringSSL
[120 / 442] CCryptoBoringSSL
[123 / 442] CCryptoBoringSSL
[124 / 442] CCryptoBoringSSL
[128 / 442] CCryptoBoringSSL
[134 / 442] CCryptoBoringSSL
[136 / 442] CCryptoBoringSSL
[137 / 442] CCryptoBoringSSL
[139 / 442] CCryptoBoringSSL
[142 / 442] CCryptoBoringSSL
[143 / 442] CCryptoBoringSSL
[144 / 442] CCryptoBoringSSL
[146 / 442] CCryptoBoringSSL
[150 / 442] CCryptoBoringSSL
[157 / 442] CCryptoBoringSSL
[167 / 442] CCryptoBoringSSL
[177 / 442] CCryptoBoringSSL
[179 / 442] CCryptoBoringSSL
[180 / 442] CCryptoBoringSSL
[184 / 442] CCryptoBoringSSL
[187 / 442] CCryptoBoringSSL
[188 / 442] CCryptoBoringSSL
[192 / 442] CCryptoBoringSSL
[195 / 442] CCryptoBoringSSL
[197 / 442] CCryptoBoringSSL
[198 / 442] CCryptoBoringSSL
[199 / 442] CCryptoBoringSSL
[200 / 442] CCryptoBoringSSL
[201 / 442] CCryptoBoringSSL
[204 / 442] CCryptoBoringSSL
[206 / 442] CCryptoBoringSSL
[207 / 442] CCryptoBoringSSL
[208 / 442] CCryptoBoringSSL
[209 / 442] CCryptoBoringSSL
[212 / 442] CCryptoBoringSSL
[214 / 442] CCryptoBoringSSL
[216 / 442] CCryptoBoringSSL
[218 / 442] CCryptoBoringSSL
[219 / 442] CCryptoBoringSSL
[220 / 442] CCryptoBoringSSL
[223 / 442] CCryptoBoringSSL
[225 / 442] CCryptoBoringSSL
[227 / 442] CCryptoBoringSSL
[232 / 442] CCryptoBoringSSL
[236 / 442] CCryptoBoringSSL
[237 / 442] CCryptoBoringSSL
[239 / 442] CCryptoBoringSSL
[241 / 442] CCryptoBoringSSL
[243 / 442] CCryptoBoringSSL
[246 / 442] CCryptoBoringSSL
[248 / 442] CCryptoBoringSSL
[251 / 442] CCryptoBoringSSL
[253 / 442] CCryptoBoringSSL
[255 / 442] CCryptoBoringSSL
[259 / 442] CCryptoBoringSSL
[267 / 442] CCryptoBoringSSL
[277 / 442] CCryptoBoringSSL
[281 / 442] CCryptoBoringSSL
[282 / 442] CCryptoBoringSSL
[284 / 442] CCryptoBoringSSL
[287 / 442] CCryptoBoringSSL
[289 / 442] CCryptoBoringSSL
[290 / 442] CCryptoBoringSSL
[292 / 442] CCryptoBoringSSL
[295 / 442] CCryptoBoringSSL
[298 / 442] CCryptoBoringSSL
[300 / 442] CCryptoBoringSSL
[303 / 442] CCryptoBoringSSL
[304 / 442] CCryptoBoringSSL
[305 / 442] CCryptoBoringSSL
[310 / 442] CCryptoBoringSSL
[313 / 442] CCryptoBoringSSL
[315 / 442] CCryptoBoringSSL
[318 / 442] CCryptoBoringSSL
[323 / 442] CCryptoBoringSSL
[328 / 442] CCryptoBoringSSL
[329 / 442] CCryptoBoringSSL
[335 / 442] CCryptoBoringSSL
[342 / 442] CCryptoBoringSSL
[348 / 442] CCryptoBoringSSL
[351 / 442] CCryptoBoringSSL
[353 / 442] CCryptoBoringSSL
[358 / 442] CCryptoBoringSSL
[360 / 442] CCryptoBoringSSL
[362 / 442] CCryptoBoringSSL
[365 / 442] CCryptoBoringSSL
[369 / 442] CCryptoBoringSSL
[370 / 442] CCryptoBoringSSL
[371 / 442] CCryptoBoringSSL
[374 / 442] CCryptoBoringSSL
[380 / 442] CCryptoBoringSSL
[386 / 442] CCryptoBoringSSL
[393 / 442] CCryptoBoringSSL
[398 / 442] CCryptoBoringSSL
[399 / 442] CCryptoBoringSSL
[401 / 442] CCryptoBoringSSL
[404 / 442] CCryptoBoringSSL
[406 / 442] CCryptoBoringSSL
[408 / 442] CCryptoBoringSSL
[409 / 442] CCryptoBoringSSL
[411 / 442] CCryptoBoringSSL
[414 / 442] CryptoBoringWrapper
[416 / 442] CryptoBoringWrapper
[416 / 442] CCryptoBoringSSL
[418 / 442] CCryptoBoringSSL
[420 / 442] CryptoBoringWrapper
[423 / 443]
[426 / 443] CryptoBoringWrapper
[431 / 452] Crypto
[434 / 452] Crypto
[435 / 453] CryptoBoringWrapper
[436 / 453] Crypto
[438 / 453] Crypto
[447 / 457] Crypto
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Sources/RollingTokenAuth/RollingAuthorizationToken.swift:61:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m // every binary linking this package load libcurl at launch, even one that only validates tokens.
[0;36m60 |[0;0m #if !canImport(FoundationNetworking)
[0;36m61 |[0;0m public extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m62 |[0;0m /// Sets the `Authorization` header to `Bearer <token>`.
[0;36m63 |[0;0m mutating func addBearerToken(_ token: String) {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/RollingTokenAuth/RollingAuthorizationToken.swift /host/spi-builder-workspace/Sources/RollingTokenAuth/RollingTokenManager.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/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/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/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RollingTokenAuth -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/RollingTokenAuth_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/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/Modules/RollingTokenAuth.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/Modules/RollingTokenAuth.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/RollingTokenAuth-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/RollingTokenAuth-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/RollingTokenAuth-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/Modules/RollingTokenAuth.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm