The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ATCommonTools, reference main (ca5eee), with Swift 6.2 (beta) for Wasm on 25 Jun 2025 14:20:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/ATProtoKit/ATCommonTools.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/ATProtoKit/ATCommonTools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ca5eee7 Add forked version of swift-cbor temporarily
Cloned https://github.com/ATProtoKit/ATCommonTools.git
Revision (git rev-parse @):
ca5eee7f09202699707cb249d411bbb2c7597986
SUCCESS checkout https://github.com/ATProtoKit/ATCommonTools.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ATProtoKit/ATCommonTools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/ATProtoKit/MultiformatsKit.git
Fetching https://github.com/MasterJ93/swift-cbor.git
Fetching https://github.com/apple/swift-crypto.git
[1/82] Fetching swift-cbor
[68/649] Fetching swift-cbor, multiformatskit
[650/16097] Fetching swift-cbor, multiformatskit, swift-crypto
Fetched https://github.com/ATProtoKit/MultiformatsKit.git from cache (0.34s)
[700/15530] Fetching swift-cbor, swift-crypto
Fetched https://github.com/MasterJ93/swift-cbor.git from cache (1.85s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.88s)
Computing version for https://github.com/MasterJ93/swift-cbor.git
Computed https://github.com/MasterJ93/swift-cbor.git at 0.0.5 (2.25s)
Computing version for https://github.com/ATProtoKit/MultiformatsKit.git
Computed https://github.com/ATProtoKit/MultiformatsKit.git at 0.3.0 (0.42s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.90s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.34s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.53s)
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/MasterJ93/swift-cbor.git
Working copy of https://github.com/MasterJ93/swift-cbor.git resolved at 0.0.5
Creating working copy for https://github.com/ATProtoKit/MultiformatsKit.git
Working copy of https://github.com/ATProtoKit/MultiformatsKit.git resolved at 0.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Building for debugging...
[0/367] Write sources
[5/367] Compiling ghash-neon-armv8-win.S
[6/367] Compiling ghash-neon-armv8-linux.S
[7/367] Compiling chacha-x86-linux.S
[8/367] Compiling fiat_p256_adx_sqr.S
[9/367] Compiling fiat_p256_adx_mul.S
[10/367] Compiling CCryptoBoringSSLShims shims.c
[11/367] Write swift-version-24593BA9C3E375BF.txt
[12/367] Compiling posix_time.cc
[13/367] Compiling fiat_curve25519_adx_mul.S
[13/367] Compiling md5-x86_64-linux.S
[15/367] Compiling md5-x86_64-apple.S
[15/367] Compiling fiat_curve25519_adx_square.S
[17/367] Compiling md5-586-linux.S
[18/376] Compiling chacha20_poly1305_x86_64-linux.S
[19/376] Compiling chacha20_poly1305_armv8-win.S
[19/376] Compiling md5-586-apple.S
[21/376] Compiling chacha20_poly1305_x86_64-apple.S
[22/376] Compiling chacha20_poly1305_armv8-linux.S
[23/376] Compiling chacha20_poly1305_armv8-apple.S
[24/376] Compiling chacha-x86_64-linux.S
[25/376] Compiling chacha-x86_64-apple.S
[26/376] Compiling a_bool.cc
[27/376] Compiling chacha-armv8-linux.S
[27/376] Compiling a_object.cc
[29/376] Compiling chacha-x86-apple.S
[30/376] Compiling chacha-armv8-apple.S
[31/376] Compiling chacha-armv8-win.S
[32/376] Compiling chacha-armv4-linux.S
[33/376] Compiling aes128gcmsiv-x86_64-linux.S
[34/376] Compiling aes128gcmsiv-x86_64-apple.S
[35/376] Compiling x86_64-mont5-apple.S
[36/376] Compiling x86_64-mont-linux.S
[37/376] Compiling x86_64-mont5-linux.S
[38/376] Compiling x86_64-mont-apple.S
[39/376] Compiling vpaes-x86_64-linux.S
[40/376] Compiling x86-mont-linux.S
[41/376] Compiling vpaes-x86_64-apple.S
[42/376] Compiling x86-mont-apple.S
[43/376] Compiling err_data.cc
[44/376] Compiling vpaes-x86-apple.S
[45/376] Compiling vpaes-x86-linux.S
[46/376] Compiling vpaes-armv8-win.S
[47/376] Compiling vpaes-armv8-apple.S
[48/376] Compiling vpaes-armv8-linux.S
[49/376] Compiling vpaes-armv7-linux.S
[50/376] Compiling sha512-armv8-win.S
[51/376] Compiling sha512-x86_64-apple.S
[52/376] Compiling sha512-armv8-linux.S
[53/376] Compiling sha512-x86_64-linux.S
[54/376] Compiling sha512-armv8-apple.S
[55/376] Compiling sha512-586-linux.S
[56/376] Compiling sha512-armv4-linux.S
[57/376] Compiling sha512-586-apple.S
[58/376] Compiling sha256-armv8-win.S
[59/376] Compiling sha256-x86_64-linux.S
[60/376] Compiling sha256-x86_64-apple.S
[61/376] Compiling sha256-armv8-linux.S
[62/376] Compiling sha256-586-linux.S
[63/376] Compiling sha256-armv4-linux.S
[64/376] Compiling sha256-armv8-apple.S
[65/376] Compiling sha256-586-apple.S
[66/376] Compiling sha1-x86_64-linux.S
[67/376] Compiling sha1-armv8-linux.S
[68/376] Compiling sha1-x86_64-apple.S
[69/376] Compiling sha1-armv8-win.S
[70/376] Compiling sha1-armv8-apple.S
[71/376] Compiling sha1-armv4-large-linux.S
[72/376] Compiling sha1-586-linux.S
[73/376] Compiling sha1-586-apple.S
[74/376] Compiling rsaz-avx2-linux.S
[75/376] Compiling rdrand-x86_64-linux.S
[76/376] Compiling rsaz-avx2-apple.S
[77/376] Compiling rdrand-x86_64-apple.S
[77/376] Compiling p256_beeu-x86_64-asm-linux.S
[77/376] Compiling p256_beeu-x86_64-asm-apple.S
[80/376] Compiling p256_beeu-armv8-asm-win.S
[81/376] Compiling p256_beeu-armv8-asm-apple.S
[82/376] Compiling p256_beeu-armv8-asm-linux.S
[83/376] Compiling p256-x86_64-asm-apple.S
[84/376] Compiling p256-armv8-asm-apple.S
[85/376] Compiling p256-x86_64-asm-linux.S
[86/376] Compiling p256-armv8-asm-linux.S
[86/376] Compiling p256-armv8-asm-win.S
[88/376] Compiling ghashv8-armv8-linux.S
[89/376] Compiling ghashv8-armv8-win.S
[90/376] Compiling ghashv8-armv8-apple.S
[91/376] Compiling ghashv8-armv7-linux.S
[92/376] Compiling ghash-x86_64-linux.S
[93/376] Compiling ghash-x86-linux.S
[94/376] Compiling ghash-x86-apple.S
[95/376] Compiling ghash-x86_64-apple.S
[96/376] Compiling ghash-ssse3-x86_64-apple.S
[97/376] Compiling ghash-ssse3-x86_64-linux.S
[97/376] Compiling ghash-ssse3-x86-linux.S
[99/376] Compiling ghash-ssse3-x86-apple.S
[100/376] Compiling ghash-armv4-linux.S
[101/376] Compiling co-586-linux.S
[102/376] Compiling ghash-neon-armv8-apple.S
[103/376] Compiling co-586-apple.S
[104/376] Compiling bn-armv8-linux.S
[105/376] Compiling bn-armv8-win.S
[105/376] Compiling bsaes-armv7-linux.S
[107/376] Compiling bn-armv8-apple.S
[108/376] Compiling bn-586-linux.S
[109/376] Compiling bn-586-apple.S
[110/376] Compiling armv8-mont-win.S
[111/376] Compiling armv4-mont-linux.S
[112/376] Compiling armv8-mont-linux.S
[113/376] Compiling armv8-mont-apple.S
[114/376] Compiling aesv8-gcm-armv8-win.S
[115/376] Compiling aesv8-gcm-armv8-linux.S
[116/376] Compiling aesv8-gcm-armv8-apple.S
[117/376] Compiling aesv8-armv8-apple.S
[118/376] Compiling aesv8-armv8-win.S
[119/376] Compiling aesv8-armv8-linux.S
[120/376] Compiling aesni-x86_64-apple.S
[120/376] Compiling aesv8-armv7-linux.S
[122/376] Compiling aesni-x86_64-linux.S
[123/376] Compiling aesni-x86-linux.S
[124/376] Compiling aesni-gcm-x86_64-apple.S
[125/376] Compiling aesni-x86-apple.S
[126/376] Compiling aesni-gcm-x86_64-linux.S
[127/376] Compiling aes-gcm-avx10-x86_64-linux.S
[128/376] Compiling aes-gcm-avx10-x86_64-apple.S
[129/376] Compiling x_sig.cc
[130/376] Compiling x_spki.cc
[131/376] Compiling x_val.cc
[132/376] Compiling x_x509a.cc
[133/376] Compiling x_req.cc
[134/376] Compiling x_x509.cc
[135/376] Compiling x_pubkey.cc
[136/376] Compiling x_name.cc
[137/376] Compiling x_crl.cc
[138/376] Compiling x_algor.cc
[139/376] Compiling x_exten.cc
[140/376] Compiling x509spki.cc
[141/376] Compiling x_all.cc
[142/376] Compiling x_attrib.cc
[143/376] Compiling x509rset.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[145/376] Emitting module SwiftCbor
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[146/376] Compiling SwiftCbor CborEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[147/376] Compiling SwiftCbor CborCodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[148/376] Compiling SwiftCbor CborDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[149/376] Compiling SwiftCbor CborScanner.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[150/376] Compiling SwiftCbor DagCborEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[150/377] Compiling x509name.cc
[152/377] Compiling SwiftCbor CidProtocol.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[153/377] Compiling SwiftCbor DagCborDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[154/377] Compiling SwiftCbor CborValue.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[155/377] Compiling SwiftCbor DataNumber.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | internal protocol _CborDictionaryDecodableMarker {}
[155/377] Compiling x509_trs.cc
[155/377] Compiling x509_txt.cc
[155/377] Compiling x509_set.cc
[155/377] Compiling x509_v3.cc
[155/377] Compiling x509_vfy.cc
[155/377] Compiling x509_vpm.cc
[155/377] Compiling x509cset.cc
BUILD FAILURE 6.2 wasm