Build Information
Failed to build Upstash, reference main (2a548e
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 04:17:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-cloud/Upstash.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/swift-cloud/Upstash
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2a548ea Refactor redis file
Cloned https://github.com/swift-cloud/Upstash.git
Revision (git rev-parse @):
2a548ea6f3474777606ed65a5d7d4bcf83c83f5b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-cloud/Upstash.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-cloud/Upstash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swift-cloud/Compute
Fetching https://github.com/flight-school/anycodable
[1/17076] Fetching compute
[2/17858] Fetching compute, anycodable
Fetched https://github.com/flight-school/anycodable from cache (0.39s)
[6148/17076] Fetching compute
Fetched https://github.com/swift-cloud/Compute from cache (1.04s)
Computing version for https://github.com/flight-school/anycodable
Computed https://github.com/flight-school/anycodable at 0.6.7 (1.86s)
Computing version for https://github.com/swift-cloud/Compute
Computed https://github.com/swift-cloud/Compute at 2.19.0 (0.88s)
Fetching https://github.com/apple/swift-crypto
[1/15313] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto from cache (2.51s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.12.3 (4.50s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.45s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.35s)
Creating working copy for https://github.com/flight-school/anycodable
Working copy of https://github.com/flight-school/anycodable resolved at 0.6.7
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/swift-cloud/Compute
Working copy of https://github.com/swift-cloud/Compute resolved at 2.19.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.12.3
Building for debugging...
[0/367] Write sources
[5/367] Compiling ComputeRuntime ComputeRuntime.c
[6/367] Compiling fiat_p256_adx_sqr.S
[7/367] Compiling fiat_p256_adx_mul.S
[8/367] Compiling fiat_curve25519_adx_square.S
[9/367] Compiling md5-x86_64-linux.S
[10/367] Compiling fiat_curve25519_adx_mul.S
[11/367] Write swift-version-24593BA9C3E375BF.txt
[12/367] Compiling md5-x86_64-apple.S
[13/367] Compiling chacha20_poly1305_x86_64-apple.S
[14/367] Compiling md5-586-apple.S
[15/367] Compiling chacha20_poly1305_x86_64-linux.S
[15/367] Compiling md5-586-linux.S
[17/367] Compiling chacha20_poly1305_armv8-win.S
[18/369] Compiling chacha20_poly1305_armv8-linux.S
[19/371] Compiling chacha-x86_64-linux.S
[20/371] Compiling chacha20_poly1305_armv8-apple.S
[21/371] Compiling chacha-x86_64-apple.S
[22/371] Compiling chacha-armv8-win.S
[23/371] Compiling chacha-x86-linux.S
[24/371] Compiling chacha-x86-apple.S
[25/371] Compiling chacha-armv8-linux.S
[26/371] Compiling chacha-armv8-apple.S
[27/371] Compiling chacha-armv4-linux.S
[28/371] Compiling aes128gcmsiv-x86_64-linux.S
[29/371] Compiling aes128gcmsiv-x86_64-apple.S
[30/371] Compiling x86_64-mont5-linux.S
[31/371] Compiling x86_64-mont5-apple.S
[32/371] Compiling x86_64-mont-linux.S
[33/371] Compiling CCryptoBoringSSLShims shims.c
[34/371] Compiling x86_64-mont-apple.S
[35/371] Compiling x86-mont-linux.S
[36/371] Compiling x86-mont-apple.S
[37/371] Compiling vpaes-x86_64-linux.S
[37/371] Compiling vpaes-x86_64-apple.S
[39/371] Compiling vpaes-x86-linux.S
[40/371] Compiling vpaes-x86-apple.S
[41/371] Compiling vpaes-armv8-win.S
[42/371] Compiling vpaes-armv8-linux.S
[43/371] Compiling vpaes-armv8-apple.S
[44/371] Compiling vpaes-armv7-linux.S
[45/371] Compiling sha512-x86_64-linux.S
[46/371] Compiling sha512-armv8-win.S
[47/371] Compiling sha512-armv8-linux.S
[48/371] Compiling sha512-x86_64-apple.S
[49/371] Compiling sha512-armv8-apple.S
[50/371] Compiling sha512-armv4-linux.S
[51/371] Compiling sha512-586-apple.S
[52/371] Compiling sha256-x86_64-linux.S
[53/371] Compiling sha512-586-linux.S
[54/371] Compiling err_data.cc
[55/371] Compiling sha256-x86_64-apple.S
[56/371] Compiling sha256-armv8-win.S
[57/371] Compiling sha256-armv8-apple.S
[58/371] Compiling sha256-armv8-linux.S
[59/371] Compiling a_bitstr.cc
[60/371] Compiling sha256-armv4-linux.S
[61/371] Compiling sha256-586-linux.S
[62/371] Compiling sha256-586-apple.S
[63/371] Compiling sha1-x86_64-linux.S
[64/371] Compiling sha1-x86_64-apple.S
[65/371] Compiling sha1-armv8-win.S
[66/371] Compiling sha1-armv8-linux.S
[67/371] Compiling sha1-armv4-large-linux.S
[68/371] Compiling sha1-armv8-apple.S
[69/371] Compiling sha1-586-apple.S
[70/371] Compiling sha1-586-linux.S
[71/371] Compiling rsaz-avx2-linux.S
[72/371] Compiling rsaz-avx2-apple.S
[73/371] Compiling rdrand-x86_64-linux.S
[74/371] Compiling p256_beeu-x86_64-asm-apple.S
[75/371] Compiling rdrand-x86_64-apple.S
[76/371] Compiling p256_beeu-x86_64-asm-linux.S
[77/371] Compiling p256_beeu-armv8-asm-win.S
[78/371] Compiling p256_beeu-armv8-asm-linux.S
[79/371] Compiling p256_beeu-armv8-asm-apple.S
[80/371] Compiling p256-x86_64-asm-apple.S
[81/371] Compiling p256-x86_64-asm-linux.S
[82/371] Compiling p256-armv8-asm-apple.S
[83/371] Compiling p256-armv8-asm-win.S
[84/371] Compiling ghashv8-armv8-win.S
[85/371] Compiling p256-armv8-asm-linux.S
[86/371] Compiling ghashv8-armv8-linux.S
[87/371] Compiling ghashv8-armv7-linux.S
[88/371] Compiling ghash-x86_64-apple.S
[89/371] Compiling ghash-x86-apple.S
[90/371] Compiling ghashv8-armv8-apple.S
[91/371] Compiling ghash-x86_64-linux.S
[92/371] Compiling ghash-ssse3-x86_64-linux.S
[93/371] Compiling ghash-x86-linux.S
[94/371] Compiling ghash-ssse3-x86-linux.S
[95/371] Compiling ghash-ssse3-x86_64-apple.S
[96/371] Compiling ghash-neon-armv8-win.S
[97/371] Compiling ghash-ssse3-x86-apple.S
[98/371] Compiling ghash-neon-armv8-apple.S
[99/371] Compiling ghash-neon-armv8-linux.S
[100/371] Compiling ghash-armv4-linux.S
[101/371] Compiling co-586-linux.S
[102/371] Compiling co-586-apple.S
[103/371] Compiling bn-586-linux.S
[104/371] Compiling bsaes-armv7-linux.S
[105/371] Compiling bn-armv8-win.S
[106/371] Compiling bn-armv8-linux.S
[107/371] Compiling bn-armv8-apple.S
[108/371] Compiling bn-586-apple.S
[109/371] Compiling armv8-mont-win.S
[110/371] Compiling armv8-mont-linux.S
[111/371] Compiling aesv8-gcm-armv8-win.S
[112/371] Compiling armv8-mont-apple.S
[113/371] Compiling armv4-mont-linux.S
[114/371] Compiling aesv8-gcm-armv8-apple.S
[115/371] Compiling aesv8-armv8-win.S
[116/371] Compiling aesv8-gcm-armv8-linux.S
[117/371] Compiling aesv8-armv8-linux.S
[118/371] Compiling aesv8-armv7-linux.S
[118/371] Compiling aesv8-armv8-apple.S
[120/371] Compiling aesni-x86_64-linux.S
[121/371] Compiling aesni-gcm-x86_64-linux.S
[122/371] Compiling aesni-x86_64-apple.S
[123/371] Compiling aesni-x86-linux.S
[124/371] Compiling aesni-x86-apple.S
[125/371] Compiling aes-gcm-avx10-x86_64-linux.S
[126/371] Compiling aesni-gcm-x86_64-apple.S
[127/371] Compiling aes-gcm-avx10-x86_64-apple.S
[128/371] Compiling x_x509a.cc
[129/371] Compiling x_sig.cc
[130/371] Compiling x_req.cc
[131/371] Compiling x_spki.cc
[132/371] Compiling x_val.cc
[133/371] Compiling x_x509.cc
[134/371] Compiling x_pubkey.cc
[135/371] Compiling x_exten.cc
[136/371] Compiling x_crl.cc
[137/371] Compiling x_attrib.cc
[138/371] Compiling x_name.cc
[139/371] Compiling x_algor.cc
[140/371] Compiling x509spki.cc
[141/371] Compiling x_all.cc
[142/371] Compiling x509name.cc
[143/371] Compiling x509rset.cc
[144/371] Compiling x509_txt.cc
[145/371] Compiling x509_vpm.cc
[146/371] Compiling x509cset.cc
[147/371] Compiling x509_v3.cc
[148/371] Compiling x509_vfy.cc
[149/371] Compiling x509_set.cc
[151/371] Compiling AnyCodable AnyCodable.swift
/host/spi-builder-workspace/.build/checkouts/anycodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[152/371] Emitting module AnyCodable
/host/spi-builder-workspace/.build/checkouts/anycodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
[152/371] Compiling x509_req.cc
[153/371] Compiling x509_trs.cc
[155/371] Compiling AnyCodable AnyEncodable.swift
/host/spi-builder-workspace/.build/checkouts/anycodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
[156/371] Compiling AnyCodable AnyDecodable.swift
/host/spi-builder-workspace/.build/checkouts/anycodable/Sources/AnyCodable/AnyCodable.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 | /**
3 | A type-erased `Codable` value.
[156/371] Compiling x509_cmp.cc
[156/371] Compiling x509_d2.cc
[156/371] Compiling x509_ext.cc
[156/371] Compiling x509_lu.cc
[156/371] Compiling x509_att.cc
[156/371] Compiling x509_def.cc
[156/371] Compiling x509_obj.cc
BUILD FAILURE 6.2 wasm