Build Information
Failed to build AppAttest, reference main (f4fc1e), with Swift 6.2 for Wasm on 5 Jan 2026 11:18:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iansampson/AppAttest.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/iansampson/AppAttest
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f4fc1ea Merge pull request #6 from ronaldmannak/main
Cloned https://github.com/iansampson/AppAttest.git
Revision (git rev-parse @):
f4fc1ea12c712d6833905d9c11c73c1601ae4001
SUCCESS checkout https://github.com/iansampson/AppAttest.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/iansampson/AppAttest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/iansampson/Anchor
[1/1945] Fetching anchor
Fetched https://github.com/iansampson/Anchor from cache (1.14s)
Fetching https://github.com/myfreeweb/SwiftCBOR
[1/1422] Fetching swiftcbor
Fetching https://github.com/apple/swift-crypto
Fetched https://github.com/myfreeweb/SwiftCBOR from cache (0.49s)
[1/17460] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (3.41s)
Computing version for https://github.com/myfreeweb/SwiftCBOR
Computed https://github.com/myfreeweb/SwiftCBOR at 0.6.0 (4.72s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (1.74s)
Fetching https://github.com/apple/swift-asn1.git
[1/1692] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (4.35s)
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
Creating working copy for https://github.com/myfreeweb/SwiftCBOR
Working copy of https://github.com/myfreeweb/SwiftCBOR resolved at 0.6.0
Creating working copy for https://github.com/iansampson/Anchor
Working copy of https://github.com/iansampson/Anchor resolved at main (1b1d5a9)
Building for debugging...
[0/775] Write sources
[5/775] Compiling md5-x86_64-linux.S
[6/775] Compiling fiat_curve25519_adx_square.S
[7/775] Compiling md5-x86_64-apple.S
[8/775] Compiling fiat_p256_adx_mul.S
[9/775] Compiling fiat_curve25519_adx_mul.S
[10/775] Compiling fiat_p256_adx_sqr.S
[11/775] Write swift-version-24593BA9C3E375BF.txt
[12/775] Compiling md5-586-apple.S
[13/775] Compiling md5-586-linux.S
[14/775] Compiling chacha20_poly1305_armv8-win.S
[14/775] Compiling chacha20_poly1305_x86_64-linux.S
[16/776] Compiling chacha20_poly1305_armv8-linux.S
[17/777] Compiling chacha20_poly1305_x86_64-apple.S
[18/777] Compiling chacha20_poly1305_armv8-apple.S
[19/777] Compiling chacha-x86_64-apple.S
[20/777] Compiling chacha-x86-apple.S
[21/777] Compiling chacha-x86-linux.S
[22/777] Compiling chacha-x86_64-linux.S
[23/777] Compiling chacha-armv8-win.S
[24/777] Compiling chacha-armv8-linux.S
[25/777] Compiling chacha-armv4-linux.S
[26/777] Compiling chacha-armv8-apple.S
[27/777] Compiling aes128gcmsiv-x86_64-apple.S
[28/777] Compiling aes128gcmsiv-x86_64-linux.S
[29/777] Compiling x86_64-mont-linux.S
[30/777] Compiling x86_64-mont5-linux.S
[30/777] Compiling x86_64-mont5-apple.S
[32/777] Compiling x86_64-mont-apple.S
[33/777] Compiling x86-mont-linux.S
[34/777] Compiling vpaes-x86_64-linux.S
[35/777] Compiling x86-mont-apple.S
[36/777] Compiling vpaes-x86-apple.S
[36/777] Compiling vpaes-x86-linux.S
[38/777] Compiling vpaes-x86_64-apple.S
[39/777] Compiling CCryptoBoringSSLShims shims.c
[40/777] Compiling vpaes-armv8-win.S
[41/777] Compiling vpaes-armv8-apple.S
[42/777] Compiling vpaes-armv8-linux.S
[43/777] Compiling vpaes-armv7-linux.S
[44/777] Compiling sha512-x86_64-linux.S
[45/777] Compiling sha512-armv8-win.S
[46/777] Compiling sha512-x86_64-apple.S
[47/777] Compiling sha512-armv8-linux.S
[48/777] Compiling sha512-armv8-apple.S
[49/777] Compiling sha512-armv4-linux.S
[50/777] Compiling sha512-586-linux.S
[51/777] Compiling sha512-586-apple.S
[52/777] Compiling sha256-x86_64-linux.S
[53/777] Compiling sha256-x86_64-apple.S
[54/777] Compiling sha256-armv8-win.S
[55/777] Compiling sha256-armv8-apple.S
[56/777] Compiling sha256-armv4-linux.S
[57/777] Compiling sha256-586-linux.S
[58/777] Compiling sha256-armv8-linux.S
[59/777] Compiling sha1-x86_64-apple.S
[60/777] Compiling sha1-x86_64-linux.S
[61/777] Compiling sha256-586-apple.S
[62/777] Compiling sha1-armv8-linux.S
[63/777] Compiling sha1-armv8-win.S
[64/777] Compiling sha1-armv4-large-linux.S
[65/777] Compiling sha1-armv8-apple.S
[66/777] Compiling sha1-586-apple.S
[67/777] Compiling sha1-586-linux.S
[68/777] Compiling rsaz-avx2-linux.S
[69/777] Compiling rsaz-avx2-apple.S
[70/777] Compiling rdrand-x86_64-linux.S
[71/777] Compiling rdrand-x86_64-apple.S
[72/777] Compiling p256_beeu-x86_64-asm-linux.S
[73/777] Compiling p256_beeu-x86_64-asm-apple.S
[74/777] Compiling p256-x86_64-asm-linux.S
[75/777] Compiling p256_beeu-armv8-asm-apple.S
[76/777] Compiling p256_beeu-armv8-asm-win.S
[77/777] Compiling p256_beeu-armv8-asm-linux.S
[78/777] Compiling p256-x86_64-asm-apple.S
[79/777] Compiling p256-armv8-asm-win.S
[80/777] Compiling p256-armv8-asm-apple.S
[81/777] Compiling p256-armv8-asm-linux.S
[82/777] Compiling ghashv8-armv8-win.S
[83/777] Compiling ghashv8-armv8-linux.S
[84/777] Compiling ghashv8-armv8-apple.S
[85/777] Compiling ghashv8-armv7-linux.S
[86/777] Compiling ghash-x86_64-linux.S
[87/777] Compiling ghash-x86_64-apple.S
[88/777] Compiling ghash-x86-apple.S
[89/777] Compiling ghash-x86-linux.S
[90/777] Compiling ghash-ssse3-x86_64-linux.S
[91/777] Compiling ghash-ssse3-x86_64-apple.S
[92/777] Compiling ghash-ssse3-x86-linux.S
[93/777] Compiling ghash-neon-armv8-win.S
[94/777] Compiling ghash-neon-armv8-linux.S
[95/777] Compiling ghash-ssse3-x86-apple.S
[96/777] Compiling ghash-neon-armv8-apple.S
[96/777] Compiling ghash-armv4-linux.S
[98/777] Compiling co-586-linux.S
[99/777] Compiling co-586-apple.S
[100/777] Compiling bn-armv8-win.S
[101/777] Compiling bsaes-armv7-linux.S
[102/777] Compiling bn-armv8-apple.S
[103/777] Compiling bn-armv8-linux.S
[104/777] Compiling bn-586-apple.S
[105/777] Compiling bn-586-linux.S
[106/777] Compiling armv8-mont-linux.S
[107/777] Compiling armv8-mont-win.S
[108/777] Compiling armv8-mont-apple.S
[109/777] Compiling aesv8-gcm-armv8-win.S
[109/777] Compiling armv4-mont-linux.S
[111/777] Compiling aesv8-gcm-armv8-linux.S
[112/777] Compiling aesv8-gcm-armv8-apple.S
[113/777] Compiling aesv8-armv8-linux.S
[113/777] Compiling aesv8-armv8-win.S
[115/777] Compiling aesv8-armv7-linux.S
[116/777] Compiling aesv8-armv8-apple.S
[117/777] Compiling aesni-x86_64-linux.S
[118/777] Compiling err_data.cc
[119/777] Compiling aesni-x86_64-apple.S
[120/777] Compiling aesni-x86-linux.S
[121/777] Compiling aesni-gcm-x86_64-linux.S
[122/777] Compiling aesni-x86-apple.S
[123/777] Compiling aesni-gcm-x86_64-apple.S
[124/777] Compiling aes-gcm-avx512-x86_64-apple.S
[125/777] Compiling aes-gcm-avx512-x86_64-linux.S
[126/777] Compiling aes-gcm-avx2-x86_64-linux.S
[127/777] Compiling aes-gcm-avx2-x86_64-apple.S
[129/777] Compiling SwiftCBOR AnyCodingKey.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | final public class CodableCBORDecoder {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[130/777] Emitting module SwiftCBOR
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | final public class CodableCBORDecoder {
[130/777] Compiling x_sig.cc
[130/777] Compiling xwing.cc
[130/777] Compiling x_pubkey.cc
[130/777] Compiling x_x509.cc
[130/777] Compiling x_spki.cc
[130/777] Compiling x_x509a.cc
[130/777] Compiling x_req.cc
BUILD FAILURE 6.2 wasm