The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RollingTokenAuth, reference 0.1.3 (d76fc4), with Swift 6.4 for Wasm on 21 Nov 2026 14:38:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-58779149-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/alexeichhorn/swift-rolling-token-auth.git
Reference: 0.1.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/alexeichhorn/swift-rolling-token-auth
 * tag               0.1.3      -> FETCH_HEAD
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 0.1.3
========================================
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-58779149-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-crypto.git
[1/18987] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.24s)
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.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.58s)
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
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
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[7 / 432]
[49 / 442] CryptoBoringWrapper
[50 / 442] CCryptoBoringSSL
[55 / 442] CCryptoBoringSSL
[65 / 442] CCryptoBoringSSL
[67 / 442] CCryptoBoringSSL
[68 / 442] CCryptoBoringSSL
[78 / 442] CCryptoBoringSSL
[79 / 442] CXKCP
[84 / 442] CCryptoBoringSSL
[88 / 442] CCryptoBoringSSL
[96 / 442] CCryptoBoringSSL
[103 / 442] CCryptoBoringSSL
[110 / 442] CCryptoBoringSSL
[111 / 442] CCryptoBoringSSL
[120 / 442] CCryptoBoringSSL
[127 / 442] CCryptoBoringSSL
[133 / 442] CCryptoBoringSSL
[136 / 442] CCryptoBoringSSL
[140 / 442] CCryptoBoringSSL
[141 / 442] CCryptoBoringSSL
[142 / 442] CCryptoBoringSSL
[147 / 442] CCryptoBoringSSL
[156 / 442] CCryptoBoringSSL
[168 / 442] CCryptoBoringSSL
[181 / 442] CCryptoBoringSSL
[183 / 442] CCryptoBoringSSL
[187 / 442] CCryptoBoringSSL
[189 / 442] CCryptoBoringSSL
[197 / 442] CCryptoBoringSSL
[198 / 442] CCryptoBoringSSL
[202 / 442] CCryptoBoringSSL
[206 / 442] CCryptoBoringSSL
[208 / 442] CCryptoBoringSSL
[211 / 442] CCryptoBoringSSL
[215 / 442] CCryptoBoringSSL
[217 / 442] CCryptoBoringSSL
[220 / 442] CCryptoBoringSSL
[222 / 442] CCryptoBoringSSL
[225 / 442] CCryptoBoringSSL
[230 / 442] CCryptoBoringSSL
[240 / 442] CCryptoBoringSSL
[243 / 442] CCryptoBoringSSL
[247 / 442] CCryptoBoringSSL
[251 / 442] CCryptoBoringSSL
[254 / 442] CCryptoBoringSSL
[258 / 442] CCryptoBoringSSL
[273 / 442] CCryptoBoringSSL
[280 / 442] CCryptoBoringSSL
[283 / 442] CCryptoBoringSSL
[290 / 442] CCryptoBoringSSL
[291 / 442] CCryptoBoringSSL
[295 / 442] CCryptoBoringSSL
[301 / 442] CCryptoBoringSSL
[304 / 442] CCryptoBoringSSL
[307 / 442] CCryptoBoringSSL
[311 / 442] CCryptoBoringSSL
[315 / 442] CCryptoBoringSSL
[319 / 442] CCryptoBoringSSL
[321 / 442] CCryptoBoringSSL
[325 / 442] CCryptoBoringSSL
[328 / 442] CCryptoBoringSSL
[335 / 442] CCryptoBoringSSL
[342 / 442] CCryptoBoringSSL
[352 / 442] CCryptoBoringSSL
[355 / 442] CCryptoBoringSSL
[360 / 442] CCryptoBoringSSL
[363 / 442] CCryptoBoringSSL
[365 / 442] CCryptoBoringSSL
[368 / 442] CCryptoBoringSSL
[369 / 442] CCryptoBoringSSL
[374 / 442] CCryptoBoringSSL
[386 / 442] CCryptoBoringSSL
[395 / 442] CCryptoBoringSSL
[400 / 442] CCryptoBoringSSL
[402 / 442] CCryptoBoringSSL
[406 / 442] CCryptoBoringSSL
[408 / 442] CCryptoBoringSSL
[409 / 442] CCryptoBoringSSL
[413 / 442] CCryptoBoringSSL
[414 / 442] CCryptoBoringSSL
[416 / 442] CCryptoBoringSSL
[417 / 442] CCryptoBoringSSL
[421 / 442] CryptoBoringWrapper
[422 / 442] CCryptoBoringSSL
[429 / 452] Crypto
[430 / 452] Crypto
[433 / 452] Crypto
[434 / 452] Crypto
[434 / 453] Crypto
[437 / 453] CryptoBoringWrapper
[444 / 454] RollingTokenAuth
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/RollingTokenAuth/RollingAuthorizationToken.swift:61:18: error: cannot find type 'URLRequest' in scope
59 | // every binary linking this package load libcurl at launch, even one that only validates tokens.
60 | #if !canImport(FoundationNetworking)
61 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
62 |     /// Sets the `Authorization` header to `Bearer <token>`.
63 |     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
[447 / 457] RollingTokenAuth
error: Build failed
BUILD FAILURE 6.4 wasm