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 translate_tool, reference 3.3.1 (9236d7), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 20:53:59 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/cenkbilgen/translate_strings.git
Reference: 3.3.1
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/cenkbilgen/translate_strings
 * tag               3.3.1      -> FETCH_HEAD
HEAD is now at 9236d78 update help message
Cloned https://github.com/cenkbilgen/translate_strings.git
Revision (git rev-parse @):
9236d789d428c989fc64c1ab610c117b4b0c082f
SUCCESS checkout https://github.com/cenkbilgen/translate_strings.git at 3.3.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/cenkbilgen/translate_strings.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/cenkbilgen/StringsCatalogKit.git
Fetching https://github.com/cenkbilgen/KeychainSimple.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/59] Fetching stringscatalogkit
[25/131] Fetching stringscatalogkit, keychainsimple
[96/6090] Fetching stringscatalogkit, keychainsimple, swift-algorithms
[6055/21470] Fetching stringscatalogkit, keychainsimple, swift-algorithms, swift-argument-parser
Fetched https://github.com/cenkbilgen/StringsCatalogKit.git from cache (0.59s)
[6184/21411] Fetching keychainsimple, swift-algorithms, swift-argument-parser
Fetched https://github.com/cenkbilgen/KeychainSimple.git from cache (1.14s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.15s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.16s)
Computing version for https://github.com/cenkbilgen/KeychainSimple.git
Computed https://github.com/cenkbilgen/KeychainSimple.git at 2.0.0 (1.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.96s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.64s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (1.40s)
Computing version for https://github.com/cenkbilgen/StringsCatalogKit.git
Computed https://github.com/cenkbilgen/StringsCatalogKit.git at 1.1.2 (0.76s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.79s)
Creating working copy for https://github.com/cenkbilgen/KeychainSimple.git
Working copy of https://github.com/cenkbilgen/KeychainSimple.git resolved at 2.0.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
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.5.1
Creating working copy for https://github.com/cenkbilgen/StringsCatalogKit.git
Working copy of https://github.com/cenkbilgen/StringsCatalogKit.git resolved at 1.1.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/21] Write sources
[9/21] Compiling _NumericsShims _NumericsShims.c
[10/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/46] Emitting module StringsCatalogKit
/host/spi-builder-workspace/.build/checkouts/StringsCatalogKit/Sources/StringsCatalogKit/StringsCatalog.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public final class StringsCatalog: Codable {
[13/46] Emitting module RealModule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/46] Emitting module TranslationServices
/host/spi-builder-workspace/Sources/TranslationServices/Errors.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 | //
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum TranslatorError: Error {
[15/47] Compiling RealModule AlgebraicField.swift
[16/47] Compiling RealModule ApproximateEquality.swift
[17/47] Compiling TranslationServices TranslatorDeepL.swift
/host/spi-builder-workspace/Sources/TranslationServices/Errors.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 | //
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum TranslatorError: Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/47] Emitting module KeychainSimple
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Security
  3 | @preconcurrency import LocalAuthentication
[19/47] Compiling KeychainSimple KeychainItem.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Security
  3 | @preconcurrency import LocalAuthentication
[20/48] Compiling RealModule Float80+Real.swift
[21/48] Compiling RealModule Real.swift
[22/48] Compiling TranslationServices ModelSelectable.swift
/host/spi-builder-workspace/Sources/TranslationServices/Errors.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 | //
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum TranslatorError: Error {
[23/48] Compiling RealModule AugmentedArithmetic.swift
[24/48] Compiling RealModule Double+Real.swift
[25/48] Compiling TranslationServices TranslatorAnthropic.swift
/host/spi-builder-workspace/Sources/TranslationServices/Errors.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 | //
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum TranslatorError: Error {
[26/48] Compiling RealModule RealFunctions.swift
[27/48] Compiling TranslationServices TranslatorOpenAI.swift
/host/spi-builder-workspace/Sources/TranslationServices/Errors.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 | //
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum TranslatorError: Error {
[28/48] Compiling StringsCatalogKit StringsCatalog.swift
/host/spi-builder-workspace/.build/checkouts/StringsCatalogKit/Sources/StringsCatalogKit/StringsCatalog.swift:8:8: error: no such module 'Foundation'
  6 | //
  7 |
  8 | import Foundation
    |        `- error: no such module 'Foundation'
  9 |
 10 | public final class StringsCatalog: Codable {
[29/48] Compiling RealModule Float16+Real.swift
[30/48] Compiling TranslationServices TranslatorGemini.swift
/host/spi-builder-workspace/Sources/TranslationServices/Errors.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 | //
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum TranslatorError: Error {
[31/48] Emitting module ArgumentParserToolInfo
[32/48] Compiling RealModule ElementaryFunctions.swift
[33/48] Compiling KeychainSimple SecureInput.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 | import Security
  3 | @preconcurrency import LocalAuthentication
BUILD FAILURE 6.2 wasm