The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftOTP, reference 3.0.2 (966055), with Swift 6.4 for Wasm on 20 Sep 2026 07:09:44 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/lachlanbell/SwiftOTP.git
Reference: 3.0.2
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/lachlanbell/SwiftOTP
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at 9660551 SwiftOTP 3.0.2 release
Cloned https://github.com/lachlanbell/SwiftOTP.git
Revision (git rev-parse @):
9660551ea3df153c3cbacfa34ac3abbec73a8b84
SUCCESS checkout https://github.com/lachlanbell/SwiftOTP.git at 3.0.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/lachlanbell/SwiftOTP.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.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.51s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.96s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (2.04s)
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 3.15.1
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[31 / 423]
[41 / 423] CCryptoBoringSSL
[42 / 423] CCryptoBoringSSL
[51 / 423] CCryptoBoringSSL
[54 / 423] CCryptoBoringSSL
[55 / 423] CCryptoBoringSSL
[59 / 423] CCryptoBoringSSL
[61 / 423] CCryptoBoringSSL
[64 / 423] CCryptoBoringSSL
[69 / 423] CCryptoBoringSSL
[75 / 423] CCryptoBoringSSL
[87 / 423] CCryptoBoringSSL
[88 / 423] CCryptoBoringSSL
[93 / 423] CCryptoBoringSSL
[94 / 423] CCryptoBoringSSL
[96 / 423] CCryptoBoringSSL
[102 / 423] CCryptoBoringSSL
[104 / 423] CCryptoBoringSSL
[110 / 423] CCryptoBoringSSL
[112 / 423] CCryptoBoringSSL
[115 / 423] CCryptoBoringSSL
[117 / 423] CCryptoBoringSSL
[119 / 423] CCryptoBoringSSL
[120 / 423] CCryptoBoringSSL
[123 / 423] CCryptoBoringSSL
[125 / 423] CCryptoBoringSSL
[127 / 423] CCryptoBoringSSL
[130 / 423] CCryptoBoringSSL
[138 / 423] CCryptoBoringSSL
[145 / 423] CCryptoBoringSSL
[158 / 423] CCryptoBoringSSL
[164 / 423] CCryptoBoringSSL
[165 / 423] CCryptoBoringSSL
[172 / 423] CCryptoBoringSSL
[173 / 423] CCryptoBoringSSL
[180 / 423] CCryptoBoringSSL
[182 / 423] CCryptoBoringSSL
[183 / 423] CCryptoBoringSSL
[186 / 423] CCryptoBoringSSL
[188 / 423] CCryptoBoringSSL
[191 / 423] CCryptoBoringSSL
[195 / 423] CCryptoBoringSSL
[198 / 423] CCryptoBoringSSL
[202 / 423] CCryptoBoringSSL
[203 / 423] CCryptoBoringSSL
[206 / 423] CCryptoBoringSSL
[207 / 423] CCryptoBoringSSL
[209 / 423] CCryptoBoringSSL
[215 / 423] CCryptoBoringSSL
[221 / 423] CCryptoBoringSSL
[225 / 423] CCryptoBoringSSL
[226 / 423] CCryptoBoringSSL
[229 / 423] CCryptoBoringSSL
[235 / 423] CCryptoBoringSSL
[238 / 423] CCryptoBoringSSL
[243 / 423] CCryptoBoringSSL
[254 / 423] CCryptoBoringSSL
[262 / 423] CCryptoBoringSSL
[263 / 423] CCryptoBoringSSL
[265 / 423] CCryptoBoringSSL
[271 / 423] CCryptoBoringSSL
[274 / 423] CCryptoBoringSSL
[279 / 423] CCryptoBoringSSL
[282 / 423] CCryptoBoringSSL
[287 / 423] CCryptoBoringSSL
[292 / 423] CCryptoBoringSSL
[294 / 423] CCryptoBoringSSL
[295 / 423] CCryptoBoringSSL
[300 / 423] CCryptoBoringSSL
[302 / 423] CCryptoBoringSSL
[303 / 423] CCryptoBoringSSL
[305 / 423] CCryptoBoringSSL
[308 / 423] CCryptoBoringSSL
[310 / 423] CCryptoBoringSSL
[312 / 423] CCryptoBoringSSL
[319 / 423] CCryptoBoringSSL
[325 / 423] CCryptoBoringSSL
[334 / 423] CCryptoBoringSSL
[335 / 423] CCryptoBoringSSL
[337 / 423] CCryptoBoringSSL
[341 / 423] CCryptoBoringSSL
[345 / 423] CCryptoBoringSSL
[349 / 423] CCryptoBoringSSL
[352 / 423] CCryptoBoringSSL
[353 / 423] CCryptoBoringSSL
[355 / 423] CCryptoBoringSSL
[362 / 423] CCryptoBoringSSL
[371 / 423] CCryptoBoringSSL
[380 / 423] CCryptoBoringSSL
[382 / 423] CCryptoBoringSSL
[384 / 423] CCryptoBoringSSL
[385 / 423] CCryptoBoringSSL
[387 / 423] CCryptoBoringSSL
[390 / 423] CCryptoBoringSSL
[392 / 423] CCryptoBoringSSL
[393 / 423] CCryptoBoringSSL
[397 / 423] CCryptoBoringSSL
[401 / 432] CryptoBoringWrapper
[402 / 432] CryptoBoringWrapper
[404 / 432] CryptoBoringWrapper
[407 / 432] CryptoBoringWrapper
[408 / 432] CCryptoBoringSSL
[414 / 433]
[416 / 442] Crypto
[417 / 442] Crypto
[424 / 442] Crypto-product
[429 / 443]
[433 / 453] SwiftOTP
[436 / 453] SwiftOTP
[438 / 453] SwiftOTP
[443 / 453] SwiftOTP-product
[445 / 453] SwiftOTP-Dynamic-product
[447 / 453] SwiftOTP
[449 / 454] Crypto
error: unknown argument: '-shared'
error: Ld /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libSwiftOTP-Dynamic.wasm normal failed with a nonzero exit code. Command line:     cd /host/spi-builder-workspace
    /usr/bin/swiftc -target wasm32-unknown-wasip1 -shared -emit-library -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 -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 -Xclang-linker -resource-dir -Xclang-linker /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 -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 -L/host/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug-webassembly-wasm32 -L/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftOTP.build/Debug-webassembly-wasm32/SwiftOTP-Dynamic-product-t.build/Objects-normal/wasm32/SwiftOTP-Dynamic.LinkFileList -Xlinker --gc-sections -Xclang-linker -rdynamic -L/usr/lib/swift -lstdc++ -static-stdlib @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/SwiftOTP.objlib/args.resp @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/Crypto.objlib/args.resp @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/CCryptoBoringSSL.objlib/args.resp @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/CCryptoBoringSSLShims.objlib/args.resp @/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/CryptoBoringWrapper.objlib/args.resp -o /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/libSwiftOTP-Dynamic.wasm
error: Build failed
BUILD FAILURE 6.4 wasm