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 Base58Swift, reference main (3ba16c), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 14:20:34 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/heckj/Base58Swift.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/heckj/Base58Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3ba16c0 update README to explain fork
Cloned https://github.com/heckj/Base58Swift.git
Revision (git rev-parse @):
3ba16c02089401c817b631ffc33ca8f022a41538
SUCCESS checkout https://github.com/heckj/Base58Swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/heckj/Base58Swift.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/attaswift/BigInt.git
[1/4807] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.54s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (1.33s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/24] Emitting module BigInt
[5/26] Compiling BigInt Subtraction.swift
[6/26] Compiling BigInt Words and Bits.swift
[7/26] Compiling BigInt Integer Conversion.swift
[8/26] Compiling BigInt Multiplication.swift
[9/26] Compiling BigInt Prime Test.swift
[10/26] Compiling BigInt Strideable.swift
[11/26] Compiling BigInt String Conversion.swift
[12/26] Compiling BigInt Floating Point Conversion.swift
[13/26] Compiling BigInt GCD.swift
[14/26] Compiling BigInt Hashable.swift
[15/26] Compiling BigInt Addition.swift
[16/26] Compiling BigInt BigInt.swift
[17/26] Compiling BigInt BigUInt.swift
[18/26] Compiling BigInt Bitwise Ops.swift
[19/26] Compiling BigInt Codable.swift
[20/26] Compiling BigInt Comparable.swift
[21/26] Compiling BigInt Data Conversion.swift
[22/26] Compiling BigInt Division.swift
[23/26] Compiling BigInt Exponentiation.swift
[24/26] Compiling BigInt Random.swift
[25/26] Compiling BigInt Shifts.swift
[26/26] Compiling BigInt Square Root.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/29] Emitting module Base58Swift
/host/spi-builder-workspace/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
  2 |
  3 | import BigInt
  4 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
  5 | import Foundation
  6 |
[29/29] Compiling Base58Swift Base58.swift
/host/spi-builder-workspace/Base58Swift/Base58.swift:4:8: error: no such module 'CommonCrypto'
  2 |
  3 | import BigInt
  4 | import CommonCrypto
    |        `- error: no such module 'CommonCrypto'
  5 | import Foundation
  6 |
BUILD FAILURE 6.2 wasm