Build Information
Failed to build swift-secp256k1, reference main (045af3), with Swift 6.2 for Wasm on 14 Dec 2025 10:38:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/21-DOT-DEV/swift-secp256k1.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/21-DOT-DEV/swift-secp256k1
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 045af3c docs: Add Swift version compatibility table to README and supporting documentation (#939)
Cloned https://github.com/21-DOT-DEV/swift-secp256k1.git
Revision (git rev-parse @):
045af3ccd225c08d5427a7e396612addf3cc5f3c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/21-DOT-DEV/swift-secp256k1.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/21-DOT-DEV/swift-secp256k1.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/21-DOT-DEV/swift-plugin-subtree.git
Fetching https://github.com/nicklockwood/SwiftFormat.git
Fetching https://github.com/csjones/lefthook-plugin.git
Fetching https://github.com/realm/SwiftLint.git
Fetching https://github.com/21-DOT-DEV/swift-plugin-tuist.git
[1/34] Fetching swift-plugin-subtree
[35/766] Fetching swift-plugin-subtree, swift-plugin-tuist
[628/1275] Fetching swift-plugin-subtree, swift-plugin-tuist, lefthook-plugin
Fetched https://github.com/21-DOT-DEV/swift-plugin-tuist.git from cache (0.24s)
[1/158015] Fetching swiftlint
[6322/211339] Fetching swiftlint, swiftformat
Fetched https://github.com/21-DOT-DEV/swift-plugin-subtree.git from cache (46.19s)
Fetched https://github.com/csjones/lefthook-plugin.git from cache (46.19s)
Fetched https://github.com/nicklockwood/SwiftFormat.git from cache (46.92s)
Fetched https://github.com/realm/SwiftLint.git from cache (58.07s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Computed https://github.com/21-DOT-DEV/swift-plugin-subtree.git at 0.0.5 (63.21s)
Fetching https://github.com/21-DOT-DEV/swift-artifact-parser
[1/28] Fetching swift-artifact-parser
Fetched https://github.com/21-DOT-DEV/swift-artifact-parser from cache (4.69s)
Computing version for https://github.com/realm/SwiftLint.git
Computed https://github.com/realm/SwiftLint.git at 0.62.2 (10.28s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit.git
Fetching https://github.com/jpsim/SourceKitten.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/929] Fetching swiftytexttable
[930/14034] Fetching swiftytexttable, cryptoswift
[4207/14135] Fetching swiftytexttable, cryptoswift, collectionconcurrencykit
[4439/30281] Fetching swiftytexttable, cryptoswift, collectionconcurrencykit, sourcekitten
[4440/47202] Fetching swiftytexttable, cryptoswift, collectionconcurrencykit, sourcekitten, swift-argument-parser
[16829/120314] Fetching swiftytexttable, cryptoswift, collectionconcurrencykit, sourcekitten, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.20s)
Fetching https://github.com/jpsim/Yams.git
[58064/103393] Fetching swiftytexttable, cryptoswift, collectionconcurrencykit, sourcekitten, swift-syntax
[103394/114660] Fetching swiftytexttable, cryptoswift, collectionconcurrencykit, sourcekitten, swift-syntax, yams
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit.git from cache (7.29s)
Fetched https://github.com/jpsim/SourceKitten.git from cache (7.33s)
Fetched https://github.com/jpsim/Yams.git from cache (7.12s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (12.31s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (12.35s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.37s)
Computing version for https://github.com/nicklockwood/SwiftFormat.git
Computed https://github.com/nicklockwood/SwiftFormat.git at 0.58.7 (14.67s)
Computing version for https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Computed https://github.com/21-DOT-DEV/swift-plugin-tuist.git at 4.115.1 (1.05s)
Computing version for https://github.com/csjones/lefthook-plugin.git
Computed https://github.com/csjones/lefthook-plugin.git at 2.0.9 (0.50s)
Computing version for https://github.com/21-DOT-DEV/swift-artifact-parser
Computed https://github.com/21-DOT-DEV/swift-artifact-parser at 0.0.1 (0.45s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.9.0 (0.63s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Computed https://github.com/JohnSundell/CollectionConcurrencyKit.git at 0.2.0 (0.70s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.05s)
Computing version for https://github.com/jpsim/SourceKitten.git
Computed https://github.com/jpsim/SourceKitten.git at 0.37.2 (0.38s)
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2858] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.29s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.72s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.2 (0.34s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (0.33s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.0-prerelease-2025-09-15 (0.68s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.0
Creating working copy for https://github.com/realm/SwiftLint.git
Working copy of https://github.com/realm/SwiftLint.git resolved at 0.62.2
Creating working copy for https://github.com/csjones/lefthook-plugin.git
Working copy of https://github.com/csjones/lefthook-plugin.git resolved at 2.0.9
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.37.2
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.2
Creating working copy for https://github.com/21-DOT-DEV/swift-plugin-subtree.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-subtree.git resolved at 0.0.5
Creating working copy for https://github.com/21-DOT-DEV/swift-plugin-tuist.git
Working copy of https://github.com/21-DOT-DEV/swift-plugin-tuist.git resolved at 4.115.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.0-prerelease-2025-09-15
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/nicklockwood/SwiftFormat.git
Working copy of https://github.com/nicklockwood/SwiftFormat.git resolved at 0.58.7
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.9.0
Creating working copy for https://github.com/21-DOT-DEV/swift-artifact-parser
Working copy of https://github.com/21-DOT-DEV/swift-artifact-parser resolved at 0.0.1
Creating working copy for https://github.com/JohnSundell/CollectionConcurrencyKit.git
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit.git resolved at 0.2.0
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
Downloading binary artifact https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.115.1/tuist.artifactbundle.zip
Downloading binary artifact https://github.com/21-DOT-DEV/subtree/releases/download/0.0.5/subtree.artifactbundle.zip
Downloading binary artifact https://github.com/csjones/lefthook-plugin/releases/download/2.0.9/lefthook.artifactbundle.zip
[1369/71991460] Downloading https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip
[17781/126314634] Downloading https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip, https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.115.1/tuist.artifactbundle.zip
[250653/170786301] Downloading https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip, https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.115.1/tuist.artifactbundle.zip, https://github.com/21-DOT-DEV/subtree/releases/download/0.0.5/subtree.artifactbundle.zip
[332059/207640698] Downloading https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip, https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.115.1/tuist.artifactbundle.zip, https://github.com/21-DOT-DEV/subtree/releases/download/0.0.5/subtree.artifactbundle.zip, https://github.com/csjones/lefthook-plugin/releases/download/2.0.9/lefthook.artifactbundle.zip
Downloaded https://github.com/csjones/lefthook-plugin/releases/download/2.0.9/lefthook.artifactbundle.zip (7.24s)
Downloaded https://github.com/21-DOT-DEV/swift-plugin-tuist/releases/download/4.115.1/tuist.artifactbundle.zip (8.78s)
Downloaded https://github.com/21-DOT-DEV/subtree/releases/download/0.0.5/subtree.artifactbundle.zip (9.13s)
Downloaded https://github.com/realm/SwiftLint/releases/download/0.62.2/SwiftLintBinary.artifactbundle.zip (10.42s)
[1/1] Compiling plugin SharedSourcesPlugin
[2/2] Compiling plugin SubtreePlugin
[3/3] Compiling plugin SwiftLintCommandPlugin
[4/4] Compiling plugin SwiftLintBuildToolPlugin
[5/5] Compiling plugin GenerateManual
[6/6] Compiling plugin GenerateDoccReference
[7/7] Compiling plugin SwiftFormatPlugin
[8/8] Compiling plugin TuistPlugin
[9/9] Compiling plugin ArtifactExpander
[10/10] Compiling plugin LefthookPlugin
Building for debugging...
[10/21] Compiling precomputed_ecmult_gen.c
[11/21] Write sources
[14/21] Compiling Utility.c
[16/21] Compiling secp256k1.c
[17/21] Write swift-version-24593BA9C3E375BF.txt
[18/21] Compiling secp256k1.c
[19/21] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/25] Emitting module ZKP
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/ZKP/destination/SharedSourcesPlugin/ASN1.swift:17:8: error: no such module 'Foundation'
15 | @_exported import CryptoKit
16 | #else
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/25] Emitting module P256K
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/P256K/destination/SharedSourcesPlugin/ASN1.swift:17:8: error: no such module 'Foundation'
15 | @_exported import CryptoKit
16 | #else
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[24/25] Compiling P256K Placeholder.swift
/host/spi-builder-workspace/.build/plugins/outputs/spi-builder-workspace/P256K/destination/SharedSourcesPlugin/ASN1.swift:17:8: error: no such module 'Foundation'
15 | @_exported import CryptoKit
16 | #else
17 | import Foundation
| `- error: no such module 'Foundation'
18 |
19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
BUILD FAILURE 6.2 wasm