Build Information
Failed to build SwiftTranslate, reference 0.5.0 (6ddf12), with Swift 6.1 for Wasm on 5 Apr 2026 00:13:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hidden-spectrum/swift-translate.git
Reference: 0.5.0
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/hidden-spectrum/swift-translate
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 6ddf126 Release 0.5.0
Cloned https://github.com/hidden-spectrum/swift-translate.git
Revision (git rev-parse @):
6ddf12608605d4a0922addcddb3c1ff0069e45b4
SUCCESS checkout https://github.com/hidden-spectrum/swift-translate.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/hidden-spectrum/swift-translate.git
https://github.com/hidden-spectrum/swift-translate.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "openai",
"requirement" : {
"revision" : [
"3f2cac98d3e98d6b4d90279bd737190fc343dbc4"
]
},
"type" : "sourceControl",
"url" : "https://github.com/MacPaw/OpenAI.git"
},
{
"identity" : "generative-ai-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google-gemini/generative-ai-swift"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
}
],
"manifest_display_name" : "SwiftTranslate",
"name" : "SwiftTranslate",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftTranslate",
"targets" : [
"SwiftTranslate"
],
"type" : {
"plugin" : null
}
},
{
"name" : "swift-translate",
"targets" : [
"swift-translate"
],
"type" : {
"executable" : null
}
},
{
"name" : "SwiftStringCatalog",
"targets" : [
"SwiftStringCatalog"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "swift_translate",
"module_type" : "SwiftTarget",
"name" : "swift-translate",
"path" : "Sources/SwiftTranslate",
"product_dependencies" : [
"ArgumentParser",
"GoogleGenerativeAI",
"OpenAI",
"Rainbow"
],
"product_memberships" : [
"SwiftTranslate",
"swift-translate"
],
"sources" : [
"Bootstrap/SwiftTranslate.swift",
"Bootstrap/TranslatableFileFinder.swift",
"Bootstrap/TranslationCoordinator.swift",
"Extensions/String+SwiftTranslate.swift",
"Extensions/SwiftStringCatalog+SwiftTranslate.swift",
"FileTranslators/StringCatalogTranslator.swift",
"Models/GeminiModel.swift",
"Models/OpenAIModel.swift",
"Models/OpenAIReasoningEffort.swift",
"Models/SwiftTranslateError.swift",
"Models/SystemPrompt.swift",
"Models/TranslationResponse.swift",
"Models/TranslationServiceArgument.swift",
"Protocols/FileTranslator.swift",
"Protocols/TranslationService.swift",
"TranslationServices/GeminiTranslator.swift",
"TranslationServices/GoogleTranslator.swift",
"TranslationServices/OpenAITranslator.swift",
"TranslationServices/SwiftTranslateError+Gemini.swift",
"TranslationServices/SwiftTranslateError+OpenAI.swift",
"Utilities/Log.swift"
],
"target_dependencies" : [
"SwiftStringCatalog"
],
"type" : "executable"
},
{
"c99name" : "SwiftTranslate",
"module_type" : "PluginTarget",
"name" : "SwiftTranslate",
"path" : "Plugins/SwiftTranslate",
"plugin_capability" : {
"intent" : {
"description" : "Translates project String Catalogs using supported translation services",
"type" : "custom",
"verb" : "swift-translate"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "Translates string catalogs in your project",
"type" : "writeToPackageDirectory"
},
{
"network_scope" : {
"all" : {
"ports" : [
]
}
},
"reason" : "Needs access to translation provider servers",
"type" : "allowNetworkConnections"
}
],
"type" : "command"
},
"product_memberships" : [
"SwiftTranslate"
],
"sources" : [
"SwiftTranslate.swift",
"SwiftTranslatePluginError.swift"
],
"target_dependencies" : [
"swift-translate"
],
"type" : "plugin"
},
{
"c99name" : "SwiftStringCatalogTests",
"module_type" : "SwiftTarget",
"name" : "SwiftStringCatalogTests",
"path" : "Tests/SwiftStringCatalogTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SwiftStringCatalogTests/Resources/AppShortcutsCatalog.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SwiftStringCatalogTests/Resources/BasicCatalog.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Models/StringCatalogTests.swift"
],
"target_dependencies" : [
"SwiftStringCatalog"
],
"type" : "test"
},
{
"c99name" : "SwiftStringCatalog",
"module_type" : "SwiftTarget",
"name" : "SwiftStringCatalog",
"path" : "Sources/SwiftStringCatalog",
"product_memberships" : [
"SwiftTranslate",
"swift-translate",
"SwiftStringCatalog"
],
"sources" : [
"Bootstrap/StringCatalog.swift",
"Extensions/LocalizableString+Lookup.swift",
"Models/DeviceCategory.swift",
"Models/ExtractionState.swift",
"Models/Language.swift",
"Models/LocalizableString.swift",
"Models/LocalizableStringGroup.swift",
"Models/PluralQualifier.swift",
"Models/TranslationState.swift",
"Models/_CatalogEntry.swift",
"Models/_Localization.swift",
"Models/_StringCatalog.swift",
"Models/_StringSet.swift",
"Models/_StringUnit.swift",
"Models/_Substitution.swift",
"Models/_Variations.swift",
"Protocols/LocalizableStringConstructor.swift",
"Utilities/CodableKeyDictionary.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.3
BUILD FAILURE 6.1 wasm