The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RollingTokenAuth, reference main (106af0), with Swift 6.4 for Wasm on 24 Sep 2026 05:28:52 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
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 106af01 Updated README
Cloned https://github.com/alexeichhorn/swift-rolling-token-auth.git
Revision (git rev-parse @):
106af0177c859c68fdc9606ef9796bf6737b2187
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-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
Fetching https://github.com/apple/swift-crypto.git
[1/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.18s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (2.32s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] 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.71s)
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
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 274]
[Planning deferred tasks]
[11 / 435] CXKCP
[51 / 444] CCryptoBoringSSL
[52 / 444] CCryptoBoringSSL
[55 / 444] CCryptoBoringSSL
[57 / 444] CCryptoBoringSSL
[59 / 444] CCryptoBoringSSL
[69 / 444] CCryptoBoringSSL
[74 / 444] CCryptoBoringSSL
[75 / 444] CCryptoBoringSSL
[76 / 444] CCryptoBoringSSL
[81 / 444] CXKCP
[83 / 444] CCryptoBoringSSL
[84 / 444] CCryptoBoringSSL
[89 / 444] CCryptoBoringSSL
[90 / 444] CCryptoBoringSSL
[93 / 444] CCryptoBoringSSL
[99 / 444] CCryptoBoringSSL
[102 / 444] CCryptoBoringSSL
[107 / 444] CCryptoBoringSSL
[109 / 444] CCryptoBoringSSL
[110 / 444] CCryptoBoringSSL
[112 / 444] CCryptoBoringSSL
[115 / 444] CCryptoBoringSSL
[117 / 444] CCryptoBoringSSL
[119 / 444] CCryptoBoringSSL
[123 / 444] CCryptoBoringSSL
[125 / 444] CCryptoBoringSSL
[128 / 444] CCryptoBoringSSL
[130 / 444] CCryptoBoringSSL
[133 / 444] CCryptoBoringSSL
[137 / 444] CCryptoBoringSSL
[140 / 444] CCryptoBoringSSL
[144 / 444] CCryptoBoringSSL
[145 / 444] CCryptoBoringSSL
[149 / 444] CCryptoBoringSSL
[155 / 444] CCryptoBoringSSL
[168 / 444] CCryptoBoringSSL
[183 / 444] CCryptoBoringSSL
[184 / 444] CCryptoBoringSSL
[185 / 444] CCryptoBoringSSL
[191 / 444] CCryptoBoringSSL
[193 / 444] CCryptoBoringSSL
[200 / 444] CCryptoBoringSSL
[201 / 444] CCryptoBoringSSL
[206 / 444] CCryptoBoringSSL
[208 / 444] CCryptoBoringSSL
[209 / 444] CCryptoBoringSSL
[211 / 444] CCryptoBoringSSL
[213 / 444] CCryptoBoringSSL
[216 / 444] CCryptoBoringSSL
[220 / 444] CCryptoBoringSSL
[223 / 444] CCryptoBoringSSL
[226 / 444] CCryptoBoringSSL
[229 / 444] CCryptoBoringSSL
[233 / 444] CCryptoBoringSSL
[242 / 444] CCryptoBoringSSL
[244 / 444] CCryptoBoringSSL
[245 / 444] CCryptoBoringSSL
[248 / 444] CCryptoBoringSSL
[253 / 444] CCryptoBoringSSL
[256 / 444] CCryptoBoringSSL
[257 / 444] CCryptoBoringSSL
[260 / 444] CCryptoBoringSSL
[271 / 444] CCryptoBoringSSL
[281 / 444] CCryptoBoringSSL
[284 / 444] CCryptoBoringSSL
[287 / 444] CCryptoBoringSSL
[292 / 444] CCryptoBoringSSL
[294 / 444] CCryptoBoringSSL
[297 / 444] CCryptoBoringSSL
[300 / 444] CCryptoBoringSSL
[302 / 444] CCryptoBoringSSL
[306 / 444] CCryptoBoringSSL
[308 / 444] CCryptoBoringSSL
[312 / 444] CCryptoBoringSSL
[313 / 444] CCryptoBoringSSL
[317 / 444] CCryptoBoringSSL
[318 / 444] CCryptoBoringSSL
[320 / 444] CCryptoBoringSSL
[321 / 444] CCryptoBoringSSL
[325 / 444] CCryptoBoringSSL
[328 / 444] CCryptoBoringSSL
[329 / 444] CCryptoBoringSSL
[332 / 444] CCryptoBoringSSL
[339 / 444] CCryptoBoringSSL
[345 / 444] CCryptoBoringSSL
[353 / 444] CCryptoBoringSSL
[355 / 444] CCryptoBoringSSL
[360 / 444] CCryptoBoringSSL
[363 / 444] CCryptoBoringSSL
[366 / 444] CCryptoBoringSSL
[369 / 444] CCryptoBoringSSL
[370 / 444] CCryptoBoringSSL
[373 / 444] CCryptoBoringSSL
[380 / 444] CCryptoBoringSSL
[389 / 444] CCryptoBoringSSL
[397 / 444] CCryptoBoringSSL
[400 / 444] CCryptoBoringSSL
[403 / 444] CCryptoBoringSSL
[405 / 444] CCryptoBoringSSL
[407 / 444] CCryptoBoringSSL
[410 / 444] CCryptoBoringSSL
[412 / 444] CCryptoBoringSSL
[415 / 444] CCryptoBoringSSL
[418 / 444] CCryptoBoringSSL
[419 / 444] CCryptoBoringSSL
[422 / 444] Crypto
[425 / 445] CXKCP
[427 / 454] CXKCP
[430 / 454] Crypto
[435 / 454] Crypto
[436 / 454] Crypto
[438 / 454] Crypto-product
[440 / 455] RollingTokenAuth
[445 / 459] RollingTokenAuth
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[446 / 459] CCryptoBoringSSLShims
/host/spi-builder-workspace/Sources/RollingTokenAuth/RollingAuthorizationToken.swift:61:18: error: cannot find type 'URLRequest' in scope
59 | }
60 |
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.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 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.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 -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/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: The operation could not be completed. The file doesn’t exist.
error: Copy /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/RollingTokenAuth.swiftmodule/wasm32-unknown-wasip1.swiftmodule /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/Modules/RollingTokenAuth.swiftmodule failed with a nonzero exit code. Command line:     cd /host/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /host/spi-builder-workspace/.build/out/Intermediates.noindex/RollingTokenAuth.build/Debug-webassembly-wasm32/RollingTokenAuth-t.build/Objects-normal/wasm32/Modules/RollingTokenAuth.swiftmodule /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/RollingTokenAuth.swiftmodule/wasm32-unknown-wasip1.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm