The Swift Package Index logo.Swift Package Index

Build Information

Failed to build translate_tool, reference 3.3.2 (aef1be), with Swift 6.3 for Wasm on 18 Apr 2026 20:05:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/cenkbilgen/translate_strings.git
Reference: 3.3.2
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.2      -> FETCH_HEAD
HEAD is now at aef1be5 Merge branch 'main' of github.com:cenkbilgen/translate_strings
Cloned https://github.com/cenkbilgen/translate_strings.git
Revision (git rev-parse @):
aef1be54cb2d8fe584936bfc117344f8ea5e6a6f
SUCCESS checkout https://github.com/cenkbilgen/translate_strings.git at 3.3.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/cenkbilgen/translate_strings.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/cenkbilgen/StringsCatalogKit.git
Fetching https://github.com/cenkbilgen/KeychainSimple.git
Fetching https://github.com/apple/swift-algorithms.git
[1/72] Fetching keychainsimple
[73/131] Fetching keychainsimple, stringscatalogkit
[132/6189] Fetching keychainsimple, stringscatalogkit, swift-algorithms
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/cenkbilgen/KeychainSimple.git from cache (0.43s)
[544/6117] Fetching stringscatalogkit, swift-algorithms
[6118/23646] Fetching stringscatalogkit, swift-algorithms, swift-argument-parser
Fetched https://github.com/cenkbilgen/StringsCatalogKit.git from cache (0.86s)
[6584/23587] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git from cache (0.86s)
[702/17529] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.22s)
Computing version for https://github.com/cenkbilgen/KeychainSimple.git
Computed https://github.com/cenkbilgen/KeychainSimple.git at 2.0.0 (3.75s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.33s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.04s)
Computing version for https://github.com/cenkbilgen/StringsCatalogKit.git
Computed https://github.com/cenkbilgen/StringsCatalogKit.git at 1.1.2 (1.75s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.89s)
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.7.1
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/22] Write sources
[10/22] Compiling _NumericsShims _NumericsShims.c
[11/22] Write swift-version-24593BA9C3E375BF.txt
[13/48] Compiling RealModule AugmentedArithmetic.swift
[14/48] Compiling RealModule Double+Real.swift
[15/48] Compiling RealModule ElementaryFunctions.swift
[16/48] Compiling RealModule Float+Real.swift
[17/48] Compiling RealModule RealFunctions.swift
[18/48] Compiling RealModule AlgebraicField.swift
[19/48] Compiling RealModule ApproximateEquality.swift
[20/48] Emitting module RealModule
[21/49] Compiling RealModule Float80+Real.swift
[22/49] Compiling RealModule Real.swift
[23/49] Compiling RealModule Float16+Real.swift
[24/49] Compiling RealModule RelaxedArithmetic.swift
[25/50] Wrapping AST for RealModule for debugging
[27/75] Emitting module ArgumentParserToolInfo
[28/75] Compiling ArgumentParserToolInfo ToolInfo.swift
[29/76] Wrapping AST for ArgumentParserToolInfo for debugging
[31/122] Compiling ArgumentParser HelpCommand.swift
[32/122] Compiling ArgumentParser HelpGenerator.swift
[33/122] Compiling ArgumentParser MessageInfo.swift
[34/122] Compiling ArgumentParser Option.swift
[35/122] Compiling ArgumentParser OptionGroup.swift
[36/122] Compiling ArgumentParser ParsableCommand.swift
[37/125] Compiling TranslationServices ModelSelectable.swift
[38/125] Compiling TranslationServices LLMAPI.swift
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:13:54: error: cannot find type 'URLRequest' in scope
11 |     var baseURL: URL { get }
12 |     var headers: [String: String] { get }
13 |     func makePromptRequest(prompt: String) throws -> URLRequest
   |                                                      `- error: cannot find type 'URLRequest' in scope
14 |     associatedtype ResponseBody: Decodable
15 |     func decodeStructuredReply(body: ResponseBody) throws -> LLM.Schema.StructuredContent
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:19:48: error: cannot find type 'URLRequest' in scope
17 |
18 | extension LLMAPI {
19 |     internal func makeRequest(path: String) -> URLRequest {
   |                                                `- error: cannot find type 'URLRequest' in scope
20 |         var request = URLRequest(url: baseURL.appending(path: path))
21 |         request.httpMethod = "POST"
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:20:23: error: cannot find 'URLRequest' in scope
18 | extension LLMAPI {
19 |     internal func makeRequest(path: String) -> URLRequest {
20 |         var request = URLRequest(url: baseURL.appending(path: path))
   |                       `- error: cannot find 'URLRequest' in scope
21 |         request.httpMethod = "POST"
22 |         request.setValue("application/json", forHTTPHeaderField: "Content-Type")
/host/spi-builder-workspace/Sources/TranslationServices/TranslatorProtocol.swift:34:18: error: cannot find type 'URLRequest' in scope
32 |
33 |     func send<ResponseBody: Decodable>(
34 |         request: URLRequest,
   |                  `- error: cannot find type 'URLRequest' in scope
35 |         decoder: JSONDecoder = NetService.decoder
36 |     ) async throws -> ResponseBody {
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:32:48: error: extra arguments at positions #1, #2 in call
28 |     }
29 |
30 |     private func send(prompt: String) async throws -> ResponseBody {
   |                  `- note: 'send(prompt:)' declared here
31 |         let request = try makePromptRequest(prompt: prompt)
32 |         let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
   |                                                `- error: extra arguments at positions #1, #2 in call
33 |         return body
34 |     }
/host/spi-builder-workspace/Sources/TranslationServices/LLMAPI.swift:32:49: error: missing argument for parameter 'prompt' in call
28 |     }
29 |
30 |     private func send(prompt: String) async throws -> ResponseBody {
   |                  `- note: 'send(prompt:)' declared here
31 |         let request = try makePromptRequest(prompt: prompt)
32 |         let body: ResponseBody = try await send(request: request, decoder: NetService.decoder)
   |                                                 `- error: missing argument for parameter 'prompt' in call
33 |         return body
34 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/126] Emitting module KeychainSimple
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
  1 | import Foundation
  2 | import Security
    |        `- error: no such module 'Security'
  3 | @preconcurrency import LocalAuthentication
  4 |
[40/126] Compiling KeychainSimple KeychainItem.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
  1 | import Foundation
  2 | import Security
    |        `- error: no such module 'Security'
  3 | @preconcurrency import LocalAuthentication
  4 |
[41/126] Compiling KeychainSimple SecureInput.swift
/host/spi-builder-workspace/.build/checkouts/KeychainSimple/Sources/KeychainSimple/KeychainItem.swift:2:8: error: no such module 'Security'
  1 | import Foundation
  2 | import Security
    |        `- error: no such module 'Security'
  3 | @preconcurrency import LocalAuthentication
  4 |
BUILD FAILURE 6.3 wasm