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 CryptorECC, reference 1.2.201 (148526), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 18:50:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Kitura/BlueECC.git
Reference: 1.2.201
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/Kitura/BlueECC
 * tag               1.2.201    -> FETCH_HEAD
HEAD is now at 1485268 Update podspec to specify Swift 5.2 as the minimum supported
Cloned https://github.com/Kitura/BlueECC.git
Revision (git rev-parse @):
1485268a54f8135435a825a855e733f026fa6cc8
SUCCESS checkout https://github.com/Kitura/BlueECC.git at 1.2.201
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/BlueECC.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.74s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (4.63s)
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling CryptorECC ECPublicKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[4/14] Compiling CryptorECC EllipticCurve.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[5/14] Compiling CryptorECC SSLPointerTricks.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[6/14] Compiling CryptorECC ECSignable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[7/14] Compiling CryptorECC ECDecryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[8/14] Compiling CryptorECC ECEncryptable.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[9/14] Compiling CryptorECC ECSignature.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[10/14] Compiling CryptorECC ECError.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[11/14] Compiling CryptorECC ECPrivateKey.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/14] Emitting module CryptorECC
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[13/14] Compiling CryptorECC ASN1.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
[14/14] Compiling CryptorECC Data+Extensions.swift
/host/spi-builder-workspace/Sources/CryptorECC/ASN1.swift:17:8: error: no such module 'Foundation'
15 |  **/
16 |
17 | import Foundation
   |        `- error: no such module 'Foundation'
18 |
19 | // Private and public keys are stores in ASN1 format.
BUILD FAILURE 6.2 wasm